Skip to content

Commit 574eebd

Browse files
authored
Various card fixes
- Ancient Gear Statue: Should mention itself. - Dogurado the Moving Stone Relic: Should check for exact ATK both on activation and on resolution. - Krawler Soma: Fix hint when selecting a target + missing Level change category on the 2nd effect. - Light and Darkness Dragon: Removed and unused string + modernising. - Number 7: Lucky Straight: Shouldn't roll a die if this card is face-down on resolution + rolling a die and drawing shouldn't happen at the same time. - Philia Regis: Shouldn't be able to target a monster your opponent controls if you don't have a Dragon monster to return to your hand. - Promethean Princess, Bestower of Flames: Should check that they're still monsters before destroying them. - Supreme King Z-ARC - Synchro Universe: Deleted unused filter function. - The Hallowed Azamina: Properly exclude the card(s) to be sent to the GY when checking for available zones. - Volcanic Emperor: Should consider both players' banished Pyro monsters when inflicting damage.
1 parent d06d81f commit 574eebd

File tree

10 files changed

+141
-154
lines changed

10 files changed

+141
-154
lines changed

official/c2772337.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--Link Summon procedure
7+
--Link Summon procedure: 2+ Effect Monsters
88
Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_EFFECT),2)
9-
--Cannot Special Summon, except FIRE monsters
9+
--You cannot Special Summon, except FIRE monsters
1010
local e1=Effect.CreateEffect(c)
1111
e1:SetType(EFFECT_TYPE_FIELD)
1212
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
@@ -72,7 +72,7 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
7272
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,0)
7373
end
7474
function s.desop(e,tp,eg,ep,ev,re,r,rp)
75-
local tg=Duel.GetTargetCards(e)
75+
local tg=Duel.GetTargetCards(e):Match(Card.IsMonster,nil)
7676
if #tg==0 or Duel.Destroy(tg,REASON_EFFECT)==0 then return end
7777
local c=e:GetHandler()
7878
if c:IsRelateToEffect(e) then

official/c32762201.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--scripted by pyrQ
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
--Special Summon this card (from your hand)
6+
--If your opponent controls more monsters than you do, you can Special Summon this card (from your hand)
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetType(EFFECT_TYPE_FIELD)
@@ -25,7 +25,7 @@ function s.initial_effect(c)
2525
e2:SetOperation(s.hdspop)
2626
c:RegisterEffect(e2)
2727
end
28-
s.listed_names={CARD_ANCIENT_GEAR_GOLEM}
28+
s.listed_names={CARD_ANCIENT_GEAR_GOLEM,id}
2929
function s.selfspcon(e,c)
3030
if c==nil then return true end
3131
local tp=c:GetControler()

official/c42021064.lua

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,20 +58,24 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
5858
c:RegisterEffect(e1)
5959
end
6060
end
61+
function s.desfilter(c,atk)
62+
return c:HasNonZeroAttack() and c:IsAttackBelow(atk)
63+
end
6164
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
6265
local c=e:GetHandler()
63-
if chkc then return chkc:IsOnField() and chkc:HasNonZeroAttack() and chkc~=c end
64-
if chk==0 then return Duel.IsExistingTarget(Card.HasNonZeroAttack,tp,LOCATION_MZONE,LOCATION_MZONE,1,c) end
66+
local atk=c:GetAttack()
67+
if chkc then return chkc:IsOnField() and s.desfilter(chkc,atk) and chkc~=c end
68+
if chk==0 then return Duel.IsExistingTarget(s.desfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,c,atk) end
6569
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
66-
local g=Duel.SelectTarget(tp,Card.HasNonZeroAttack,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,c)
70+
local g=Duel.SelectTarget(tp,s.desfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,c,atk)
6771
Duel.SetOperationInfo(0,CATEGORY_ATKCHANGE,c,1,tp,-g:GetFirst():GetAttack())
6872
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,tp,0)
6973
end
7074
function s.desop(e,tp,eg,ep,ev,re,r,rp)
7175
local c=e:GetHandler()
7276
local tc=Duel.GetFirstTarget()
7377
if c:IsRelateToEffect(e) and c:IsFaceup() and tc:IsRelateToEffect(e) and tc:HasNonZeroAttack()
74-
and c:UpdateAttack(-tc:GetAttack())==-tc:GetAttack() then
78+
and c:IsAttackAbove(tc:GetAttack()) and c:UpdateAttack(-tc:GetAttack())==-tc:GetAttack() then
7579
Duel.Destroy(tc,REASON_EFFECT)
7680
end
7781
end

