Commit 2d44a2e4 authored by Steeldarkeagel's avatar Steeldarkeagel

Update c91078716.lua

parent 120e4a04
...@@ -31,8 +31,8 @@ function c91078716.filter(c) ...@@ -31,8 +31,8 @@ function c91078716.filter(c)
return c:IsReleasable() and not c:IsStatus(STATUS_BATTLE_DESTROYED) return c:IsReleasable() and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end end
function c91078716.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c91078716.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(Card.IsRace,tp,LOCATION_MZONE,0,nil,RACE_PLANT) if chk==0 then return Duel.CheckReleaseGroup(tp,c91078716.filter,1,nil,RACE_PLANT) end
if chk==0 then return g:GetCount()>0 and g:FilterCount(c91078716.filter,nil)==g:GetCount() end local g=Duel.SelectReleaseGroup(tp,c91078716.filter,1,1,nil,RACE_PLANT)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c91078716.target1(e,tp,eg,ep,ev,re,r,rp,chk) function c91078716.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