Commit d8a8d1a3 authored by GuGu's avatar GuGu

Update c24059.lua

parent 2f7ac00f
Pipeline #40402 passed with stage
in 15 seconds
......@@ -13,7 +13,7 @@ function c24059.initial_effect(c)
end
function c24059.tokentg(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetLocationCount(tp,LOCATION_MZONE)+Duel.GetLocationCount(1-tp,LOCATION_MZONE)
if chk==0 then return ct>-1 and Duel.IsPlayerCanSpecialSummonMonster(tp,24064,0,0x208,600,400,1,RACE_INSECT,ATTRIBUTE_DARK) end
if chk==0 then return ct>-1 and Duel.IsPlayerCanSpecialSummonMonster(tp,24064,0x208,TYPES_TOKEN_MONSTER,600,400,1,RACE_INSECT,ATTRIBUTE_DARK) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,ct+1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,ct+1,0,0)
end
......@@ -44,7 +44,7 @@ function c24059.activate(e,tp,eg,ep,ev,re,r,rp)
DOT.DotCounter.Add(nil,1-tp,0,600,1800,e)
local ct1=Duel.GetLocationCount(tp,LOCATION_MZONE)
local ct2=Duel.GetLocationCount(1-tp,LOCATION_MZONE)
if ct1+ct2>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,24064,0,0x208,600,400,1,RACE_INSECT,ATTRIBUTE_DARK) then
if ct1+ct2>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,24064,0x208,TYPES_TOKEN_MONSTER,600,400,1,RACE_INSECT,ATTRIBUTE_DARK) then
while ct1>0 do
local token=Duel.CreateToken(tp,24064)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment