Commit 9ff38e69 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 9770d490
......@@ -36,6 +36,7 @@ function c50424425.initial_effect(c)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_ATTACK_ANNOUNCE)
e4:SetRange(LOCATION_SZONE)
e4:SetCountLimit(1,50424425)
e4:SetCondition(c50424425.accon)
e4:SetTarget(c50424425.actg)
e4:SetOperation(c50424425.acop)
......@@ -46,7 +47,7 @@ function c50424425.initial_effect(c)
e5:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e5:SetCode(EVENT_TO_GRAVE)
e5:SetProperty(EFFECT_FLAG_DELAY)
e5:SetCountLimit(1,50424425)
e5:SetCountLimit(1,50424425+1)
e5:SetCondition(c50424425.hdcon)
e5:SetTarget(c50424425.hdtg)
e5:SetOperation(c50424425.hdop)
......
......@@ -47,7 +47,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(c,nil,2,REASON_EFFECT)
end
end
if Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
if aux.NegateSummonCondition()
and Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
Duel.NegateSummon(eg)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
Duel.Destroy(eg,REASON_EFFECT)
......
......@@ -41,7 +41,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(c,nil,2,REASON_EFFECT)
end
end
if Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
if Duel.IsChainNegatable(ev)
and Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
Duel.NegateActivation(ev)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
if re:GetHandler():IsRelateToEffect(re) then
......
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