Commit c3e56102 authored by 聖園ミカ's avatar 聖園ミカ 🐟

54188

parent e12ec93c
Pipeline #30588 passed with stages
in 32 minutes and 21 seconds
...@@ -6,6 +6,14 @@ function s.initial_effect(c) ...@@ -6,6 +6,14 @@ function s.initial_effect(c)
--synchro summon --synchro summon
aux.AddSynchroProcedure(c,s.synfilter,aux.NonTuner(s.synfilter),1) aux.AddSynchroProcedure(c,s.synfilter,aux.NonTuner(s.synfilter),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--change effect type
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e0:SetCode(id)
e0:SetRange(LOCATION_MZONE)
e0:SetTargetRange(1,0)
c:RegisterEffect(e0)
--handes --handes
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0)) e1:SetDescription(aux.Stringid(id,0))
...@@ -36,17 +44,6 @@ function s.initial_effect(c) ...@@ -36,17 +44,6 @@ function s.initial_effect(c)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetOperation(s.op) e3:SetOperation(s.op)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--sp
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EVENT_SUMMON_SUCCESS)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetOperation(s.spop)
c:RegisterEffect(e4)
local e5=e4:Clone()
e5:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e5)
end end
s.combination2={} s.combination2={}
s.combination2[1]=aux.CreateChecks(Card.IsCode,{79250029,79250031}) s.combination2[1]=aux.CreateChecks(Card.IsCode,{79250029,79250031})
...@@ -146,6 +143,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -146,6 +143,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1:SetTarget(s.splimit) e1:SetTarget(s.splimit)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
Debug.Message("没有什么,能比明确的事实更具欺骗性。")
Debug.Message("翡翠般的道路依然闪烁着美丽的光芒。")
end end
function s.splimit(e,c) function s.splimit(e,c)
return c.setcard~="Abnormality" return c.setcard~="Abnormality"
...@@ -160,13 +159,13 @@ function s.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -160,13 +159,13 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL) e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetValue(math.ceil(tc:GetBaseAttack()/2)) e1:SetValue(math.ceil(tc:GetBaseAttack()/2))
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_CHAIN) e1:SetCondition(s.con)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
tc=g:GetNext() tc=g:GetNext()
end end
end end
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.con(e,tp,eg,ep,ev,re,r,rp)
Debug.Message("没有什么,能比明确的事实更具欺骗性。") return Duel.IsPlayerAffectedByEffect(tp,id)
Debug.Message("翡翠般的道路依然闪烁着美丽的光芒。")
end end
\ No newline at end of file
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