Commit 17559b97 authored by DailyShana's avatar DailyShana

fix

parent e5069ebf
...@@ -74,7 +74,7 @@ function c90036274.discon(e,tp,eg,ep,ev,re,r,rp) ...@@ -74,7 +74,7 @@ function c90036274.discon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated() return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated()
end end
function c90036274.disfilter(c) function c90036274.disfilter(c)
return c:GetSummonLocation()==LOCATION_EXTRA and not (c:GetAttack()==0 and c:IsDisabled()) return c:GetSummonLocation()==LOCATION_EXTRA and not c:IsDisabled()
end end
function c90036274.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c90036274.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and c90036274.disfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and c90036274.disfilter(chkc) end
......
...@@ -58,7 +58,7 @@ function c99185129.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,7 @@ function c99185129.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated() return Duel.GetCurrentPhase()~=PHASE_DAMAGE or not Duel.IsDamageCalculated()
end end
function c99185129.filter(c) function c99185129.filter(c)
return c:GetSummonLocation()==LOCATION_EXTRA and not (c:GetAttack()==0 and c:IsDisabled()) return c:GetSummonLocation()==LOCATION_EXTRA and not c:IsDisabled()
end end
function c99185129.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c99185129.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c99185129.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c99185129.filter(chkc) 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