Skip to content

Commit 9fba643

Browse files
committed
Update cards calling other card's strings
1 parent 125f7ab commit 9fba643

File tree

9 files changed

+57
-62
lines changed

9 files changed

+57
-62
lines changed

official/c12743620.lua

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
local e1=Effect.CreateEffect(c)
7-
e1:SetDescription(aux.Stringid(77994337,0))
7+
e1:SetDescription(aux.Stringid(id,0))
88
e1:SetType(EFFECT_TYPE_ACTIVATE)
99
e1:SetCode(EVENT_FREE_CHAIN)
1010
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
@@ -14,15 +14,14 @@ function s.initial_effect(c)
1414
c:RegisterEffect(e1)
1515
end
1616
function s.filter(c)
17-
local lv=c:GetLevel()
18-
return c:IsType(TYPE_TUNER) and c:IsAbleToRemove() and c:HasLevel()
17+
return c:IsType(TYPE_TUNER) and c:IsAbleToRemove() and c:HasLevel()
1918
end
2019
function s.lvfilter(c)
2120
return c:IsFaceup() and c:HasLevel()
2221
end
2322
function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
2423
if chkc then return chkc:IsLocation(LOCATION_MZONE) and s.lvfilter(chkc,lv) end
25-
if chk==0 then return Duel.IsExistingTarget(s.lvfilter,tp,LOCATION_MZONE,0,1,nil)
24+
if chk==0 then return Duel.IsExistingTarget(s.lvfilter,tp,LOCATION_MZONE,0,1,nil)
2625
and Duel.IsExistingTarget(s.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil) end
2726
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
2827
local g1=Duel.SelectTarget(tp,s.filter,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil)

official/c33022867.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ function s.initial_effect(c)
1111
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
1212
e1:SetValue(aux.FALSE)
1313
c:RegisterEffect(e1)
14-
--special summon
14+
--Must be Special Summoned (from your hand) by Tributing 3 monsters
1515
local e2=Effect.CreateEffect(c)
16-
e2:SetDescription(aux.Stringid(83965310,0))
16+
e2:SetDescription(aux.Stringid(id,0))
1717
e2:SetType(EFFECT_TYPE_FIELD)
1818
e2:SetCode(EFFECT_SPSUMMON_PROC)
1919
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
@@ -22,13 +22,13 @@ function s.initial_effect(c)
2222
e2:SetTarget(s.sptg)
2323
e2:SetOperation(s.spop)
2424
c:RegisterEffect(e2)
25-
--act limit
25+
--Your opponent cannot activate cards or effects during the Battle Phase.
2626
local e3=Effect.CreateEffect(c)
2727
e3:SetType(EFFECT_TYPE_FIELD)
2828
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
2929
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
30-
e3:SetTargetRange(0,1)
3130
e3:SetRange(LOCATION_MZONE)
31+
e3:SetTargetRange(0,1)
3232
e3:SetCondition(s.actcon)
3333
e3:SetValue(1)
3434
c:RegisterEffect(e3)
@@ -58,6 +58,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp,c)
5858
atk=atk+batk
5959
end
6060
end
61+
--This card's ATK becomes the combined original ATK of the Tributed monsters
6162
local e1=Effect.CreateEffect(c)
6263
e1:SetType(EFFECT_TYPE_SINGLE)
6364
e1:SetCode(EFFECT_SET_ATTACK)

