Skip to content

Commit 63f244a

Browse files
authored
Update c511001561.lua
Missing updated function declarations
1 parent 96d7e54 commit 63f244a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unofficial/c511001561.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ function s.tokenfilter(c,tp)
3535
return c:IsFaceup() and c:HasLevel()
3636
and Duel.IsPlayerCanSpecialSummonMonster(tp,id+1,c:GetOriginalSetCard(),c:GetOriginalType(),c:GetBaseAttack(),c:GetBaseDefense(),c:GetOriginalLevel(),c:GetOriginalRace(),c:GetOriginalAttribute())
3737
end
38-
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
38+
function s.tokentg(e,tp,eg,ep,ev,re,r,rp,chk)
3939
local ct=Duel.GetFlagEffect(1-tp,id)
4040
if ct>1 and Duel.IsPlayerAffectedByEffect(tp,CARD_BLUEEYES_SPIRIT) then return false end
4141
if chk==0 then return ct>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>=ct
4242
and Duel.IsExistingMatchingCard(s.tokenfilter,tp,LOCATION_MZONE,0,1,nil,tp) end
4343
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,ct,0,0)
4444
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,ct,0,0)
4545
end
46-
function s.operation(e,tp,eg,ep,ev,re,r,rp)
46+
function s.tokenop(e,tp,eg,ep,ev,re,r,rp)
4747
local ct=Duel.GetFlagEffect(1-tp,id)
4848
if (ct>1 and Duel.IsPlayerAffectedByEffect(tp,CARD_BLUEEYES_SPIRIT)) or Duel.GetLocationCount(tp,LOCATION_MZONE)<ct
4949
or not Duel.IsExistingMatchingCard(s.tokenfilter,tp,LOCATION_MZONE,0,1,nil,tp) then return end

0 commit comments

Comments
 (0)