Commit df327094 authored by Grajade's avatar Grajade

Update c1156026.lua

parent ceba7605
Pipeline #25725 passed with stages
in 21 minutes and 42 seconds
......@@ -20,6 +20,7 @@ function c1156026.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(c1156026.con2)
e2:SetCost(c1156026.cost2)
e2:SetTarget(c1156026.tg2)
e2:SetOperation(c1156026.op2)
......@@ -40,6 +41,9 @@ function c1156026.op1(e,tp,eg,ep,ev,re,r,rp)
Duel.ChangeChainOperation(ev,aux.NULL)
end
--
function c1156026.con2(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()~=tp
end
function c1156026.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToExtraAsCost() end
Duel.SendtoDeck(e:GetHandler(),nil,2,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