Commit eea5e38f authored by woodee's avatar woodee

fix

condition:destroy
parent 7d8e25b5
......@@ -19,7 +19,7 @@ function c46668237.cfilter(c,tp)
and bit.band(c:GetPreviousRaceOnField(),RACE_BEAST)~=0
end
function c46668237.condition(e,tp,eg,ep,ev,re,r,rp)
return not eg:IsContains(e:GetHandler()) and eg:IsExists(c46668237.cfilter,1,nil,tp)
return not eg:IsContains(e:GetHandler()) and eg:IsExists(c46668237.cfilter,1,nil,tp) and bit.band(r,REASON_DESTROY)~=0
end
function c46668237.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) 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