Commit d4aff3a5 authored by DailyShana's avatar DailyShana

fix

parent e15e4f50
...@@ -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 true end if chk==0 then return not re:GetHandler():IsStatus(STATUS_DISABLED) 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)
......
...@@ -15,14 +15,14 @@ function c67750322.initial_effect(c) ...@@ -15,14 +15,14 @@ function c67750322.initial_effect(c)
end end
function c67750322.discon(e,tp,eg,ep,ev,re,r,rp) function c67750322.discon(e,tp,eg,ep,ev,re,r,rp)
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION) local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
return ep~=tp and Duel.IsChainNegatable(ev) and loc==LOCATION_GRAVE return ep~=tp and Duel.IsChainDisablable(ev) and loc==LOCATION_GRAVE
end end
function c67750322.discost(e,tp,eg,ep,ev,re,r,rp,chk) function c67750322.discost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end
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 true end if chk==0 then return not re:GetHandler():IsStatus(STATUS_DISABLED) 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