Commit 627d4959 authored by mercury233's avatar mercury233

fix ダークネス・シムルグ

parent 60c57548
...@@ -56,12 +56,12 @@ end ...@@ -56,12 +56,12 @@ end
function c22586618.negcon(e,tp,eg,ep,ev,re,r,rp) function c22586618.negcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) and re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and Duel.IsChainNegatable(ev) return not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) and re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and Duel.IsChainNegatable(ev)
end end
function c22586618.costfilter(c) function c22586618.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 c22586618.negcost(e,tp,eg,ep,ev,re,r,rp,chk) function c22586618.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c22586618.costfilter,1,nil) end if chk==0 then return Duel.CheckReleaseGroup(tp,c22586618.costfilter,1,nil,tp) end
local sg=Duel.SelectReleaseGroup(tp,c22586618.costfilter,1,1,nil) local sg=Duel.SelectReleaseGroup(tp,c22586618.costfilter,1,1,nil,tp)
Duel.Release(sg,REASON_COST) Duel.Release(sg,REASON_COST)
end end
function c22586618.negtg(e,tp,eg,ep,ev,re,r,rp,chk) function c22586618.negtg(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