Commit 0c214a9e authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c52700538.lua

parent c992a4c5
--钢钉兄弟会=作业机器人= 达德利·皇帝
local s,id,o=GetID()
function s.initial_effect(c)
s.ex(c)
--Synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
......@@ -14,11 +15,11 @@ function s.initial_effect(c)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(2)
e2:SetCategory(CATEGORY_DESTROY)
e2:SetDescription(1131)
e2:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetCode(EVENT_LEAVE_FIELD)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_TO_GRAVE)
e2:SetCondition(s.thcon)
e2:SetTarget(s.thtg)
e2:SetOperation(s.thop)
......@@ -29,7 +30,7 @@ function s.initial_effect(c)
e4:SetRange(LOCATION_MZONE)
e4:SetCode(EFFECT_LIMIT_SPECIAL_SUMMON_POSITION)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetTargetRange(1,1)
e4:SetTargetRange(0,1)
e4:SetCondition(s.sumcondition)
e4:SetTarget(s.sumlimit)
c:RegisterEffect(e4)
......@@ -38,7 +39,7 @@ function s.initial_effect(c)
e5:SetRange(LOCATION_MZONE)
e5:SetCode(EFFECT_CANNOT_SUMMON)
e5:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e5:SetTargetRange(1,1)
e5:SetTargetRange(0,1)
e5:SetCondition(s.sumcondition)
e5:SetTarget(s.sumlimit)
c:RegisterEffect(e5)
......@@ -47,7 +48,7 @@ function s.initial_effect(c)
e6:SetRange(LOCATION_MZONE)
e6:SetCode(EFFECT_CANNOT_FLIP_SUMMON)
e6:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e6:SetTargetRange(1,1)
e6:SetTargetRange(0,1)
e6:SetCondition(s.sumcondition)
e6:SetTarget(s.sumlimit)
c:RegisterEffect(e6)
......@@ -103,3 +104,16 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
Duel.Readjust()
end
end
function s.ex(c)
--special summon rule
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_EXTRA)
c:RegisterEffect(e1)
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