official/c41456841.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function s.initial_effect(c)
1010
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
1111
e1:SetValue(s.splimit)
1212
c:RegisterEffect(e1)
13-
--Prevent destruction by opponent's effect
13+
--Your Insect monsters cannot be destroyed by your opponent's card effects
1414
local e2=Effect.CreateEffect(c)
1515
e2:SetType(EFFECT_TYPE_FIELD)
1616
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
@@ -20,7 +20,7 @@ function s.initial_effect(c)
2020
e2:SetTarget(aux.TargetBoolFunction(Card.IsRace,RACE_INSECT))
2121
e2:SetValue(aux.indoval)
2222
c:RegisterEffect(e2)
23-
--Prevent effect target
23+
--Your opponent cannot target Insect monsters you control with card effects,
2424
local e3=Effect.CreateEffect(c)
2525
e3:SetType(EFFECT_TYPE_FIELD)
2626
e3:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
@@ -31,7 +31,7 @@ function s.initial_effect(c)
3131
e3:SetTarget(aux.TargetBoolFunction(Card.IsRace,RACE_INSECT))
3232
e3:SetValue(aux.tgoval)
3333
c:RegisterEffect(e3)
34-
--Chain attack
34+
--This card can attack an opponent's monster again in a row
3535
local e4=Effect.CreateEffect(c)
3636
e4:SetDescription(aux.Stringid(id,0))
3737
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
@@ -40,9 +40,9 @@ function s.initial_effect(c)
4040
e4:SetCost(s.atcost)
4141
e4:SetOperation(s.atop)
4242
c:RegisterEffect(e4)
43-
--Special Summon
43+
--Special Summon 1 "Insect Monster Token"
4444
local e5=Effect.CreateEffect(c)
45-
e5:SetDescription(aux.Stringid(91512835,1))
45+
e5:SetDescription(aux.Stringid(id,1))
4646
e5:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
4747
e5:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
4848
e5:SetRange(LOCATION_MZONE)

