Commit 488abf2c authored by mercury233's avatar mercury233 Committed by DailyShana

fix Induced Explosion (#699)

parent 4916e460
...@@ -27,7 +27,7 @@ function c68077936.cfilter(c,tp) ...@@ -27,7 +27,7 @@ function c68077936.cfilter(c,tp)
return c:IsPreviousLocation(LOCATION_ONFIELD) and c:GetPreviousControler()==tp and c:IsReason(REASON_EFFECT) return c:IsPreviousLocation(LOCATION_ONFIELD) and c:GetPreviousControler()==tp and c:IsReason(REASON_EFFECT)
end end
function c68077936.condition(e,tp,eg,ep,ev,re,r,rp) function c68077936.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c68077936.cfilter,1,nil,tp) and re:IsActiveType(TYPE_SPELL) return eg:IsExists(c68077936.cfilter,1,nil,tp) and re and re:IsActiveType(TYPE_SPELL)
end end
function c68077936.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c68077936.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsOnField() end if chkc then return chkc:IsControler(1-tp) and chkc:IsOnField() 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