Commit a450f4d5 authored by salix5's avatar salix5

fix Auxiliary.SpiritReturnReg

parent 744a8e5f
...@@ -182,7 +182,7 @@ function Auxiliary.SpiritReturnTarget1(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -182,7 +182,7 @@ function Auxiliary.SpiritReturnTarget1(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function Auxiliary.SpiritReturnCondition2(e,tp,eg,ep,ev,re,r,rp) function Auxiliary.SpiritReturnCondition2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return not c:IsHasEffect(EFFECT_SPIRIT_DONOT_RETURN) return not c:IsHasEffect(EFFECT_SPIRIT_DONOT_RETURN) and c:IsHasEffect(EFFECT_SPIRIT_MAYNOT_RETURN)
end end
function Auxiliary.SpiritReturnTarget2(e,tp,eg,ep,ev,re,r,rp,chk) function Auxiliary.SpiritReturnTarget2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToHand() end if chk==0 then return e:GetHandler():IsAbleToHand() 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