official/c42925441.lua

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ function s.initial_effect(c)
99
e1:SetHintTiming(0,TIMING_END_PHASE)
1010
e1:SetTarget(s.target)
1111
c:RegisterEffect(e1)
12-
--effect
12+
--Activate 1 of these effects, or, if you send "Galaxy-Eyes Photon Dragon", you can activate both, in sequence
1313
local e2=Effect.CreateEffect(c)
1414
e2:SetDescription(aux.Stringid(id,0))
1515
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND+CATEGORY_SEARCH)
1616
e2:SetType(EFFECT_TYPE_QUICK_O)
1717
e2:SetCode(EVENT_FREE_CHAIN)
18-
e2:SetCountLimit(1,id)
19-
e2:SetHintTiming(0,TIMING_END_PHASE)
2018
e2:SetRange(LOCATION_SZONE)
19+
e2:SetHintTiming(0,TIMING_END_PHASE)
20+
e2:SetCountLimit(1,id)
2121
e2:SetCost(s.effcost)
2222
e2:SetTarget(s.efftg)
2323
e2:SetOperation(s.effop)
@@ -28,14 +28,14 @@ s.listed_names={CARD_GALAXYEYES_P_DRAGON}
2828
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
2929
if chk==0 then return true end
3030
local c=e:GetHandler()
31-
--destroy
31+
--Send this card to the GY during your 2nd Standby Phase after activation.
3232
local e1=Effect.CreateEffect(c)
33-
e1:SetDescription(aux.Stringid(12670770,1))
33+
e1:SetDescription(aux.Stringid(id,1))
3434
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
3535
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
3636
e1:SetCode(EVENT_PHASE|PHASE_STANDBY)
37-
e1:SetCountLimit(1)
3837
e1:SetRange(LOCATION_SZONE)
38+
e1:SetCountLimit(1)
3939
e1:SetCondition(s.descon)
4040
e1:SetOperation(s.desop)
4141
e1:SetReset(RESET_EVENT|RESETS_STANDARD|RESET_PHASE|PHASE_STANDBY|RESET_SELF_TURN,3)
@@ -58,22 +58,22 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
5858
ct=ct+1
5959
c:SetTurnCounter(ct)
6060
if ct==2 then
61-
Duel.Destroy(c,REASON_EFFECT)
61+
Duel.SendtoGrave(c,REASON_EFFECT)
6262
end
6363
end
6464
function s.effcost(e,tp,eg,ep,ev,re,r,rp,chk)
6565
if chk==0 then return Duel.GetFlagEffect(tp,id)==0 end
6666
Duel.RegisterFlagEffect(tp,id,RESETS_STANDARD_PHASE_END,0,1)
6767
end
6868
function s.costfilter1(c,e,tp)
69-
return c:IsAbleToGraveAsCost() and c:IsFaceup() and (c:IsSetCard(SET_PHOTON) or c:IsSetCard(SET_GALAXY)) and Duel.GetMZoneCount(tp,c)>0
69+
return c:IsAbleToGraveAsCost() and c:IsFaceup() and c:IsSetCard({SET_PHOTON,SET_GALAXY}) and Duel.GetMZoneCount(tp,c)>0
7070
and Duel.IsExistingMatchingCard(s.spfilter1,tp,LOCATION_DECK,0,1,nil,e,tp,c:GetOriginalCode())
7171
end
7272
function s.spfilter1(c,e,tp,code)
7373
return c:IsSetCard(SET_PHOTON) and c:GetOriginalCode()~=code and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
7474
end
7575
function s.costfilter2(c)
76-
return c:IsFaceup() and (c:IsSetCard(SET_PHOTON) or c:IsSetCard(SET_GALAXY)) and c:IsAbleToGraveAsCost()
76+
return c:IsFaceup() and c:IsSetCard({SET_PHOTON,SET_GALAXY}) and c:IsAbleToGraveAsCost()
7777
end
7878
function s.thfilter(c)
7979
return c:IsSetCard(SET_PHOTON) and not c:IsCode(id) and c:IsAbleToHand()
@@ -90,32 +90,28 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
9090
local b1=Duel.IsExistingMatchingCard(s.costfilter1,tp,LOCATION_MZONE,0,1,nil,e,tp)
9191
local b2=Duel.IsExistingMatchingCard(s.costfilter2,tp,LOCATION_MZONE,0,1,nil)
9292
and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil)
93-
if chk==0 then return b1 or b2 end
9493
local b3=Duel.IsExistingMatchingCard(s.costfilter3,tp,LOCATION_MZONE,0,1,nil,e,tp)
95-
if b1 and b2 and b3 then
96-
op=Duel.SelectOption(tp,aux.Stringid(id,1),aux.Stringid(id,2),aux.Stringid(id,3))
97-
elseif b1 and b2 then
98-
op=Duel.SelectOption(tp,aux.Stringid(id,1),aux.Stringid(id,2))
99-
elseif b1 then
100-
op=Duel.SelectOption(tp,aux.Stringid(id,1))
101-
else
102-
op=Duel.SelectOption(tp,aux.Stringid(id,2))+1
103-
end
94+
if chk==0 then return b1 or b2 end
95+
local op=Duel.SelectEffect(tp,
96+
{b1,aux.Stringid(id,2)},
97+
{b2,aux.Stringid(id,3)},
98+
{b3,aux.Stringid(id,4)})
99+
e:SetLabel(op)
104100
e:SetLabel(op)
105-
if op==0 then
101+
if op==1 then
106102
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
107103
local g=Duel.SelectMatchingCard(tp,s.costfilter1,tp,LOCATION_MZONE,0,1,1,nil,e,tp)
108104
e:SetValue(g:GetFirst():GetOriginalCode())
109105
Duel.SendtoGrave(g,REASON_COST)
110106
e:SetCategory(CATEGORY_SPECIAL_SUMMON)
111107
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
112-
elseif op==1 then
108+
elseif op==2 then
113109
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
114110
local g=Duel.SelectMatchingCard(tp,s.costfilter2,tp,LOCATION_MZONE,0,1,1,nil)
115111
Duel.SendtoGrave(g,REASON_COST)
116112
e:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
117113
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
118-
else
114+
elseif op==3 then
119115
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
120116
local g=Duel.SelectMatchingCard(tp,s.costfilter3,tp,LOCATION_MZONE,0,1,1,nil,e,tp)
121117
e:SetValue(g:GetFirst():GetOriginalCode())
@@ -127,21 +123,21 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
127123
end
128124
function s.effop(e,tp,eg,ep,ev,re,r,rp)
129125
local op=e:GetLabel()
130-
if op==0 then
126+
if op==1 then
131127
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
132128
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
133129
local g=Duel.SelectMatchingCard(tp,s.spfilter1,tp,LOCATION_DECK,0,1,1,nil,e,tp,e:GetValue())
134130
if #g>0 then
135131
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
136132
end
137-
elseif op==1 then
133+
elseif op==2 then
138134
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
139135
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
140136
if #g>0 then
141137
Duel.SendtoHand(g,nil,REASON_EFFECT)
142138
Duel.ConfirmCards(1-tp,g)
143139
end
144-
else
140+
elseif op==3 then
145141
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
146142
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
147143
local g1=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp,e:GetValue())

