Commit 76084e1c authored by POLYMER's avatar POLYMER

fix

parent df94dfcf
...@@ -6505,6 +6505,10 @@ ...@@ -6505,6 +6505,10 @@
90720631 0 90720631 0
91030028 0 91030028 0
98942060 0 98942060 0
53797149 0
53797150 0
53797151 0
53797152 0
#limit #limit
33403513 1 33403513 1
82204250 0 82204250 0
......
...@@ -54,12 +54,12 @@ function c21113900.check_or_add_new_limit(add_or_not) ...@@ -54,12 +54,12 @@ function c21113900.check_or_add_new_limit(add_or_not)
end end
local ag = Duel.GetFieldGroup(0,0xff,0xff) local ag = Duel.GetFieldGroup(0,0xff,0xff)
for tc in aux.Next(ag) do for tc in aux.Next(ag) do
if tc:IsHasEffect(tp,EFFECT_CANNOT_TRIGGER) then if tc:IsHasEffect(EFFECT_CANNOT_TRIGGER) then
local limit_table = {tc:IsHasEffect(EFFECT_CANNOT_TRIGGER)} local limit_table = {tc:IsHasEffect(EFFECT_CANNOT_TRIGGER)}
for _, limit_effect in ipairs(limit_table) do for _, limit_effect in ipairs(limit_table) do
if c21113900.record_doesnot_contain(record_redirect,limit_effect) then if c21113900.record_doesnot_contain(record_limit_trigger,limit_effect) then
if add_or_not then if add_or_not then
table.insert(record_redirect,limit_effect) table.insert(record_limit_trigger,limit_effect)
table.insert(resolve_table,limit_effect) table.insert(resolve_table,limit_effect)
end end
is_new_limit = true is_new_limit = true
...@@ -158,4 +158,15 @@ function c21113900.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -158,4 +158,15 @@ function c21113900.op(e,tp,eg,ep,ev,re,r,rp)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e2:SetTarget(c21113900.ssplimit)
e2:SetReset(RESET_PHASE+PHASE_END)
e2:SetTargetRange(1,0)
Duel.RegisterEffect(e2,tp)
end
function c21113900.ssplimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0xc914)
end end
\ No newline at end of file
...@@ -163,7 +163,7 @@ end ...@@ -163,7 +163,7 @@ end
function c28335633.desop(e,tp,eg,ep,ev,re,r,rp) function c28335633.desop(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject() local g=e:GetLabelObject()
local tg=g:Filter(c28335633.desfilter,nil,e:GetLabel()) local tg=g:Filter(c28335633.desfilter,nil,e:GetLabel())
g:DeleteGroup() --g:DeleteGroup()
Duel.Destroy(tg,REASON_EFFECT) Duel.Destroy(tg,REASON_EFFECT)
end end
function c28335633.tdcon(e,tp,eg,ep,ev,re,r,rp) function c28335633.tdcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -26,7 +26,7 @@ function c71000173.initial_effect(c) ...@@ -26,7 +26,7 @@ function c71000173.initial_effect(c)
e4:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e4:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetRange(LOCATION_MZONE) e4:SetRange(LOCATION_MZONE)
e4:SetAbsoluteRange(tp,1,0) e4:SetTargetRange(1,0)
e4:SetTarget(c71000173.splimit) e4:SetTarget(c71000173.splimit)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
......
...@@ -310,7 +310,7 @@ ...@@ -310,7 +310,7 @@
!setname 0x3f1d 龙族骑士 !setname 0x3f1d 龙族骑士
!setname 0x4f1d 时隙淑女 !setname 0x4f1d 时隙淑女
!setname 0x5f1d 共心龙 !setname 0x5f1d 共心龙
!setname 0x6f1d 连波 !setname 0x6f1d 仁龙融骑
!setname 0xaf1d 阿尔弗雷德 !setname 0xaf1d 阿尔弗雷德
!setname 0xbf1d 狂风 !setname 0xbf1d 狂风
!setname 0xcf1d 暗魔 !setname 0xcf1d 暗魔
......
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