Commit 44760eb0 authored by nanahira's avatar nanahira

fix

parent 3f4424d8
......@@ -80,14 +80,14 @@ end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
return eg:IsExists(function(c)
return c:IsFaceup() and c:IsControler(tp) and c:GetLocation()==LOCATION_MZONE and Senya.check_set(c,"mf")
return c:IsFaceup() and c:IsControler(tp) and Senya.check_set(c,"mf")
end,1,nil) and (r&REASON_EFFECT)>0 and Duel.IsCanRemoveCounter(tp,1,0,0x18,3,REASON_COST)
end
return Duel.SelectEffectYesNo(tp,e:GetHandler(),96)
end
function cm.value(e,c)
local tp=e:GetHandlerPlayer()
return c:IsFaceup() and c:IsControler(tp) and c:GetLocation()==LOCATION_MZONE and Senya.check_set(c,"mf")
return c:IsFaceup() and c:IsControler(tp) and Senya.check_set(c,"mf")
end
function cm.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.RemoveCounter(tp,1,0,0x1,3,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