Commit 3613248d authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

fix (#1652)

parent 4b070736
......@@ -73,8 +73,9 @@ function c37414347.discon(e,tp,eg,ep,ev,re,r,rp)
return ep==1-tp and re:IsActiveType(TYPE_MONSTER) and Duel.IsChainNegatable(ev)
end
function c37414347.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,1,0x4a,1,REASON_COST) end
Duel.RemoveCounter(tp,1,1,0x4a,1,REASON_COST)
local c=e:GetHandler()
if chk==0 then return c:IsCanRemoveCounter(tp,0x4a,1,REASON_COST) end
c:RemoveCounter(tp,0x4a,1,REASON_COST)
end
function c37414347.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true 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