official/c46412900.lua

Lines changed: 31 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,40 @@ local s,id=GetID()
55
function s.initial_effect(c)
66
c:SetSPSummonOnce(id)
77
c:EnableReviveLimit()
8-
--Special Summon condition
8+
c:AddMustBeSpecialSummoned()
9+
--Must be Special Summoned (from your hand or GY) by banishing 3 Pyro monsters or 1 "Blaze Accelerator" card from your face-up field and/or GY
10+
local e0=Effect.CreateEffect(c)
11+
e0:SetType(EFFECT_TYPE_FIELD)
12+
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
13+
e0:SetCode(EFFECT_SPSUMMON_PROC)
14+
e0:SetRange(LOCATION_HAND|LOCATION_GRAVE)
15+
e0:SetCondition(s.spcon)
16+
e0:SetTarget(s.sptg)
17+
e0:SetOperation(s.spop)
18+
e0:SetValue(1)
19+
c:RegisterEffect(e0)
20+
--Inflict 500 damage to your opponent for each banished Pyro monsters
921
local e1=Effect.CreateEffect(c)
10-
e1:SetType(EFFECT_TYPE_SINGLE)
11-
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
12-
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
22+
e1:SetDescription(aux.Stringid(id,0))
23+
e1:SetCategory(CATEGORY_DAMAGE)
24+
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
25+
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
26+
e1:SetCondition(function(e) return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL+1) end)
27+
e1:SetTarget(s.damsettg)
28+
e1:SetOperation(s.damsetop)
1329
c:RegisterEffect(e1)
14-
--Special Summon procedure
30+
--Each time your opponent Special Summons a monster(s), inflict 500 damage to your opponent
1531
local e2=Effect.CreateEffect(c)
16-
e2:SetType(EFFECT_TYPE_FIELD)
17-
e2:SetCode(EFFECT_SPSUMMON_PROC)
18-
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
19-
e2:SetRange(LOCATION_HAND|LOCATION_GRAVE)
20-
e2:SetValue(1)
21-
e2:SetCondition(s.spcon)
22-
e2:SetTarget(s.sptg)
23-
e2:SetOperation(s.spop)
24-
c:RegisterEffect(e2)
25-
--Inflict 500 damage for each of your banished Pyro monsters
26-
local e2=Effect.CreateEffect(c)
27-
e2:SetDescription(aux.Stringid(id,0))
28-
e2:SetCategory(CATEGORY_DAMAGE)
29-
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
32+
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3033
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
31-
e2:SetCondition(function(e) return e:GetHandler():IsSummonType(SUMMON_TYPE_SPECIAL+1) end)
32-
e2:SetTarget(s.damsettg)
33-
e2:SetOperation(s.damsetop)
34+
e2:SetRange(LOCATION_MZONE)
35+
e2:SetCondition(s.damcon)
36+
e2:SetOperation(s.damop)
3437
c:RegisterEffect(e2)
35-
--Inflict 500 damage when your opponent Special Summons
36-
local e3=Effect.CreateEffect(c)
37-
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
38-
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
39-
e3:SetRange(LOCATION_MZONE)
40-
e3:SetCondition(s.damcon)
41-
e3:SetOperation(s.damop)
42-
c:RegisterEffect(e3)
4338
end
4439
s.listed_names={id}
4540
s.listed_series={SET_BLAZE_ACCELERATOR,SET_VOLCANIC}
46-
function s.spcfilter(c,tp)
41+
function s.spcostfilter(c,tp)
4742
return ((c:IsMonster() and c:IsRace(RACE_PYRO)) or c:IsSetCard(SET_BLAZE_ACCELERATOR))
4843
and c:IsFaceup() and c:IsAbleToRemoveAsCost()
4944
end
@@ -55,13 +50,12 @@ end
5550
function s.spcon(e,c)
5651
if c==nil then return true end
5752
local tp=c:GetControler()
58-
local rg=Duel.GetMatchingGroup(s.spcfilter,tp,LOCATION_ONFIELD|LOCATION_GRAVE,0,c)
53+
local rg=Duel.GetMatchingGroup(s.spcostfilter,tp,LOCATION_ONFIELD|LOCATION_GRAVE,0,c)
5954
return #rg>0 and aux.SelectUnselectGroup(rg,e,tp,1,3,s.rescon,0)
6055
end
6156
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
62-
local c=e:GetHandler()
6357
local g=nil
64-
local rg=Duel.GetMatchingGroup(s.spcfilter,tp,LOCATION_ONFIELD|LOCATION_GRAVE,0,c)
58+
local rg=Duel.GetMatchingGroup(s.spcostfilter,tp,LOCATION_ONFIELD|LOCATION_GRAVE,0,c)
6559
local g=aux.SelectUnselectGroup(rg,e,tp,1,3,s.rescon,1,tp,HINTMSG_REMOVE,s.rescon,nil,true)
6660
if #g>0 then
6761
g:KeepAlive()
@@ -77,15 +71,15 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp,c)
7771
g:DeleteGroup()
7872
end
7973
function s.damsettg(e,tp,eg,ep,ev,re,r,rp,chk)
80-
local g=Duel.GetMatchingGroup(aux.FaceupFilter(Card.IsRace,RACE_PYRO),tp,LOCATION_REMOVED,0,nil)
74+
local g=Duel.GetMatchingGroup(aux.FaceupFilter(Card.IsRace,RACE_PYRO),tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
8175
if chk==0 then return #g>0 end
8276
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,1-tp,#g*500)
8377
end
8478
function s.setfilter(c)
8579
return c:IsSetCard(SET_VOLCANIC) and c:IsTrap() and c:IsSSetable()
8680
end
8781
function s.damsetop(e,tp,eg,ep,ev,re,r,rp)
88-
local g=Duel.GetMatchingGroup(aux.FaceupFilter(Card.IsRace,RACE_PYRO),tp,LOCATION_REMOVED,0,nil)
82+
local g=Duel.GetMatchingGroup(aux.FaceupFilter(Card.IsRace,RACE_PYRO),tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
8983
if #g==0 then return end
9084
if Duel.Damage(1-tp,#g*500,REASON_EFFECT)>0
9185
and Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil)
@@ -104,4 +98,4 @@ end
10498
function s.damop(e,tp,eg,ep,ev,re,r,rp)
10599
Duel.Hint(HINT_CARD,0,id)
106100
Duel.Damage(1-tp,500,REASON_EFFECT)
107-
end
101+
end

official/c47297616.lua

Lines changed: 49 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -2,103 +2,85 @@
22
--Light and Darkness Dragon
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Special Summon limitation
5+
c:AddCannotBeSpecialSummoned()
6+
--While face-up on the field, this card is also DARK-Attribute
67
local e1=Effect.CreateEffect(c)
78
e1:SetType(EFFECT_TYPE_SINGLE)
8-
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
9-
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
10-
e1:SetValue(aux.FALSE)
9+
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
10+
e1:SetCode(EFFECT_ADD_ATTRIBUTE)
11+
e1:SetRange(LOCATION_MZONE)
12+
e1:SetValue(ATTRIBUTE_DARK)
1113
c:RegisterEffect(e1)
12-
--Add DARK attribute
14+
--Negate the activation of a Spell/Trap Card or monster effect, and if you do, this card loses exactly 500 ATK/DEF
1315
local e2=Effect.CreateEffect(c)
14-
e2:SetDescription(aux.Stringid(id,1))
15-
e2:SetType(EFFECT_TYPE_SINGLE)
16-
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
17-
e2:SetCode(EFFECT_ADD_ATTRIBUTE)
16+
e2:SetDescription(aux.Stringid(id,0))
17+
e2:SetCategory(CATEGORY_NEGATE+CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)
18+
e2:SetType(EFFECT_TYPE_QUICK_F)
19+
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
20+
e2:SetCode(EVENT_CHAINING)
1821
e2:SetRange(LOCATION_MZONE)
19-
e2:SetValue(ATTRIBUTE_DARK)
22+
e2:SetCountLimit(1,0,EFFECT_COUNT_CODE_CHAIN)
23+
e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return re:IsHasType(EFFECT_TYPE_ACTIVATE) or re:IsMonsterEffect() end)
24+
e2:SetTarget(s.negtg)
25+
e2:SetOperation(s.negop)
2026
c:RegisterEffect(e2)
21-
--Negate
27+
--Destroy all cards you control and Special Summon 1 monster from your GY
2228
local e3=Effect.CreateEffect(c)
23-
e3:SetDescription(aux.Stringid(id,2))
24-
e3:SetCategory(CATEGORY_NEGATE)
25-
e3:SetType(EFFECT_TYPE_QUICK_F)
26-
e3:SetCode(EVENT_CHAINING)
27-
e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
28-
e3:SetRange(LOCATION_MZONE)
29-
e3:SetCondition(s.codisable)
30-
e3:SetTarget(s.tgdisable)
31-
e3:SetOperation(s.opdisable)
29+
e3:SetDescription(aux.Stringid(id,1))
30+
e3:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
31+
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
32+
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
33+
e3:SetCode(EVENT_TO_GRAVE)
34+
e3:SetCondition(function(e) return e:GetHandler():IsReason(REASON_DESTROY) end)
35+
e3:SetTarget(s.sptg)
36+
e3:SetOperation(s.spop)
3237
c:RegisterEffect(e3)
33-
--Special summon
34-
local e4=Effect.CreateEffect(c)
35-
e4:SetDescription(aux.Stringid(id,4))
36-
e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
37-
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
38-
e4:SetCode(EVENT_TO_GRAVE)
39-
e4:SetProperty(EFFECT_FLAG_CARD_TARGET)
40-
e4:SetCondition(s.cdspsum)
41-
e4:SetTarget(s.tgspsum)
42-
e4:SetOperation(s.opspsum)
43-
c:RegisterEffect(e4)
38+
--"Double Snare" validity
4439
aux.DoubleSnareValidity(c,LOCATION_MZONE)
4540
end
46-
function s.codisable(e,tp,eg,ep,ev,re,r,rp)
47-
return (re:IsHasType(EFFECT_TYPE_ACTIVATE) or re:IsActiveType(TYPE_MONSTER))
48-
and not e:GetHandler():IsStatus(STATUS_CHAINING)
49-
end
50-
function s.tgdisable(e,tp,eg,ep,ev,re,r,rp,chk)
41+
function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
5142
local c=e:GetHandler()
52-
if chk==0 then return c:GetFlagEffect(id)==0 end
43+
if chk==0 then return not c:HasFlagEffect(id) end
5344
if c:IsHasEffect(EFFECT_REVERSE_UPDATE) then
54-
c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
45+
c:RegisterFlagEffect(id,RESETS_STANDARD_PHASE_END,0,1)
5546
end
56-
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
47+
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,tp,0)
5748
end
58-
function s.opdisable(e,tp,eg,ep,ev,re,r,rp)
49+
function s.negop(e,tp,eg,ep,ev,re,r,rp)
5950
local c=e:GetHandler()
60-
if not c:IsFaceup() or c:GetDefense()<500 or c:GetAttack()< 500 or not c:IsRelateToEffect(e) or Duel.GetCurrentChain()~=ev+1 or c:IsStatus(STATUS_BATTLE_DESTROYED) then
61-
return
62-
end
63-
if Duel.NegateActivation(ev) then
64-
if re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:GetHandler():IsRelateToEffect(re) then
65-
Duel.SendtoGrave(eg,REASON_EFFECT)
66-
end
51+
if c:IsFaceup() and c:IsRelateToEffect(e) and c:IsAttackAbove(500) and c:IsDefenseAbove(500)
52+
and not c:IsStatus(STATUS_BATTLE_DESTROYED) and Duel.GetCurrentChain()==ev+1
53+
and Duel.NegateActivation(ev) then
54+
--This card loses exactly 500 ATK/DEF
6755
local e1=Effect.CreateEffect(c)
6856
e1:SetType(EFFECT_TYPE_SINGLE)
6957
e1:SetProperty(EFFECT_FLAG_COPY_INHERIT)
70-
e1:SetReset(RESET_EVENT+RESETS_STANDARD_DISABLE)
7158
e1:SetCode(EFFECT_UPDATE_ATTACK)
7259
e1:SetValue(-500)
60+
e1:SetReset(RESET_EVENT|RESETS_STANDARD_DISABLE)
7361
c:RegisterEffect(e1)
74-
local e2=Effect.CreateEffect(c)
75-
e2:SetType(EFFECT_TYPE_SINGLE)
76-
e2:SetProperty(EFFECT_FLAG_COPY_INHERIT)
77-
e2:SetReset(RESET_EVENT+RESETS_STANDARD_DISABLE)
62+
local e2=e1:Clone()
7863
e2:SetCode(EFFECT_UPDATE_DEFENSE)
79-
e2:SetValue(-500)
8064
c:RegisterEffect(e2)
8165
end
8266
end
83-
function s.cdspsum(e)
84-
return e:GetHandler():IsReason(REASON_DESTROY)
85-
end
86-
function s.tgspsum(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
87-
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp)
88-
and chkc:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,tp) end
67+
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
68+
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and chkc:IsCanBeSpecialSummoned(e,0,tp,false,false) end
8969
if chk==0 then return true end
9070
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
91-
local g=Duel.SelectTarget(tp,Card.IsCanBeSpecialSummoned,tp,LOCATION_GRAVE,0,1,1,nil,e,0,tp,false,false,POS_FACEUP,tp)
92-
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,0,0)
93-
local dg=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_ONFIELD,0,nil)
94-
Duel.SetOperationInfo(0,CATEGORY_DESTROY,dg,#dg,0,0)
71+
local g=Duel.SelectTarget(tp,Card.IsCanBeSpecialSummoned,tp,LOCATION_GRAVE,0,1,1,nil,e,0,tp,false,false)
72+
local dg=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,0)
73+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,dg,#dg,tp,0)
74+
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,tp,0)
9575
end
96-
function s.opspsum(e,tp,eg,ep,ev,re,r,rp)
97-
local dg=Duel.GetMatchingGroup(nil,tp,LOCATION_ONFIELD,0,nil)
98-
Duel.Destroy(dg,REASON_EFFECT)
76+
function s.spop(e,tp,eg,ep,ev,re,r,rp)
77+
local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,0)
78+
if #g>0 then
79+
Duel.Destroy(g,REASON_EFFECT)
80+
end
9981
local tc=Duel.GetFirstTarget()
10082
if tc and tc:IsRelateToEffect(e) then
10183
Duel.BreakEffect()
10284
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
10385
end
104-
end
86+
end

official/c48654267.lua

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--Pendulum procedure
7+
--Pendulum Summon procedure
88
Pendulum.AddProcedure(c,false)
9-
--Synchro Summon procedure
9+
--Synchro Summon procedure: 1 Tuner + 1+ non-Tuner DARK Pendulum Monsters
1010
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTunerEx(s.matfilter),1,99)
1111
--Special Summon this card from the Pendulum Zone
1212
local e1=Effect.CreateEffect(c)
@@ -74,9 +74,6 @@ function s.selfspop(e,tp,eg,ep,ev,re,r,rp)
7474
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
7575
end
7676
end
77-
function s.spfilter(c,e,tp)
78-
return c:IsSetCard(SET_SUPREME_KING_DRAGON) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
79-
end
8077
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
8178
local bc=e:GetHandler():GetBattleTarget()
8279
local ex,_,damp=Duel.CheckEvent(EVENT_BATTLE_DAMAGE,true)

0 commit comments

Comments
 (0)