Commit 22514f9f authored by 聖園ミカ's avatar 聖園ミカ 🐟

114514

parent df860ef4
...@@ -1622,10 +1622,6 @@ ...@@ -1622,10 +1622,6 @@
#666 #666
66600000 0 --夜行的领路人 滑头鬼 66600000 0 --夜行的领路人 滑头鬼
66660010 2 --幻星集 命运之轮 66660010 2 --幻星集 命运之轮
<<<<<<< HEAD
=======
66600000 0 --夜行的领路人 滑头鬼
>>>>>>> 40fd02d936bd7b86b7dd0c4175e25ea5dc8495b6
#669 #669
66911000 0 --寒灵刻使 雾水 66911000 0 --寒灵刻使 雾水
66912000 1 --Unicorn Gundam 66912000 1 --Unicorn Gundam
......
...@@ -23,7 +23,7 @@ function s.initial_effect(c) ...@@ -23,7 +23,7 @@ function s.initial_effect(c)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e4:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE)
e4:SetTarget(s.sptg) e4:SetTarget(s.sptg)
e4:SetOperation(s.spop) e4:SetOperation(s.spop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
...@@ -32,7 +32,7 @@ function s.initial_effect(c) ...@@ -32,7 +32,7 @@ function s.initial_effect(c)
e6:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e6:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e6:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e6:SetCode(EVENT_SUMMON_SUCCESS) e6:SetCode(EVENT_SUMMON_SUCCESS)
e6:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e6:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE)
e6:SetTarget(s.sptg) e6:SetTarget(s.sptg)
e6:SetOperation(s.spop) e6:SetOperation(s.spop)
c:RegisterEffect(e6) c:RegisterEffect(e6)
......
...@@ -23,7 +23,7 @@ function s.initial_effect(c) ...@@ -23,7 +23,7 @@ function s.initial_effect(c)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e4:SetCode(EVENT_SPSUMMON_SUCCESS) e4:SetCode(EVENT_SPSUMMON_SUCCESS)
e4:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e4:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE)
e4:SetTarget(s.sptg) e4:SetTarget(s.sptg)
e4:SetOperation(s.spop) e4:SetOperation(s.spop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
...@@ -32,7 +32,7 @@ function s.initial_effect(c) ...@@ -32,7 +32,7 @@ function s.initial_effect(c)
e41:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e41:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e41:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e41:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e41:SetCode(EVENT_SUMMON_SUCCESS) e41:SetCode(EVENT_SUMMON_SUCCESS)
e41:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e41:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE)
e41:SetTarget(s.sptg) e41:SetTarget(s.sptg)
e41:SetOperation(s.spop) e41:SetOperation(s.spop)
c:RegisterEffect(e41) c:RegisterEffect(e41)
......
--D.H.P.K.-奈娜 --D.H.P.K.-奈娜
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
if not s.global_flag then --act limit
s.global_flag=true local e1=Effect.CreateEffect(c)
--act limit e1:SetType(EFFECT_TYPE_SINGLE)
local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EEFFECT_FLAG_CAN_FORBIDDEN)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetRange(0xff)
e1:SetTargetRange(0xff,0xff) e1:SetCondition(s.actcon)
e1:SetTarget(s.disable) c:RegisterEffect(e1)
Duel.RegisterEffect(e1,0)
end
--search --search
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(1109) e2:SetDescription(1109)
...@@ -36,12 +34,9 @@ function s.initial_effect(c) ...@@ -36,12 +34,9 @@ function s.initial_effect(c)
e3:SetOperation(s.spop) e3:SetOperation(s.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
s.limt_name_hpk=id function s.actcon(e)
function s.disable(e,c) local tp=e:GetHandlerPlayer()
if c.limt_name_hpk~=id then return end return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
......
...@@ -4,23 +4,22 @@ function s.initial_effect(c) ...@@ -4,23 +4,22 @@ function s.initial_effect(c)
--Synchro summon --Synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit() c:EnableReviveLimit()
if not s.global_flag then --act limit
s.global_flag=true local e1=Effect.CreateEffect(c)
--act limit e1:SetType(EFFECT_TYPE_SINGLE)
local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetRange(0xff)
e1:SetTargetRange(0xff,0xff) e1:SetCondition(s.actcon)
e1:SetTarget(s.disable) c:RegisterEffect(e1)
Duel.RegisterEffect(e1,0) --disable
--disable local e2=Effect.CreateEffect(c)
local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e2:SetTargetRange(0xff,0xff) e2:SetRange(LOCATION_MZONE)
e2:SetTarget(s.disable) e2:SetCode(EFFECT_DISABLE)
e2:SetCode(EFFECT_DISABLE) e2:SetCondition(s.actcon)
Duel.RegisterEffect(e2,0) c:RegisterEffect(e2)
end
-- --
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,0)) e3:SetDescription(aux.Stringid(id,0))
...@@ -42,17 +41,10 @@ function s.initial_effect(c) ...@@ -42,17 +41,10 @@ function s.initial_effect(c)
e4:SetOperation(s.thop) e4:SetOperation(s.thop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
s.limt_name_hpk=id
function s.actcon(e) function s.actcon(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.disable(e,c)
if c.limt_name_hpk~=id then return end
local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
end end
......
...@@ -14,6 +14,14 @@ function s.initial_effect(c) ...@@ -14,6 +14,14 @@ function s.initial_effect(c)
e2:SetCode(EFFECT_SPSUMMON_CONDITION) e2:SetCode(EFFECT_SPSUMMON_CONDITION)
e2:SetValue(aux.FALSE) e2:SetValue(aux.FALSE)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--act limit
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e3:SetCode(EFFECT_CANNOT_TRIGGER)
e3:SetRange(0xff)
e3:SetCondition(s.actcon)
c:RegisterEffect(e3)
--flip --flip
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetDescription(1131) e4:SetDescription(1131)
...@@ -35,23 +43,10 @@ function s.initial_effect(c) ...@@ -35,23 +43,10 @@ function s.initial_effect(c)
e5:SetTarget(s.sptg) e5:SetTarget(s.sptg)
e5:SetOperation(s.spop) e5:SetOperation(s.spop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
if not s.global_flag then
s.global_flag=true
--act limit
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CANNOT_TRIGGER)
e3:SetTargetRange(0xff,0xff)
e3:SetTarget(s.disable)
Duel.RegisterEffect(e3,0)
end
end end
s.limt_name_hpk=id function s.actcon(e)
function s.disable(e,c) local tp=e:GetHandlerPlayer()
if c.limt_name_hpk~=id then return end return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
......
...@@ -4,23 +4,22 @@ function s.initial_effect(c) ...@@ -4,23 +4,22 @@ function s.initial_effect(c)
--xyz summon --xyz summon
aux.AddXyzProcedure(c,nil,114,514,s.ovfilter,aux.Stringid(id,0),1919,s.xyzop) aux.AddXyzProcedure(c,nil,114,514,s.ovfilter,aux.Stringid(id,0),1919,s.xyzop)
c:EnableReviveLimit() c:EnableReviveLimit()
if not s.global_flag then --act limit
s.global_flag=true local e1=Effect.CreateEffect(c)
--act limit e1:SetType(EFFECT_TYPE_SINGLE)
local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetRange(0xff)
e1:SetTargetRange(0xff,0xff) e1:SetCondition(s.actcon)
e1:SetTarget(s.disable) c:RegisterEffect(e1)
Duel.RegisterEffect(e1,0) --disable
--disable local e2=Effect.CreateEffect(c)
local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e2:SetTargetRange(0xff,0xff) e2:SetRange(LOCATION_MZONE)
e2:SetTarget(s.disable) e2:SetCode(EFFECT_DISABLE)
e2:SetCode(EFFECT_DISABLE) e2:SetCondition(s.actcon)
Duel.RegisterEffect(e2,0) c:RegisterEffect(e2)
end
--atk --atk
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
...@@ -45,15 +44,12 @@ function s.initial_effect(c) ...@@ -45,15 +44,12 @@ function s.initial_effect(c)
Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter) Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter) Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end end
s.limt_name_hpk=id
function s.counterfilter(c) function s.counterfilter(c)
return c:IsSetCard(0x5a71) return c:IsSetCard(0x5a71)
end end
function s.disable(e,c) function s.actcon(e)
if c.limt_name_hpk~=id then return end local tp=e:GetHandlerPlayer()
local tp=c:GetControler() return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
......
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