Skip to content

Commit 6ca6909

Browse files
authored
Added new card scripts
1 parent 47c59ea commit 6ca6909

15 files changed

+1020
-0
lines changed

pre-release/c100451020.lua

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
--オレイカルコスの魔封剣
2+
--Orichalcos Sword of Sealing
3+
--Scripted by The Razgriz
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
aux.AddEquipProcedure(c)
7+
--The equipped monster's effects are negated
8+
local e1=Effect.CreateEffect(c)
9+
e1:SetType(EFFECT_TYPE_EQUIP)
10+
e1:SetCode(EFFECT_DISABLE)
11+
c:RegisterEffect(e1)
12+
--If you have a card in your Field Zone: You can target 1 Effect Monster you control; that Effect Monster gains this effect until the end of your opponent's turn.
13+
local e2=Effect.CreateEffect(c)
14+
e2:SetDescription(aux.Stringid(id,0))
15+
e2:SetType(EFFECT_TYPE_IGNITION)
16+
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
17+
e2:SetRange(LOCATION_SZONE)
18+
e2:SetCountLimit(1,id)
19+
e2:SetCondition(function(e,tp) return Duel.GetFieldGroupCount(tp,LOCATION_FZONE,0)>0 end)
20+
e2:SetTarget(s.efftg)
21+
e2:SetOperation(s.effop)
22+
c:RegisterEffect(e2)
23+
end
24+
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
25+
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and chkc:IsEffectMonster() and chkc:IsFaceup() end
26+
if chk==0 then return Duel.IsExistingTarget(aux.FaceupFilter(Card.IsEffectMonster),tp,LOCATION_MZONE,0,1,nil) end
27+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
28+
Duel.SelectTarget(tp,aux.FaceupFilter(Card.IsEffectMonster),tp,LOCATION_MZONE,0,1,1,nil)
29+
end
30+
function s.effop(e,tp,eg,ep,ev,re,r,rp)
31+
local tc=Duel.GetFirstTarget()
32+
if tc:IsRelateToEffect(e) and tc:IsEffectMonster() and tc:IsFaceup() then
33+
tc:RegisterFlagEffect(id,RESETS_STANDARD_PHASE_END,EFFECT_FLAG_CLIENT_HINT,2,0,aux.Stringid(id,1))
34+
--● Once per turn (Quick Effect): You can send 1 card from your hand to the GY, then target 1 face-up card on the field; destroy that target
35+
local e1=Effect.CreateEffect(tc)
36+
e1:SetDescription(aux.Stringid(id,2))
37+
e1:SetCategory(CATEGORY_DESTROY)
38+
e1:SetType(EFFECT_TYPE_QUICK_O)
39+
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
40+
e1:SetCode(EVENT_FREE_CHAIN)
41+
e1:SetRange(LOCATION_MZONE)
42+
e1:SetCountLimit(1)
43+
e1:SetCost(s.descost)
44+
e1:SetTarget(s.destg)
45+
e1:SetOperation(s.desop)
46+
e1:SetReset(RESETS_STANDARD_PHASE_END,2)
47+
e1:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
48+
tc:RegisterEffect(e1)
49+
end
50+
end
51+
function s.descost(e,tp,eg,ep,ev,re,r,rp,chk)
52+
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,nil) end
53+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
54+
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGraveAsCost,tp,LOCATION_HAND,0,1,1,nil)
55+
Duel.SendtoGrave(g,REASON_COST)
56+
end
57+
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
58+
if chkc then return chkc:IsOnField() and chkc:IsFaceup() end
59+
if chk==0 then return Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
60+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
61+
local g=Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
62+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,tp,0)
63+
end
64+
function s.desop(e,tp,eg,ep,ev,re,r,rp)
65+
local tc=Duel.GetFirstTarget()
66+
if tc:IsRelateToEffect(e) and tc:IsFaceup() then
67+
Duel.Destroy(tc,REASON_EFFECT)
68+
end
69+
end