official/c81332143.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function s.initial_effect(c)
99
e1:SetOperation(s.activate)
1010
c:RegisterEffect(e1)
1111
end
12-
s.listed_names={14731897}
12+
s.listed_names={14731897} --"Unity"
1313
function s.activate(e,tp,eg,ep,ev,re,r,rp)
1414
local opt=0
1515
if Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_HAND,0,1,nil,14731897) and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then

official/c81977953.lua

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ function s.initial_effect(c)
1010
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
1111
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
1212
c:RegisterEffect(e1)
13-
--Special summon from hand
13+
--Must be Special Summoned (from your hand) by banishing 2 WIND and 1 EARTH monsters from your GY
1414
local e2=Effect.CreateEffect(c)
15+
e2:SetDescription(aux.Stringid(id,0))
1516
e2:SetType(EFFECT_TYPE_FIELD)
1617
e2:SetCode(EFFECT_SPSUMMON_PROC)
1718
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
@@ -20,9 +21,9 @@ function s.initial_effect(c)
2021
e2:SetTarget(s.sptg)
2122
e2:SetOperation(s.spop)
2223
c:RegisterEffect(e2)
23-
--Discard to destroy S/T
24+
--Destroy 1 Spell/Trap on the field
2425
local e3=Effect.CreateEffect(c)
25-
e3:SetDescription(aux.Stringid(81977953,0))
26+
e3:SetDescription(aux.Stringid(id,1))
2627
e3:SetCategory(CATEGORY_DESTROY)
2728
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
2829
e3:SetType(EFFECT_TYPE_IGNITION)
@@ -72,19 +73,16 @@ function s.descost(e,tp,eg,ep,ev,re,r,rp,chk)
7273
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
7374
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST|REASON_DISCARD)
7475
end
75-
function s.filter(c)
76-
return c:IsSpellTrap()
77-
end
7876
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
79-
if chkc then return chkc:IsOnField() and s.filter(chkc) end
80-
if chk==0 then return Duel.IsExistingTarget(s.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
77+
if chkc then return chkc:IsOnField() and chkc:IsSpellTrap() end
78+
if chk==0 then return Duel.IsExistingTarget(Card.IsSpellTrap,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
8179
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
82-
local g=Duel.SelectTarget(tp,s.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
83-
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
80+
local g=Duel.SelectTarget(tp,Card.IsSpellTrap,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
81+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,tp,0)
8482
end
8583
function s.desop(e,tp,eg,ep,ev,re,r,rp)
8684
local tc=Duel.GetFirstTarget()
87-
if tc and tc:IsRelateToEffect(e) then
85+
if tc:IsRelateToEffect(e) then
8886
Duel.Destroy(tc,REASON_EFFECT)
8987
end
9088
end

official/c84569886.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function s.initial_effect(c)
55
c:EnableReviveLimit()
66
Pendulum.AddProcedure(c,false)
77
Fusion.AddProcMixN(c,true,true,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_DDD),2)
8-
--atk
8+
--Make an opponent's monster lose 1000 ATK until the end of this turn
99
local e1=Effect.CreateEffect(c)
1010
e1:SetDescription(aux.Stringid(id,0))
1111
e1:SetCategory(CATEGORY_ATKCHANGE)
@@ -16,7 +16,7 @@ function s.initial_effect(c)
1616
e1:SetCondition(s.atkcon1)
1717
e1:SetOperation(s.atkop1)
1818
c:RegisterEffect(e1)
19-
--destroy
19+
--Destroy 1 Attack Position monster your opponent controls and inflict damage to your opponent equal to half its original ATK
2020
local e2=Effect.CreateEffect(c)
2121
e2:SetDescription(aux.Stringid(id,1))
2222
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE)
@@ -27,7 +27,7 @@ function s.initial_effect(c)
2727
e2:SetTarget(s.destg)
2828
e2:SetOperation(s.desop)
2929
c:RegisterEffect(e2)
30-
--reset atk
30+
--Make the ATK of an opponent's monster become equal to its original ATK until the end of the Damage Step
3131
local e3=Effect.CreateEffect(c)
3232
e3:SetDescription(aux.Stringid(id,2))
3333
e3:SetCategory(CATEGORY_ATKCHANGE)
@@ -37,9 +37,9 @@ function s.initial_effect(c)
3737
e3:SetCondition(s.atkcon2)
3838
e3:SetOperation(s.atkop2)
3939
c:RegisterEffect(e3)
40-
--pendulum
40+
--Place this card in your Pendulum Zone
4141
local e6=Effect.CreateEffect(c)
42-
e6:SetDescription(aux.Stringid(100219001,3))
42+
e6:SetDescription(aux.Stringid(id,3))
4343
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
4444
e6:SetCode(EVENT_DESTROYED)
4545
e6:SetProperty(EFFECT_FLAG_DELAY)

official/c88176533.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--spsummon (deck)
7+
--Special Summon 1 "Nephthys" monster from your Deck
88
local e1=Effect.CreateEffect(c)
99
e1:SetDescription(aux.Stringid(id,0))
1010
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -16,7 +16,7 @@ function s.initial_effect(c)
1616
e1:SetTarget(s.sptg1)
1717
e1:SetOperation(s.spop1)
1818
c:RegisterEffect(e1)
19-
--spsummon (hand)
19+
--Destroy 1 "Nephthys" card in your hand, and if you do, Special Summon this card
2020
local e2=Effect.CreateEffect(c)
2121
e2:SetDescription(aux.Stringid(id,1))
2222
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
@@ -43,7 +43,7 @@ end
4343
function s.spop1(e,tp,eg,ep,ev,re,r,rp)
4444
local c=e:GetHandler()
4545
local e1=Effect.CreateEffect(c)
46-
e1:SetDescription(aux.Stringid(23289281,1))
46+
e1:SetDescription(aux.Stringid(id,2))
4747
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
4848
e1:SetCode(EVENT_PHASE+PHASE_END)
4949
e1:SetRange(LOCATION_MZONE)

official/c983995.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22
--Rebound
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Negate
5+
--Negate an activated effect, and if you do, send 1 card from your opponent's hand (at random) or from their side of the field to the GY
66
local e1=Effect.CreateEffect(c)
7+
e1:SetDescription(aux.Stringid(id,0))
78
e1:SetCategory(CATEGORY_DISABLE+CATEGORY_TOGRAVE)
89
e1:SetType(EFFECT_TYPE_ACTIVATE)
910
e1:SetCode(EVENT_CHAINING)
1011
e1:SetCondition(s.condition)
1112
e1:SetTarget(s.target)
1213
e1:SetOperation(s.operation)
1314
c:RegisterEffect(e1)
14-
--draw
15+
--Draw 1 card
1516
local e2=Effect.CreateEffect(c)
16-
e2:SetDescription(aux.Stringid(id,0))
17+
e2:SetDescription(aux.Stringid(id,1))
1718
e2:SetCategory(CATEGORY_DRAW)
1819
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
1920
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
@@ -42,7 +43,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
4243
local g2=Duel.GetMatchingGroup(Card.IsAbleToGrave,tp,0,LOCATION_ONFIELD,nil)
4344
local opt=0
4445
if #g1>0 and #g2>0 then
45-
opt=Duel.SelectOption(tp,aux.Stringid(63251695,3),aux.Stringid(63251695,4))
46+
opt=Duel.SelectOption(tp,aux.Stringid(id,2),aux.Stringid(id,3))
4647
elseif #g1>0 then
4748
opt=0
4849
elseif #g2>0 then

0 commit comments

Comments
 (0)