Skip to content

Commit 9e1f8e7

Browse files
authored
Update cards without hint messages before card selections + various script fixes
Added hint messages to the selection prompts of various cards that were missing them. Also includes the following specific card fixes: - Breaking of the World: Added missing effect categories. Should show a card on resolution, not on activation. Should check that the target is still face-up on resolution. - Charged-Up Heraldry: Handle checking for available Monster Zones in the case of applying this card's effect through another effect. Shouldn't apply the restriction if it's not a card activation. - Dogmatika Encounter: The second bullet point should be negated by "Necrovalley". - Endymion, the Magistus of Mastery: Added missing effect category. Also check that the card to equip can be placed on that player's field. - Fortune Lady Every: Added missing effect category. The effect should activate even if she's Level 12 or higher. - Generation Shift: Don't destroy the target if you don't control it on resolution. - Joker's Wild: Shouldn't be able to apply its effect with another card. - Machina Citadel: Should check for the destroyed card's name on the field rather than after it's destroyed. - Orcustrated Core: Shouldn't be able to use a 2nd "Orcustrated Core" to apply the effect on a card that already has the effect applied to it. - Ruddy Rose Witch: Shouldn't be able to use its effect if you don't have a Plant to place on top of the Deck. Shouldn't be able to Normal Summon if you don't successfully add a card to the hand and place a Plant on top of the Deck. - Sprind the Irondash Dragon: Should select the zones on resolution. - Stardust Illumination: Should also check for "Stardust Dragon" in the Spell & Trap Zone. - Starry Knight Ceremony: Place the revealed card on the bottom of the owner's Deck rather than the current possessor's. - Super Quantal Alphan Spike: Also check for an available zone to summon from the Extra Deck. - The Grand Spellbook Tower: Placing on the bottom of the Deck and drawing are simultaneous in the OCG. - Thunder Ball: Shouldn't be able to use its 1st effect if damage calculation isn't conducted. The destroy effect should resolve doing nothing if this card has already left the field when it resolves. Shouldn't roll a die if the target has already left the GY when it resolves. - Valkyrie Erste: Added missing targeting flag. Should check that the effect that Special Summoned it was a Spell effect rather than check that the card that Special Summoned it is currently a Spell. Don't consider face-down "Valkyrie" monsters for the condition. The ATK change should go away if the card's effects are negated later. - Vendread Daybreak: Shouldn't destroy itself if it's still the same card on resolution. - Voloferniges, the Darkest Dragon Doomrider: The OPT should be shared between the non-Quick version and the Quick version. Shouldn't be able to use the Quick version during the Damage Step. If the activation of the effect is negated then this card should be able to attack that turn. And many many more small script fixes, updates, and/or modernisations (58 cards in total).
1 parent 79539fc commit 9e1f8e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1556
-1819
lines changed

