Commit f4c53378 authored by TanakaKotoha's avatar TanakaKotoha

y1s1

parent 13aac087
...@@ -55,10 +55,10 @@ function cm.atkval(e,c) ...@@ -55,10 +55,10 @@ function cm.atkval(e,c)
return c:GetOverlayCount()*1000 return c:GetOverlayCount()*1000
end end
function cm.discon1(e,tp,eg,ep,ev,re,r,rp) function cm.discon1(e,tp,eg,ep,ev,re,r,rp)
return c:GetCounter(0x1620)==0 return e:GetHandler():GetCounter(0x1620)==0
end end
function cm.discon2(e,tp,eg,ep,ev,re,r,rp) function cm.discon2(e,tp,eg,ep,ev,re,r,rp)
return c:GetCounter(0x1620)>0 return e:GetHandler():GetCounter(0x1620)>0
end end
function cm.discost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) 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