Commit 91568aea authored by POLYMER's avatar POLYMER

fix

parent 4b8db707
No preview for this file type
...@@ -146,13 +146,13 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -146,13 +146,13 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end end
end end
if KOISHI_CHECK then if KOISHI_CHECK then
Duel.ResetTimeLimit(0,360) Duel.ResetTimeLimit(0,600)
Duel.ResetTimeLimit(1,360) Duel.ResetTimeLimit(1,600)
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_PHASE_START+PHASE_DRAW) e0:SetCode(EVENT_PHASE_START+PHASE_DRAW)
e0:SetCountLimit(1) e0:SetCountLimit(1)
e0:SetOperation(function() Duel.ResetTimeLimit(0,360) Duel.ResetTimeLimit(1,360) end) e0:SetOperation(function() Duel.ResetTimeLimit(0,600) Duel.ResetTimeLimit(1,600) end)
Duel.RegisterEffect(e0,0) Duel.RegisterEffect(e0,0)
end end
local ag=Duel.GetMatchingGroup(cm.nnfilter,0,0xff,0xff,nil) local ag=Duel.GetMatchingGroup(cm.nnfilter,0,0xff,0xff,nil)
......
--无名绝路
local cm,m=GetID()
function cm.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(cm.target)
e1:SetOperation(cm.op)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetDescription(aux.Stringid(m,0))
e2:SetRange(LOCATION_DECK)
e2:SetCondition(cm.condition)
e2:SetCost(cm.cost)
--c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_PHASE_START+PHASE_DRAW)
e3:SetRange(LOCATION_DECK)
e3:SetOperation(cm.op2)
--c:RegisterEffect(e3)
local e6=e3:Clone()
e6:SetCode(EVENT_PHASE_START+PHASE_STANDBY)
--c:RegisterEffect(e6)
local e7=e3:Clone()
e7:SetCode(EVENT_PHASE_START+PHASE_MAIN1)
--c:RegisterEffect(e7)
local e8=e3:Clone()
e8:SetCode(EVENT_PHASE+PHASE_BATTLE_START)
e8:SetCondition(cm.con2)
--c:RegisterEffect(e8)
local e9=e3:Clone()
e9:SetCode(EVENT_PHASE_START+PHASE_MAIN2)
--c:RegisterEffect(e9)
local e10=e3:Clone()
e10:SetCode(EVENT_PHASE_START+PHASE_END)
--c:RegisterEffect(e10)
local e11=e3:Clone()
e11:SetCode(EVENT_FREE_CHAIN)
e11:SetCondition(cm.condition)
c:RegisterEffect(e11)
local e2=e1:Clone()
e2:SetDescription(aux.Stringid(m,0))
e2:SetRange(LOCATION_DECK)
e2:SetCondition(cm.condition)
e2:SetCost(cm.cost)
--c:RegisterEffect(e2)
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetCode(EFFECT_ACTIVATE_COST)
e4:SetRange(LOCATION_DECK)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetTargetRange(1,0)
e4:SetTarget(cm.actarget)
e4:SetOperation(cm.costop)
c:RegisterEffect(e4)
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_FIELD)
e5:SetCode(EFFECT_SPSUMMON_PROC_G)
e5:SetRange(LOCATION_DECK)
e5:SetCondition(cm.condition)
c:RegisterEffect(e5)
if not cm.global_check then
cm.global_check=true
cm.activate_sequence={}
local _GetActivateLocation=Effect.GetActivateLocation
local _GetActivateSequence=Effect.GetActivateSequence
local _NegateActivation=Duel.NegateActivation
function Effect.GetActivateLocation(e)
if e:GetDescription()==aux.Stringid(m,0) then
return _GetActivateLocation(e)
end
return _GetActivateLocation(e)
end
function Effect.GetActivateSequence(e)
if e:GetDescription()==aux.Stringid(m,0) then
return cm.activate_sequence[e]
end
return _GetActivateSequence(e)
end
function Duel.NegateActivation(ev)
local re=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_EFFECT)
local res=_NegateActivation(ev)
if res and aux.GetValueType(re)=="Effect" then
local rc=re:GetHandler()
if rc and rc:IsRelateToEffect(re) and not (rc:IsOnField() and rc:IsFacedown()) and re:GetDescription()==aux.Stringid(m,0) then
rc:SetStatus(STATUS_ACTIVATE_DISABLED,true)
end
end
return res
end
end
end
function cm.actarget(e,te,tp)
e:SetLabelObject(te)
return te:GetHandler()==e:GetHandler() and te:IsHasType(EFFECT_TYPE_ACTIVATE)
end
function cm.costop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local te=e:GetLabelObject()
Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,false)
cm.activate_sequence[te]=c:GetSequence()
c:CreateEffectRelation(te)
local ev0=Duel.GetCurrentChain()+1
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetCode(EVENT_CHAIN_SOLVED)
e1:SetCountLimit(1)
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return ev==ev0 end)
e1:SetOperation(cm.rsop)
e1:SetReset(RESET_CHAIN)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EVENT_CHAIN_NEGATED)
Duel.RegisterEffect(e2,tp)
end
function cm.rsop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
if e:GetCode()==EVENT_CHAIN_SOLVED and rc:IsRelateToEffect(re) then
rc:SetStatus(STATUS_EFFECT_ENABLED,true)
end
if e:GetCode()==EVENT_CHAIN_NEGATED and rc:IsRelateToEffect(re) and not (rc:IsOnField() and rc:IsFacedown()) then
rc:SetStatus(STATUS_ACTIVATE_DISABLED,true)
end
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 and not Duel.CheckPhaseActivity() and Duel.GetCurrentChain()==0
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
g:RemoveCard(e:GetHandler())
return #g>0 and g:FilterCount(Card.IsAbleToDeckAsCost,nil)==#g
end
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
Duel.SendtoDeck(g,nil,2,REASON_COST)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
--Debug.Message(e:GetActivateLocation())
--if e:IsHasType(EFFECT_TYPE_ACTIVATE) then Duel.SetChainLimit(aux.FALSE) end
end
function cm.op(e,tp,eg,ep,ev,re,r,rp)
local e0=Effect.CreateEffect(e:GetHandler())
e0:SetDescription(aux.Stringid(m,0))
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_PHASE+PHASE_END)
e0:SetCountLimit(1)
e0:SetReset(RESET_PHASE+PHASE_END)
e0:SetOperation(cm.spop)
Duel.RegisterEffect(e0,tp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_ADJUST)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetLabelObject(e0)
e1:SetCondition(function(e,tp) return Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)==0 end)
e1:SetOperation(cm.drop)
Duel.RegisterEffect(e1,tp)
end
function cm.con2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
return #g>0 and g:FilterCount(Card.IsAbleToDeckAsCost,nil)==#g and Duel.GetFlagEffect(tp,m)==0
end
function cm.op2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
local cp=Duel.GetCurrentPhase()
local tab={[1]=1,[2]=2,[4]=3,[8]=4,[256]=5,[512]=6}
if #g>0 and g:FilterCount(Card.IsAbleToDeckAsCost,nil)==#g and c:IsAbleToRemove() and Duel.GetFlagEffect(tp,m)==0 then
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+Duel.GetCurrentPhase(),0,1)
--if Duel.SelectYesNo(tp,aux.Stringid(m,tab[cp])) then
Duel.SendtoDeck(g,nil,2,REASON_COST)
Duel.Remove(c,POS_FACEUP,REASON_RULE)
cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel.AdjustAll()
--end
end
end
function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local phase=Duel.GetCurrentPhase()
local c=e:GetHandler()
if (phase==PHASE_DAMAGE and not Duel.IsDamageCalculated()) or phase==PHASE_DAMAGE_CAL then return end
Duel.Draw(tp,1,REASON_EFFECT)
local lab=e:GetLabelObject():GetLabel()
e:GetLabelObject():SetLabel(lab+1)
Duel.Readjust()
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(tp,Duel.GetLP(tp)-2000*e:GetLabel())
end
\ No newline at end of file
...@@ -119,7 +119,7 @@ function cm.limop(e,tp,eg,ep,ev,re,r,rp) ...@@ -119,7 +119,7 @@ function cm.limop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1) e:GetHandler():RegisterFlagEffect(m,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAIN_ACTIVATING) e1:SetCode(EVENT_CHAINING)
e1:SetOperation(cm.resetop) e1:SetOperation(cm.resetop)
e1:SetReset(RESET_CHAIN) e1:SetReset(RESET_CHAIN)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
......
...@@ -67,8 +67,12 @@ end ...@@ -67,8 +67,12 @@ end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return not eg:IsContains(e:GetHandler()) return not eg:IsContains(e:GetHandler())
end end
local _IsCanTurnSet=Card.IsCanTurnSet
function Card.IsCanTurnSet(c)
return (c:IsSSetable(true) and c:IsLocation(LOCATION_SZONE)) or ((_IsCanTurnSet(c) and not c:IsLocation(LOCATION_SZONE)))
end
function cm.dsfilter(c) function cm.dsfilter(c)
return c:IsFaceup() and (c:IsCanTurnSet() or (c:IsSSetable(true) and c:IsLocation(LOCATION_SZONE))) return c:IsFaceup() and c:IsCanTurnSet()
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -196,8 +196,12 @@ function cm.nnfilter(c,tc) ...@@ -196,8 +196,12 @@ function cm.nnfilter(c,tc)
local loc=tc:GetLocation() local loc=tc:GetLocation()
return c==tc or (s<5 and seq<5 and math.abs(seq-s)<=1 and c:IsControler(tp) and c:IsLocation(loc)) return c==tc or (s<5 and seq<5 and math.abs(seq-s)<=1 and c:IsControler(tp) and c:IsLocation(loc))
end end
local _IsCanTurnSet=Card.IsCanTurnSet
function Card.IsCanTurnSet(c)
return (c:IsSSetable(true) and c:IsLocation(LOCATION_SZONE)) or ((_IsCanTurnSet(c) and not c:IsLocation(LOCATION_SZONE)))
end
function cm.dsfilter(c) function cm.dsfilter(c)
return c:IsFaceup() and (c:IsCanTurnSet() or (c:IsSSetable(true) and c:IsLocation(LOCATION_SZONE))) return c:IsFaceup() and c:IsCanTurnSet()
end end
function cm.tfilter(c) function cm.tfilter(c)
return c:IsFacedown() and c:IsOnField() return c:IsFacedown() and c:IsOnField()
......
...@@ -130,7 +130,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -130,7 +130,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
end end
local op0=e:GetOperation() or (function() end) local op0=e:GetOperation() or (function() end)
local prop1,prop2=e:GetProperty() local prop1,prop2=e:GetProperty()
te:SetProperty(prop1|EFFECT_FLAG_CANNOT_DISABLE|EFFECT_FLAG_UNCOPYABLE,prop2) te:SetProperty(prop1|EFFECT_FLAG_CANNOT_DISABLE|EFFECT_FLAG_CANNOT_INACTIVATE,prop2)
local op2=function(e,tp,eg,ep,ev,re,r,rp) local op2=function(e,tp,eg,ep,ev,re,r,rp)
e:SetOperation(op0) e:SetOperation(op0)
op0(e,tp,eg,ep,ev,re,r,rp) op0(e,tp,eg,ep,ev,re,r,rp)
...@@ -238,7 +238,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -238,7 +238,7 @@ function cm.costop2(e,tp,eg,ep,ev,re,r,rp)
end end
elseif sel==2 then elseif sel==2 then
cm[tp]=cm[tp]-4 cm[tp]=cm[tp]-4
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,2) Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
if not cm.reg then if not cm.reg then
cm.reg=true cm.reg=true
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -34,7 +34,7 @@ function cm.initial_effect(c) ...@@ -34,7 +34,7 @@ function cm.initial_effect(c)
e4:SetType(EFFECT_TYPE_QUICK_O) e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN) e4:SetCode(EVENT_FREE_CHAIN)
e4:SetRange(LOCATION_MZONE) e4:SetRange(LOCATION_MZONE)
e4:SetCost(cm.xcost) --e4:SetCost(cm.xcost)
e4:SetTarget(cm.xtg) e4:SetTarget(cm.xtg)
e4:SetOperation(cm.xop) e4:SetOperation(cm.xop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
...@@ -112,11 +112,11 @@ end ...@@ -112,11 +112,11 @@ end
function cm.xtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.xtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then if chk==0 then
if e:GetLabel()~=100 then return false end --if e:GetLabel()~=100 then return false end
e:SetLabel(0) --e:SetLabel(0)
local b1=(c:IsCanRemoveCounter(tp,0xfc,2,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,0,1,c)) local b1=(c:IsCanRemoveCounter(tp,0xfc,2,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,0,1,c))
local b2=(c:IsCanRemoveCounter(tp,0xfc,3,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,LOCATION_GRAVE+LOCATION_MZONE,1,c)) local b2=(c:IsCanRemoveCounter(tp,0xfc,3,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,LOCATION_GRAVE+LOCATION_MZONE,1,c))
return b1 or b2 return e:IsCostChecked() and (b1 or b2)
end end
local b1=(c:IsCanRemoveCounter(tp,0xfc,2,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,0,1,c)) local b1=(c:IsCanRemoveCounter(tp,0xfc,2,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,0,1,c))
local b2=(c:IsCanRemoveCounter(tp,0xfc,3,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,LOCATION_GRAVE+LOCATION_MZONE,1,c)) local b2=(c:IsCanRemoveCounter(tp,0xfc,3,REASON_COST) and Duel.IsExistingMatchingCard(cm.xfilter,tp,LOCATION_GRAVE+LOCATION_MZONE,LOCATION_GRAVE+LOCATION_MZONE,1,c))
......
...@@ -106,7 +106,7 @@ function c28318027.rsop(e,tp,eg,ep,ev,re,r,rp) ...@@ -106,7 +106,7 @@ function c28318027.rsop(e,tp,eg,ep,ev,re,r,rp)
local xlv=c:GetFlagEffectLabel(28318027) local xlv=c:GetFlagEffectLabel(28318027)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_RANK_FINAL) e1:SetCode(EFFECT_CHANGE_RANK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(xlv) e1:SetValue(xlv)
......
...@@ -109,7 +109,7 @@ function c28318749.rsop(e,tp,eg,ep,ev,re,r,rp) ...@@ -109,7 +109,7 @@ function c28318749.rsop(e,tp,eg,ep,ev,re,r,rp)
local xlv=c:GetFlagEffectLabel(28318749) local xlv=c:GetFlagEffectLabel(28318749)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_RANK_FINAL) e1:SetCode(EFFECT_CHANGE_RANK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(xlv) e1:SetValue(xlv)
......
...@@ -127,7 +127,7 @@ function c28322413.rsop(e,tp,eg,ep,ev,re,r,rp) ...@@ -127,7 +127,7 @@ function c28322413.rsop(e,tp,eg,ep,ev,re,r,rp)
local xlv=c:GetFlagEffectLabel(28322413) local xlv=c:GetFlagEffectLabel(28322413)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_RANK_FINAL) e1:SetCode(EFFECT_CHANGE_RANK)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(xlv) e1:SetValue(xlv)
......
This diff is collapsed.
This diff is collapsed.
local m=53752007 local m=53752007
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="仇恨之安妮" cm.name="仇恨之安妮"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
......
local m=53752008 local m=53752008
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="荣誉之瓦萨" cm.name="荣誉之瓦萨"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
......
local m=53752009 local m=53752009
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="压迫之斯考皮恩" cm.name="压迫之斯考皮恩"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
......
local m=53752010 local m=53752010
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="守护之罗斯" cm.name="守护之罗斯"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
......
local m=53752011 local m=53752011
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="庄重之戈登堡" cm.name="庄重之戈登堡"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
......
local m=53752012 local m=53752012
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="宏伟之泰坦" cm.name="宏伟之泰坦"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
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_DECKDES+CATEGORY_ATKCHANGE) e1:SetCategory(CATEGORY_DECKDES+CATEGORY_ATKCHANGE)
......
local m=53752013 local m=53752013
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="破灭之阿尔坎" cm.name="破灭之阿尔坎"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
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_DECKDES) e1:SetCategory(CATEGORY_DECKDES)
......
local m=53752014 local m=53752014
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="无名天际领航者" cm.name="无名天际领航者"
cm.NecroceanSyn=true
--cm.GuyWildCard=true
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53752002") end) then require("script/c53752002") end
function cm.initial_effect(c) function cm.initial_effect(c)
SNNM.NecroceanSynchro(c) Necrocean.AddSynchroMixProcedure(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetType(EFFECT_TYPE_QUICK_O)
......
...@@ -50,7 +50,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,7 +50,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SYNCHRO_MATERIAL) e1:SetCode(EFFECT_EXTRA_SYNCHRO_MATERIAL)
e1:SetOwnerPlayer(tp)
e1:SetValue(cm.matval)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1) tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -76,6 +78,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,6 +78,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
end end
function cm.matval(e,c)
return c:IsControler(e:GetOwnerPlayer())
end
function cm.descon(e,tp,eg,ep,ev,re,r,rp) function cm.descon(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject() local tc=e:GetLabelObject()
if tc:GetFlagEffectLabel(m)==e:GetLabel() then if tc:GetFlagEffectLabel(m)==e:GetLabel() then
......
if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end
local m=53752019 local m=53752019
local cm=_G["c"..m] local cm=_G["c"..m]
cm.name="莉莉·林德" cm.name="莉莉·林德"
......
...@@ -80,6 +80,13 @@ function Auxiliary.PreloadUds() ...@@ -80,6 +80,13 @@ function Auxiliary.PreloadUds()
table_range[e]=r table_range[e]=r
return _SetRange(e,r,...) return _SetRange(e,r,...)
end end
local _Clone=Effect.Clone
function Effect.Clone(e)
table_range=table_range or {}
local clone_e=_Clone(e)
table_range[clone_e]=r
return clone_e
end
local _IsCanTurnSet=Card.IsCanTurnSet local _IsCanTurnSet=Card.IsCanTurnSet
function Card.IsCanTurnSet(c) function Card.IsCanTurnSet(c)
return (c:IsSSetable(true) and c:IsLocation(LOCATION_SZONE)) or ((_IsCanTurnSet(c) and not c:IsLocation(LOCATION_SZONE))) return (c:IsSSetable(true) and c:IsLocation(LOCATION_SZONE)) or ((_IsCanTurnSet(c) and not c:IsLocation(LOCATION_SZONE)))
......
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