Commit 0bd4cad7 authored by POLYMER's avatar POLYMER

fix

parent e73e41dc
......@@ -90,7 +90,7 @@ function c9910142.discon(e,tp,eg,ep,ev,re,r,rp)
end
function c9910142.discost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
local dt=Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD)
local dt=Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)
if chk==0 then return c:IsAbleToRemoveAsCost() and dt>0 and Duel.CheckRemoveOverlayCard(tp,1,0,1,REASON_COST) end
Duel.Remove(c,POS_FACEUP,REASON_COST)
local ct=Duel.RemoveOverlayCard(tp,1,0,1,dt,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