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

str

parent da84f04e
--纯白花嫁 希儿 --纯白花嫁 希儿
local m=75646970 local m=75646970
local cm=_G["c"..m] local cm=_G["c"..m]
Duel.LoadScript("c33503600.lua")
cm.dfc_front_side=m cm.dfc_front_side=m
cm.dfc_back_side=m+1 cm.dfc_back_side=m+1
cm.code=75646970 cm.code=75646970
...@@ -77,33 +78,8 @@ end ...@@ -77,33 +78,8 @@ end
function cm.spop(e,tp,eg,ep,ev,re,r,rp) function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.GetMZoneCount(tp)>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,m+1,0xa2c2,0x21,2800,2000,8,RACE_PSYCHO,ATTRIBUTE_WATER) then if c:IsRelateToEffect(e) and Duel.GetMZoneCount(tp)>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,m+1,0xa2c2,0x21,2800,2000,8,RACE_PSYCHO,ATTRIBUTE_WATER) then
Duel.SpecialSummonStep(c,0,tp,tp,false,false,POS_FACEUP) if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 and Suyu_bh.c_code(c) then
local e1=Effect.CreateEffect(e:GetHandler()) Suyu_bh.changecode(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) end
e1:SetCode(EVENT_MOVE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_SET_AVAILABLE)
e1:SetCountLimit(1)
e1:SetLabel(c.dfc_front_side)
e1:SetCondition(cm.backon)
e1:SetOperation(cm.backop)
c:RegisterEffect(e1)
local tcode=c.dfc_back_side
c:SetEntityCode(tcode,true)
c:ReplaceEffect(tcode,RESET_EVENT+0x7e0000)
c:RegisterFlagEffect(m,0,0,0)
Duel.SpecialSummonComplete()
end end
end
function cm.backon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return e:GetHandler():GetFlagEffect(m)>0
end
function cm.backop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tcode=e:GetLabel()
c:SetEntityCode(tcode)
Duel.ConfirmCards(tp,Group.FromCards(c))
Duel.ConfirmCards(1-tp,Group.FromCards(c))
c:ReplaceEffect(tcode,0,0)
c:ResetFlagEffect(m)
end end
\ No newline at end of file
...@@ -3,6 +3,9 @@ local m=75646971 ...@@ -3,6 +3,9 @@ local m=75646971
local cm=_G["c"..m] local cm=_G["c"..m]
cm.dfc_front_side=m-1 cm.dfc_front_side=m-1
cm.dfc_back_side=m cm.dfc_back_side=m
Duel.LoadScript("c33503600.lua")
cm.code=75646970
cm.side_code=75646971
function cm.initial_effect(c) function cm.initial_effect(c)
-- --
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -23,6 +26,11 @@ function cm.initial_effect(c) ...@@ -23,6 +26,11 @@ function cm.initial_effect(c)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetOperation(cm.chainop) e2:SetOperation(cm.chainop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--
if not rk.Side_Check then
rk.Side_Check=true
local ce=rk.side_do(c)
end
end end
function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsControler(1-tp) end if chkc then return chkc:IsLocation(LOCATION_ONFIELD) and chkc:IsControler(1-tp) end
......
...@@ -9,7 +9,6 @@ function cm.initial_effect(c) ...@@ -9,7 +9,6 @@ function cm.initial_effect(c)
--overlay --overlay
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAINING)
...@@ -24,7 +23,7 @@ function cm.initial_effect(c) ...@@ -24,7 +23,7 @@ function cm.initial_effect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_ATTACK_ANNOUNCE) e3:SetCode(EVENT_ATTACK_ANNOUNCE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE) e3:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE)
e3:SetCondition(cm.descon) e3:SetCondition(cm.descon)
e3:SetCost(cm.descost) e3:SetCost(cm.descost)
e3:SetTarget(cm.destg) e3:SetTarget(cm.destg)
......
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