Commit 1c5fc0f7 authored by Chrono-Genex's avatar Chrono-Genex Committed by GitHub

replace Card.IsStatus(STATUS_DISABLED) to Card.IsDisabled() (#1617)

parent aa4c16f3
...@@ -29,7 +29,7 @@ function c14558127.discost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -29,7 +29,7 @@ function c14558127.discost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD) Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end end
function c14558127.distg(e,tp,eg,ep,ev,re,r,rp,chk) function c14558127.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not re:GetHandler():IsStatus(STATUS_DISABLED) end if chk==0 then return not re:GetHandler():IsDisabled() end
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
end end
function c14558127.disop(e,tp,eg,ep,ev,re,r,rp) function c14558127.disop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -22,7 +22,7 @@ function c67750322.discost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -22,7 +22,7 @@ function c67750322.discost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(e:GetHandler(),REASON_COST) Duel.SendtoGrave(e:GetHandler(),REASON_COST)
end end
function c67750322.distg(e,tp,eg,ep,ev,re,r,rp,chk) function c67750322.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return not re:GetHandler():IsStatus(STATUS_DISABLED) end if chk==0 then return not re:GetHandler():IsDisabled() end
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
end end
function c67750322.disop(e,tp,eg,ep,ev,re,r,rp) function c67750322.disop(e,tp,eg,ep,ev,re,r,rp)
......
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