pre-release/c100451021.lua

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
--虹の橋 ビフレスト
2+
--Rainbow Bridge Bifrost
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Banish 3 Level 10 or higher monsters from your Extra Deck, including a LIGHT Synchro Monster; add 1 Field Spell from your Deck to your hand
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
10+
e1:SetType(EFFECT_TYPE_ACTIVATE)
11+
e1:SetCode(EVENT_FREE_CHAIN)
12+
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
13+
e1:SetCost(s.cost)
14+
e1:SetTarget(s.target)
15+
e1:SetOperation(s.activate)
16+
c:RegisterEffect(e1)
17+
end
18+
function s.costfilter(c)
19+
return c:IsLevelAbove(10) and c:IsAbleToRemoveAsCost()
20+
end
21+
function s.includingfilter(c)
22+
return c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsSynchroMonster()
23+
end
24+
function s.rescon(sg,e,tp,mg)
25+
return sg:IsExists(s.includingfilter,1,nil)
26+
end
27+
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
28+
local g=Duel.GetMatchingGroup(s.costfilter,tp,LOCATION_EXTRA,0,nil)
29+
if chk==0 then return #g>=3 and g:IsExists(s.includingfilter,1,nil) end
30+
local sg=aux.SelectUnselectGroup(g,e,tp,3,3,s.rescon,1,tp,HINTMSG_REMOVE)
31+
Duel.Remove(sg,POS_FACEUP,REASON_COST)
32+
end
33+
function s.thfilter(c)
34+
return c:IsFieldSpell() and c:IsAbleToHand()
35+
end
36+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
37+
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end
38+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
39+
end
40+
function s.activate(e,tp,eg,ep,ev,re,r,rp)
41+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
42+
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
43+
if #g>0 then
44+
Duel.SendtoHand(g,nil,REASON_EFFECT)
45+
Duel.ConfirmCards(1-tp,g)
46+
end
47+
end

