Commit 9535b518 authored by mercury233's avatar mercury233

fix 烈風の覇者シムルグ

parent af28dd88
...@@ -45,12 +45,12 @@ end ...@@ -45,12 +45,12 @@ end
function c95192919.tdcon(e,tp,eg,ep,ev,re,r,rp) function c95192919.tdcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_SPELL+TYPE_TRAP) return re:IsActiveType(TYPE_SPELL+TYPE_TRAP)
end end
function c95192919.costfilter(c) function c95192919.costfilter(c,tp)
return c:IsRace(RACE_WINDBEAST) and c:IsAttribute(ATTRIBUTE_WIND) and (c:IsControler(tp) or c:IsFaceup()) return c:IsRace(RACE_WINDBEAST) and c:IsAttribute(ATTRIBUTE_WIND) and (c:IsControler(tp) or c:IsFaceup())
end end
function c95192919.tdcost(e,tp,eg,ep,ev,re,r,rp,chk) function c95192919.tdcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c95192919.costfilter,1,nil) end if chk==0 then return Duel.CheckReleaseGroup(tp,c95192919.costfilter,1,nil,tp) end
local sg=Duel.SelectReleaseGroup(tp,c95192919.costfilter,1,1,nil) local sg=Duel.SelectReleaseGroup(tp,c95192919.costfilter,1,1,nil,tp)
Duel.Release(sg,REASON_COST) Duel.Release(sg,REASON_COST)
end end
function c95192919.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c95192919.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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