Commit e74292d7 authored by salix5's avatar salix5

Merge pull request #1475 from Steeldarkeagel/patch-48

Update c59718521.lua
parents 6a348907 4c8eec52
......@@ -27,9 +27,12 @@ end
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)
end
function c59718521.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsRace,1,nil,RACE_PSYCHO) end
local g=Duel.SelectReleaseGroup(tp,Card.IsRace,1,1,nil,RACE_PSYCHO)
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)
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