pre-release/c100451022.lua

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
--Sin Force
2+
--Malefic Force
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Target 1 face-up monster on the field; equip this card to it as an Equip Card with these effects
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_EQUIP)
10+
e1:SetType(EFFECT_TYPE_ACTIVATE)
11+
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
12+
e1:SetCode(EVENT_FREE_CHAIN)
13+
e1:SetCountLimit(1,{id,0})
14+
e1:SetCost(aux.RemainFieldCost)
15+
e1:SetTarget(s.eqtg)
16+
e1:SetOperation(s.eqop)
17+
e1:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
18+
c:RegisterEffect(e1)
19+
--If a card is in the Field Zone: You can banish this card and 1 other "Malefic" card from your GY; destroy all monsters on the field
20+
local e2=Effect.CreateEffect(c)
21+
e2:SetDescription(aux.Stringid(id,1))
22+
e2:SetCategory(CATEGORY_DESTROY)
23+
e2:SetType(EFFECT_TYPE_QUICK_O)
24+
e2:SetCode(EVENT_FREE_CHAIN)
25+
e2:SetRange(LOCATION_GRAVE)
26+
e2:SetCountLimit(1,{id,1})
27+
e2:SetCondition(function() return Duel.IsExistingMatchingCard(nil,0,LOCATION_FZONE,LOCATION_FZONE,1,nil) end)
28+
e2:SetCost(s.descost)
29+
e2:SetTarget(s.destg)
30+
e2:SetOperation(s.desop)
31+
e2:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
32+
c:RegisterEffect(e2)
33+
end
34+
s.listed_series={SET_MALEFIC}
35+
function s.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
36+
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
37+
if chk==0 then return e:IsHasType(EFFECT_TYPE_ACTIVATE)
38+
and Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
39+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
40+
local g=Duel.SelectTarget(tp,Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
41+
Duel.SetOperationInfo(0,CATEGORY_EQUIP,e:GetHandler(),1,tp,0)
42+
end
43+
function s.eqop(e,tp,eg,ep,ev,re,r,rp)
44+
local c=e:GetHandler()
45+
if not c:IsLocation(LOCATION_SZONE) or not c:IsRelateToEffect(e) or c:IsStatus(STATUS_LEAVE_CONFIRMED) then return end
46+
local tc=Duel.GetFirstTarget()
47+
if tc:IsRelateToEffect(e) and tc:IsFaceup() and Duel.Equip(tp,c,tc) then
48+
--Equip limit
49+
local e0=Effect.CreateEffect(c)
50+
e0:SetType(EFFECT_TYPE_SINGLE)
51+
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
52+
e0:SetCode(EFFECT_EQUIP_LIMIT)
53+
e0:SetValue(1)
54+
e0:SetReset(RESET_EVENT|RESETS_STANDARD)
55+
c:RegisterEffect(e0)
56+
--● The equipped monster is unaffected by Spell effects
57+
local e1=Effect.CreateEffect(c)
58+
e1:SetType(EFFECT_TYPE_EQUIP)
59+
e1:SetCode(EFFECT_IMMUNE_EFFECT)
60+
e1:SetValue(function(e,te) return te:IsSpellEffect() end)
61+
e1:SetReset(RESET_EVENT|RESETS_STANDARD)
62+
c:RegisterEffect(e1)
63+
--● Once per turn: You can destroy this card, and if you do, add 1 "Malefic" card from your Deck to your hand
64+
local e2=Effect.CreateEffect(c)
65+
e2:SetDescription(aux.Stringid(id,2))
66+
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND+CATEGORY_SEARCH)
67+
e2:SetType(EFFECT_TYPE_QUICK_O)
68+
e2:SetCode(EVENT_FREE_CHAIN)
69+
e2:SetRange(LOCATION_SZONE)
70+
e2:SetCountLimit(1)
71+
e2:SetTarget(s.desthtg)
72+
e2:SetOperation(s.desthop)
73+
e2:SetReset(RESET_EVENT|RESETS_STANDARD)
74+
e2:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
75+
c:RegisterEffect(e2)
76+
end
77+
end
78+
function s.thfilter(c)
79+
return c:IsSetCard(SET_MALEFIC) and c:IsAbleToHand()
80+
end
81+
function s.desthtg(e,tp,eg,ep,ev,re,r,rp,chk)
82+
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end
83+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,e:GetHandler(),1,tp,0)
84+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
85+
end
86+
function s.desthop(e,tp,eg,ep,ev,re,r,rp)
87+
local c=e:GetHandler()
88+
if c:IsRelateToEffect(e) and Duel.Destroy(c,REASON_EFFECT)>0 then
89+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
90+
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
91+
if #g>0 then
92+
Duel.SendtoHand(g,nil,REASON_EFFECT)
93+
Duel.ConfirmCards(1-tp,g)
94+
end
95+
end
96+
end
97+
function s.descostfilter(c)
98+
return c:IsSetCard(SET_MALEFIC) and c:IsAbleToRemoveAsCost()
99+
end
100+
function s.descost(e,tp,eg,ep,ev,re,r,rp,chk)
101+
local c=e:GetHandler()
102+
if chk==0 then return c:IsAbleToRemoveAsCost() and Duel.IsExistingMatchingCard(s.descostfilter,tp,LOCATION_GRAVE,0,1,c) end
103+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
104+
local g=Duel.SelectMatchingCard(tp,s.descostfilter,tp,LOCATION_GRAVE,0,1,1,c)
105+
Duel.Remove(g+c,POS_FACEUP,REASON_COST)
106+
end
107+
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
108+
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,LOCATION_MZONE)
109+
if chk==0 then return #g>0 end
110+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,#g,tp,0)
111+
end
112+
function s.desop(e,tp,eg,ep,ev,re,r,rp)
113+
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,LOCATION_MZONE)
114+
if #g>0 then
115+
Duel.Destroy(g,REASON_EFFECT)
116+
end
117+
end

