Commit d93b6a4f authored by Grajade's avatar Grajade

Update c1156609.lua

parent c412e3b9
......@@ -64,13 +64,14 @@ function c1156609.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,2,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,2,0,0)
end
function c1156609.op2(e,tp,eg,ep,ev,re,r,rp)
function c1156609.op1(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsPlayerAffectedByEffect(tp,59822133) then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<2 then return end
if Duel.IsPlayerCanSpecialSummonMonster(tp,1156610,0,0x4011,0,0,1,RACE_MACHINE,ATTRIBUTE_EARTH) then
local token=Duel.CreateToken(tp,1156610)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
local token1=Duel.CreateToken(tp,1156610)
local token2=Duel.CreateToken(tp,1156610)
Duel.SpecialSummonStep(token1,0,tp,tp,false,false,POS_FACEUP)
Duel.SpecialSummonStep(token2,0,tp,tp,false,false,POS_FACEUP)
Duel.SpecialSummonComplete()
end
end
......@@ -80,7 +81,7 @@ function c1156609.cfilter2(c)
and c:IsReleasable()
end
function c1156609.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c1156609.cfilter2,LOCATION_ONFIELD,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(c1156609.cfilter2,tp,LOCATION_ONFIELD,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local sg=Duel.SelectMatchingCard(tp,c1156609.cfilter2,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.Release(sg,REASON_COST)
......
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