Commit 93a6a658 authored by mercury233's avatar mercury233 Committed by GitHub

fix RR-ワイズ・ストリクス

parent 6e13e4be
...@@ -21,6 +21,7 @@ function c36429703.initial_effect(c) ...@@ -21,6 +21,7 @@ function c36429703.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetCode(EVENT_CHAINING) e2:SetCode(EVENT_CHAINING)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCondition(c36429703.regcon)
e2:SetOperation(aux.chainreg) e2:SetOperation(aux.chainreg)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
...@@ -73,9 +74,12 @@ function c36429703.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -73,9 +74,12 @@ function c36429703.spop(e,tp,eg,ep,ev,re,r,rp)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
function c36429703.setcon(e,tp,eg,ep,ev,re,r,rp) function c36429703.regcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
return re:IsActiveType(TYPE_XYZ) and rc:IsSetCard(0xba) and rc:IsControler(tp) and e:GetHandler():GetFlagEffect(1)>0 return re:IsActiveType(TYPE_XYZ) and rc:IsSetCard(0xba) and rc:IsControler(tp)
end
function c36429703.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(1)>0
end end
function c36429703.setfilter(c) function c36429703.setfilter(c)
return c:IsSetCard(0x95) and c:IsType(TYPE_SPELL) and c:IsSSetable() return c:IsSetCard(0x95) and c:IsType(TYPE_SPELL) and c:IsSSetable()
......
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