pre-release/c100451023.lua

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
--Sin Paradigm Shift
2+
--Malefic Paradigm Shift
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--You can activate this card from your hand by paying half your LP
7+
local e0=Effect.CreateEffect(c)
8+
e0:SetDescription(aux.Stringid(id,0))
9+
e0:SetType(EFFECT_TYPE_SINGLE)
10+
e0:SetCode(EFFECT_TRAP_ACT_IN_HAND)
11+
e0:SetValue(function(e,c) e:SetLabel(1) end)
12+
c:RegisterEffect(e0)
13+
--Add to your hand, or place face-up in your Field Zone, 1 "Malefic World" from your Deck or GY, then Special Summon 1 "Malefic" monster from your Deck or Extra Deck in Defense Position, ignoring its Summoning conditions, then if your opponent controls a monster with 2500 or more ATK, all face-up monsters they currently control lose 2500 ATK until the end of this turn
14+
local e1=Effect.CreateEffect(c)
15+
e1:SetDescription(aux.Stringid(id,1))
16+
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON+CATEGORY_ATKCHANGE)
17+
e1:SetType(EFFECT_TYPE_ACTIVATE)
18+
e1:SetCode(EVENT_FREE_CHAIN)
19+
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
20+
e1:SetCost(s.cost)
21+
e1:SetTarget(s.target)
22+
e1:SetOperation(s.activate)
23+
e1:SetLabelObject(e0)
24+
e1:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
25+
c:RegisterEffect(e1)
26+
end
27+
s.listed_names={27564031} --"Malefic World"
28+
s.listed_series={SET_MALEFIC}
29+
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
30+
local label_obj=e:GetLabelObject()
31+
if chk==0 then label_obj:SetLabel(0) return true end
32+
if label_obj:GetLabel()==1 then
33+
label_obj:SetLabel(0)
34+
Duel.PayLPCost(tp,Duel.GetLP(tp)//2)
35+
end
36+
end
37+
function s.maleficworldfilter(c)
38+
return c:IsCode(27564031) and (c:IsAbleToHand() or not c:IsForbidden())
39+
end
40+
function s.spfilter(c,e,tp)
41+
if not (c:IsSetCard(SET_MALEFIC) and c:IsMonster() and c:IsCanBeSpecialSummoned(e,0,tp,true,false,POS_FACEUP_DEFENSE)) then return false end
42+
if c:IsLocation(LOCATION_DECK) then
43+
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
44+
elseif c:IsLocation(LOCATION_EXTRA) then
45+
return Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
46+
end
47+
end
48+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
49+
if chk==0 then return Duel.IsExistingMatchingCard(s.maleficworldfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil)
50+
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK|LOCATION_EXTRA,0,1,nil,e,tp) end
51+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK|LOCATION_GRAVE)
52+
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK|LOCATION_EXTRA)
53+
Duel.SetPossibleOperationInfo(0,CATEGORY_ATKCHANGE,Duel.GetFieldGroup(tp,0,LOCATION_MZONE),1,tp,-2500)
54+
end
55+
function s.activate(e,tp,eg,ep,ev,re,r,rp)
56+
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(id,2))
57+
local sc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.maleficworldfilter),tp,LOCATION_DECK|LOCATION_GRAVE,0,1,1,nil):GetFirst()
58+
local tohand_or_place_chk=aux.ToHandOrElse(sc,tp,
59+
function()
60+
return not sc:IsForbidden()
61+
end,
62+
function()
63+
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
64+
if fc then
65+
Duel.SendtoGrave(fc,REASON_RULE)
66+
Duel.BreakEffect()
67+
end
68+
return Duel.MoveToField(sc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
69+
end,
70+
aux.Stringid(id,3)
71+
)
72+
if not tohand_or_place_chk then return end
73+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
74+
local sg=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_DECK|LOCATION_EXTRA,0,1,1,nil,e,tp)
75+
if #sg==0 then return end
76+
Duel.BreakEffect()
77+
if Duel.SpecialSummon(sg,0,tp,tp,true,false,POS_FACEUP_DEFENSE)>0
78+
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsAttackAbove,2500),tp,0,LOCATION_MZONE,1,nil) then
79+
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
80+
local c=e:GetHandler()
81+
Duel.BreakEffect()
82+
for tc in g:Iter() do
83+
--All face-up monsters they currently control lose 2500 ATK until the end of this turn
84+
tc:UpdateAttack(-2500,RESETS_STANDARD_PHASE_END,c)
85+
end
86+
end
87+
end

