Commit 285e313f authored by mercury233's avatar mercury233 Committed by DailyShana

fix Psychic Commander (#704)

parent 5fbeb53e
...@@ -25,7 +25,7 @@ function c21454943.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,7 +25,7 @@ function c21454943.condition(e,tp,eg,ep,ev,re,r,rp)
return a:IsFaceup() and a:IsRace(RACE_PSYCHO) and a:IsRelateToBattle() and d and d:IsFaceup() and d:IsRelateToBattle() return a:IsFaceup() and a:IsRace(RACE_PSYCHO) and a:IsRelateToBattle() and d and d:IsFaceup() and d:IsRelateToBattle()
else else
e:SetLabelObject(a) e:SetLabelObject(a)
return d:IsFaceup() and d:IsRace(RACE_PSYCHO) and d:IsRelateToBattle() and a and a:IsFaceup() and a:IsRelateToBattle() return d and d:IsFaceup() and d:IsRace(RACE_PSYCHO) and d:IsRelateToBattle() and a and a:IsFaceup() and a:IsRelateToBattle()
end end
end end
function c21454943.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c21454943.cost(e,tp,eg,ep,ev,re,r,rp,chk)
......
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