official/c11082056.lua

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,55 @@
22
--The Fang of Critias
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Activate
5+
--This card is also always treated as "Legendary Dragon Critias"
6+
local e0=Effect.CreateEffect(c)
7+
e0:SetType(EFFECT_TYPE_SINGLE)
8+
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
9+
e0:SetCode(EFFECT_ADD_CODE)
10+
e0:SetValue(10000060)
11+
c:RegisterEffect(e0)
12+
--Send 1 Trap from your hand or field to the GY, that is listed on a Fusion Monster that can only be Special Summoned with "The Fang of Critias" (if that card is Set, reveal it), then Special Summon that Fusion Monster from your Extra Deck
613
local e1=Effect.CreateEffect(c)
7-
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
14+
e1:SetDescription(aux.Stringid(id,0))
15+
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SPECIAL_SUMMON)
816
e1:SetType(EFFECT_TYPE_ACTIVATE)
917
e1:SetCode(EVENT_FREE_CHAIN)
1018
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
1119
e1:SetTarget(s.target)
1220
e1:SetOperation(s.activate)
1321
c:RegisterEffect(e1)
14-
--add code
15-
local e2=Effect.CreateEffect(c)
16-
e2:SetType(EFFECT_TYPE_SINGLE)
17-
e2:SetCode(EFFECT_ADD_CODE)
18-
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
19-
e2:SetValue(10000060)
20-
c:RegisterEffect(e2)
2122
end
22-
function s.tgfilter(c,e,tp,rp)
23-
return c:IsTrap() and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode(),rp)
23+
s.listed_names={10000060,id} --"Legendary Dragon Critias"
24+
function s.tgfilter(c,e,tp)
25+
return c:IsTrap() and c:IsAbleToGrave() and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode())
2426
end
25-
function s.spfilter(c,e,tp,code,rp)
26-
return c:IsType(TYPE_FUSION) and c.material_trap and Duel.GetLocationCountFromEx(tp,rp,nil,c)>0 and c:IsCanBeSpecialSummoned(e,0,tp,true,false) and code==c.material_trap
27+
function s.spfilter(c,e,tp,code)
28+
return c:IsType(TYPE_FUSION) and c.material_trap and code==c.material_trap and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
29+
and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
2730
end
2831
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
29-
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_HAND|LOCATION_SZONE,0,1,nil,e,tp,rp) end
32+
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_HAND|LOCATION_ONFIELD,0,1,nil,e,tp) end
33+
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_HAND|LOCATION_ONFIELD)
3034
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
3135
end
3236
function s.activate(e,tp,eg,ep,ev,re,r,rp)
3337
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FMATERIAL)
34-
local g=Duel.SelectMatchingCard(tp,s.tgfilter,tp,LOCATION_HAND|LOCATION_SZONE,0,1,1,nil,e,tp,rp)
35-
local tc=g:GetFirst()
36-
if tc and not tc:IsImmuneToEffect(e) then
37-
if tc:IsOnField() and tc:IsFacedown() then Duel.ConfirmCards(1-tp,tc) end
38-
Duel.SendtoGrave(tc,REASON_EFFECT)
39-
if not tc:IsLocation(LOCATION_GRAVE) then return end
40-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
41-
local sg=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc:GetCode())
42-
if tc:IsPreviousLocation(LOCATION_SZONE) and tc:IsPreviousPosition(POS_FACEUP) then
43-
sg=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc:GetPreviousCodeOnField())
38+
local mc=Duel.SelectMatchingCard(tp,s.tgfilter,tp,LOCATION_HAND|LOCATION_ONFIELD,0,1,1,nil,e,tp):GetFirst()
39+
if mc and not mc:IsImmuneToEffect(e) then
40+
if mc:IsOnField() and mc:IsFacedown() then
41+
Duel.ConfirmCards(1-tp,mc)
42+
end
43+
if Duel.SendtoGrave(mc,REASON_EFFECT)==0 or not mc:IsLocation(LOCATION_GRAVE) then return end
44+
local code=mc:GetCode()
45+
if mc:IsPreviousLocation(LOCATION_ONFIELD) and mc:IsPreviousPosition(POS_FACEUP) then
46+
code=mc:GetPreviousCodeOnField()
4447
end
45-
local sc=sg:GetFirst()
48+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
49+
local sc=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,code):GetFirst()
4650
if sc then
4751
Duel.BreakEffect()
48-
Duel.SpecialSummon(sc,0,tp,tp,true,false,POS_FACEUP)
52+
if Duel.SpecialSummon(sc,0,tp,tp,true,false,POS_FACEUP)==0 then return end
4953
sc:CompleteProcedure()
5054
end
5155
end
52-
end
56+
end

official/c12292422.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ local s,id=GetID()
55
function s.initial_effect(c)
66
--Activate
77
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
89
e1:SetType(EFFECT_TYPE_ACTIVATE)
910
e1:SetCode(EVENT_FREE_CHAIN)
1011
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
@@ -38,6 +39,7 @@ function s.filter(c,typ,lv)
3839
return c:IsRace(typ) and c:IsLevel(lv) and c:IsAbleToGrave()
3940
end
4041
function s.activate(e,tp,eg,ep,ev,re,r,rp)
42+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
4143
local tc=Duel.SelectMatchingCard(tp,s.tgyfilter,tp,LOCATION_HAND,0,1,1,nil):GetFirst()
4244
if tc and Duel.SendtoGrave(tc,REASON_EFFECT)~=0 and tc:IsLocation(LOCATION_GRAVE) then
4345
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RACE)
@@ -46,7 +48,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
4648
local lv=Duel.AnnounceLevel(tp,1,12)
4749
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
4850
local g=Duel.SelectMatchingCard(1-tp,s.filter,1-tp,LOCATION_HAND|LOCATION_DECK,0,1,1,nil,typ,lv)
49-
if #g>0 then
51+
if #g>0 then
5052
Duel.SendtoGrave(g,REASON_EFFECT)
5153
end
5254
end