pre-release/c100451024.lua

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
--A BF-叢雲のクサナギ
2+
--Assault Blackwing - Kusanagi the Gathering Storm
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
c:EnableReviveLimit()
7+
--Synchro Summon procedure: 1 Tuner + 1+ non-Tuners
8+
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTuner(nil),1,99)
9+
--Material check
10+
local e0=Effect.CreateEffect(c)
11+
e0:SetType(EFFECT_TYPE_SINGLE)
12+
e0:SetCode(EFFECT_MATERIAL_CHECK)
13+
e0:SetValue(function(e,c) e:SetLabel(c:GetMaterial():IsExists(Card.IsSetCard,1,nil,SET_BLACKWING) and 1 or 0) end)
14+
c:RegisterEffect(e0)
15+
--If this card is Synchro Summoned using a "Blackwing" monster as material, it is treated as a Tuner while face-up on the field. After this card is Synchro Summoned, for the rest of this turn, it gains ATK equal to the total original ATK of the Synchro Monsters used as its material
16+
local e1=Effect.CreateEffect(c)
17+
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
18+
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
19+
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
20+
e1:SetCondition(function(e) return e:GetHandler():IsSynchroSummoned() end)
21+
e1:SetLabelObject(e0)
22+
e1:SetOperation(s.effop)
23+
c:RegisterEffect(e1)
24+
--Can attack all your opponent's monsters, once each
25+
local e2=Effect.CreateEffect(c)
26+
e2:SetType(EFFECT_TYPE_SINGLE)
27+
e2:SetCode(EFFECT_ATTACK_ALL)
28+
e2:SetValue(1)
29+
c:RegisterEffect(e2)
30+
--If this card attacks a Defense Position monster, nflict piercing battle damage to your opponent
31+
local e3=e2:Clone()
32+
e3:SetCode(EFFECT_PIERCE)
33+
c:RegisterEffect(e3)
34+
end
35+
s.listed_series={SET_BLACKWING}
36+
function s.effop(e,tp,eg,ep,ev,re,r,rp)
37+
local c=e:GetHandler()
38+
local mg=c:GetMaterial()
39+
if #mg==0 then return end
40+
if e:GetLabelObject():GetLabel()==1 then
41+
--If this card is Synchro Summoned using a "Blackwing" monster as material, it is treated as a Tuner while face-up on the field
42+
local e1=Effect.CreateEffect(c)
43+
e1:SetType(EFFECT_TYPE_SINGLE)
44+
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
45+
e1:SetCode(EFFECT_ADD_TYPE)
46+
e1:SetValue(TYPE_TUNER)
47+
e1:SetReset(RESET_EVENT|RESETS_STANDARD)
48+
c:RegisterEffect(e1)
49+
end
50+
local atk=mg:Match(Card.IsSynchroMonster,nil):GetSum(Card.GetBaseAttack,nil)
51+
if atk==0 then return end
52+
--After this card is Synchro Summoned, for the rest of this turn, it gains ATK equal to the total original ATK of the Synchro Monsters used as its material
53+
c:UpdateAttack(atk,RESETS_STANDARD_DISABLE_PHASE_END)
54+
end

0 commit comments

Comments
 (0)