Commit 01699cf3 authored by salix5's avatar salix5

fix

parent e74292d7
......@@ -28,11 +28,11 @@ function c59718521.condition1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()==0
end
function c59718521.filter(c)
return c:IsReleasable() and c:IsRace(RACE_PSYCHO) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
return c:IsRace(RACE_PSYCHO) and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c59718521.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c59718521.filter,1,nil,RACE_PSYCHO) end
local g=Duel.SelectReleaseGroup(tp,c59718521.filter,1,1,nil,RACE_PSYCHO)
if chk==0 then return Duel.CheckReleaseGroup(tp,c59718521.filter,1,nil) end
local g=Duel.SelectReleaseGroup(tp,c59718521.filter,1,1,nil)
Duel.Release(g,REASON_COST)
end
function c59718521.target1(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