Commit 6fc3adbf authored by AndreOliveiraMendes's avatar AndreOliveiraMendes Committed by mercury233

fix Spellbook of Life (#1084)

parent 22b28e24
...@@ -24,7 +24,7 @@ function c52628687.cffilter(c) ...@@ -24,7 +24,7 @@ function c52628687.cffilter(c)
return c:IsSetCard(0x106e) and c:IsType(TYPE_SPELL) and not c:IsPublic() return c:IsSetCard(0x106e) and c:IsType(TYPE_SPELL) and not c:IsPublic()
end end
function c52628687.spfilter(c,e,tp) function c52628687.spfilter(c,e,tp)
return c:IsRace(RACE_SPELLCASTER) and c:GetLevel()>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsRace(RACE_SPELLCASTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c52628687.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c52628687.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c52628687.spfilter(chkc,e,tp) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and c52628687.spfilter(chkc,e,tp) 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