official/c18478530.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function s.initial_effect(c)
88
e1:SetType(EFFECT_TYPE_ACTIVATE)
99
e1:SetCode(EVENT_FREE_CHAIN)
1010
c:RegisterEffect(e1)
11-
--Cannot attack
11+
--Monsters your opponent controls with 2000 or less ATK cannot attack
1212
local e2=Effect.CreateEffect(c)
1313
e2:SetType(EFFECT_TYPE_FIELD)
1414
e2:SetCode(EFFECT_CANNOT_ATTACK)
@@ -17,7 +17,7 @@ function s.initial_effect(c)
1717
e2:SetCondition(s.atkcon)
1818
e2:SetTarget(aux.TargetBoolFunction(Card.IsAttackBelow,2000))
1919
c:RegisterEffect(e2)
20-
--Special Summon 1 "Valkyrie" monster from Deck or hand
20+
--Special Summon 1 Level 5 or higher "Valkyrie" monster from your hand or Deck
2121
local e3=Effect.CreateEffect(c)
2222
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
2323
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
@@ -33,7 +33,7 @@ function s.atkcon(e,c)
3333
local tp=e:GetHandlerPlayer()
3434
return Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_VALKYRIE),tp,LOCATION_MZONE,0,1,nil)
3535
end
36-
function s.filter(c,e,tp)
36+
function s.spfilter(c,e,tp)
3737
return c:IsLevelAbove(5) and c:IsSetCard(SET_VALKYRIE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
3838
end
3939
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
@@ -42,13 +42,13 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
4242
end
4343
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
4444
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
45-
and Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_DECK|LOCATION_HAND,0,1,nil,e,tp) end
45+
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK|LOCATION_HAND,0,1,nil,e,tp) end
4646
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK|LOCATION_HAND)
4747
end
4848
function s.spop(e,tp,eg,ep,ev,re,r,rp)
49-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
5049
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
51-
local g=Duel.SelectMatchingCard(tp,s.filter,tp,LOCATION_DECK|LOCATION_HAND,0,1,1,nil,e,tp)
50+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
51+
local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_DECK|LOCATION_HAND,0,1,1,nil,e,tp)
5252
if #g>0 then
5353
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
5454
end

