Commit 9eba93ec authored by GuGu's avatar GuGu

Update c20035.lua

parent 85c12ad8
Pipeline #42639 passed with stage
in 21 seconds
......@@ -67,7 +67,7 @@ function c20035.spr(e,tp,eg,ep,ev,re,r,rp)
c:RegisterFlagEffect(20035,RESET_EVENT+0x1fe0000,0,0)
end
function c20035.condition(e,tp,eg,ep,ev,re,r,rp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and Duel.IsChainNegatable(ev) and e:GetHandler():GetFlagEffect(20035)>0
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and Duel.IsChainNegatable(ev) and e:GetHandler():GetFlagEffect(20035)>0 and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
function c20035.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end
......
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