official/c1906812.lua

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
--灰燼竜バスタード
22
--Sprind the Irondash Dragon
3-
--Logical Nonsense
4-
--Substitute ID
3+
--scripted by Logical Nonsense
54
local s,id=GetID()
65
function s.initial_effect(c)
76
--Must be properly summoned before reviving
87
c:EnableReviveLimit()
9-
--Fusion summon procedure
8+
--Fusion Materials: "Fallen of Albaz" + 1 Effect Monster Special Summoned this turn
109
Fusion.AddProcMix(c,true,true,CARD_ALBAZ,aux.FilterBoolFunctionEx(s.filter))
11-
--Move itself to 1 of your unused MMZ
10+
--Move this card you control to another of your Main Monster Zones, then you can destroy all other face-up cards in this card's column
1211
local e1=Effect.CreateEffect(c)
1312
e1:SetDescription(aux.Stringid(id,0))
13+
e1:SetCategory(CATEGORY_DESTROY)
1414
e1:SetType(EFFECT_TYPE_IGNITION)
1515
e1:SetRange(LOCATION_MZONE)
1616
e1:SetCountLimit(1)
@@ -25,38 +25,32 @@ function s.initial_effect(c)
2525
e2:SetOperation(s.regop)
2626
c:RegisterEffect(e2)
2727
end
28-
--Lists "Sprigguns" archetype
2928
s.listed_series={SET_SPRINGANS}
30-
--Specifically lists "Fallen of Albaz"
3129
s.listed_names={CARD_ALBAZ}
32-
--Check for an effect that was special summoned this turn
3330
function s.filter(c)
3431
return c:IsLocation(LOCATION_MZONE) and c:IsType(TYPE_EFFECT) and c:IsStatus(STATUS_SPSUMMON_TURN)
3532
end
36-
--Activation legality
3733
function s.seqtg(e,tp,eg,ep,ev,re,r,rp,chk)
3834
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
39-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOZONE)
40-
local seq=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,0)
41-
Duel.Hint(HINT_ZONE,tp,seq)
42-
e:SetLabel(math.log(seq,2))
35+
Duel.SetPossibleOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,LOCATION_ONFIELD)
4336
end
44-
--Move itself to 1 of your unused MMZ, then destroy all face-up cards in its new column
4537
function s.seqop(e,tp,eg,ep,ev,re,r,rp,chk)
4638
local c=e:GetHandler()
47-
local seq=e:GetLabel()
48-
if not c:IsRelateToEffect(e) or c:IsControler(1-tp) or not Duel.CheckLocation(tp,LOCATION_MZONE,seq) then return end
39+
if not c:IsRelateToEffect(e) or c:IsControler(1-tp) then return end
4940
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOZONE)
50-
Duel.MoveSequence(c,seq)
51-
local dg=c:GetColumnGroup():Filter(Card.IsFaceup,c,nil) --Check for face-up cards in its current column, except itself
52-
if #dg>0 and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
53-
Duel.BreakEffect()
54-
Duel.Destroy(dg,REASON_EFFECT)
41+
local seq=Duel.SelectDisableField(tp,1,LOCATION_MZONE,0,0)
42+
if seq then
43+
Duel.MoveSequence(c,math.log(seq,2))
44+
local dg=c:GetColumnGroup():Filter(Card.IsFaceup,c,nil)
45+
if #dg>0 and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
46+
Duel.BreakEffect()
47+
Duel.Destroy(dg,REASON_EFFECT)
48+
end
5549
end
5650
end
57-
--Add or special summon 1 "Sprigguns" monster or "Fallen of Albaz" from deck
5851
function s.regop(e,tp,eg,ep,ev,re,r,rp)
5952
local c=e:GetHandler()
53+
--Add to your hand, or Special Summon, 1 "Springans" monster or 1 "Fallen of Albaz" from your Deck
6054
local e1=Effect.CreateEffect(c)
6155
e1:SetDescription(aux.Stringid(id,2))
6256
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
@@ -69,22 +63,19 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp)
6963
e1:SetReset(RESETS_STANDARD_PHASE_END)
7064
c:RegisterEffect(e1)
7165
end
72-
--Check for a "Sprigguns" monster or "Fallen of Albaz"
7366
function s.thfilter(c,e,tp,ft)
7467
return c:IsMonster() and (c:IsSetCard(SET_SPRINGANS) or c:IsCode(CARD_ALBAZ))
7568
and (c:IsAbleToHand() or (c:IsCanBeSpecialSummoned(e,0,tp,false,false) and ft>0))
7669
end
77-
--Activation legality
7870
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
7971
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
8072
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil,e,tp,ft) end
8173
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
8274
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
8375
end
84-
--Add or special summon 1 "Sprigguns" monster or "Fallen of Albaz" from deck
8576
function s.thop(e,tp,eg,ep,ev,re,r,rp)
86-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
8777
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
78+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
8879
local tc=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp,ft):GetFirst()
8980
if tc then
9081
aux.ToHandOrElse(tc,tp,function(c)

official/c19307353.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-
--Search
6+
--Add 1 monster from your Deck to your hand
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
@@ -42,8 +42,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
4242
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
4343
end
4444
function s.operation(e,tp,eg,ep,ev,re,r,rp)
45-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
4645
local total=e:GetLabel()
46+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
4747
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil,total)
4848
if #g>0 then
4949
Duel.SendtoHand(g,nil,REASON_EFFECT)

official/c21147203.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ function s.decksptg(e,tp,eg,ep,ev,re,r,rp,chk)
6666
end
6767
function s.deckspop(e,tp,eg,ep,ev,re,r,rp)
6868
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
69-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7069
local rac,att,lvl=e:GetLabel()
70+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7171
local g=Duel.SelectMatchingCard(tp,s.deckspfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp,rac,att,lvl)
7272
if #g>0 then
7373
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)

official/c23020408.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--Scripted by Larry126
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
--Activate
6+
--Place 1 card on top of the Deck from your hand, Deck, or GY, that is "Dark Magician" or mentions "Dark Magician" or "Dark Magician Girl"
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetCategory(CATEGORY_TODECK)
@@ -13,7 +13,7 @@ function s.initial_effect(c)
1313
e1:SetTarget(s.target)
1414
e1:SetOperation(s.activate)
1515
c:RegisterEffect(e1)
16-
--Draw
16+
--Draw cards equal to the number of "Palladium" monsters, "Dark Magician", and/or "Dark Magician Girl" with different names
1717
local e2=Effect.CreateEffect(c)
1818
e2:SetDescription(aux.Stringid(id,1))
1919
e2:SetCategory(CATEGORY_DRAW)
@@ -36,8 +36,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
3636
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,tp,LOCATION_HAND|LOCATION_GRAVE)
3737
end
3838
function s.activate(e,tp,eg,ep,ev,re,r,rp)
39-
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(id,2))
4039
local ct=Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)
40+
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(id,2))
4141
local tc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.filter),tp,LOCATION_HAND|LOCATION_DECK|LOCATION_GRAVE,0,1,1,nil,ct):GetFirst()
4242
if tc then
4343
if tc:IsLocation(LOCATION_DECK) then

0 commit comments

Comments
 (0)