Commit fd9440e9 authored by POLYMER's avatar POLYMER

fix

parent 64d5bb3d
...@@ -68,6 +68,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,6 +68,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(ctgy) e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1))
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1))
if cct >= 7 then
Duel.Hint(HINT_NUMBER,tp,7)
Duel.Hint(HINT_NUMBER,1-tp,7)
elseif cct >= 5 then
Duel.Hint(HINT_NUMBER,tp,5)
Duel.Hint(HINT_NUMBER,1-tp,5)
elseif cct >= 3 then
Duel.Hint(HINT_NUMBER,tp,3)
Duel.Hint(HINT_NUMBER,1-tp,3)
end
c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1)) c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1))
end end
s.chain_id_scl[cct] = op s.chain_id_scl[cct] = op
......
...@@ -67,6 +67,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -67,6 +67,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(ctgy) e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1))
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1))
if cct >= 9 then
Duel.Hint(HINT_NUMBER,tp,9)
Duel.Hint(HINT_NUMBER,1-tp,9)
elseif cct >= 5 then
Duel.Hint(HINT_NUMBER,tp,5)
Duel.Hint(HINT_NUMBER,1-tp,5)
elseif cct >= 3 then
Duel.Hint(HINT_NUMBER,tp,3)
Duel.Hint(HINT_NUMBER,1-tp,3)
end
c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1)) c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1))
end end
s.chain_id_scl[cct] = op s.chain_id_scl[cct] = op
......
...@@ -64,6 +64,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -64,6 +64,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(ctgy) e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1))
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1))
if cct >= 11 then
Duel.Hint(HINT_NUMBER,tp,11)
Duel.Hint(HINT_NUMBER,1-tp,11)
elseif cct >= 5 then
Duel.Hint(HINT_NUMBER,tp,5)
Duel.Hint(HINT_NUMBER,1-tp,5)
elseif cct >= 3 then
Duel.Hint(HINT_NUMBER,tp,3)
Duel.Hint(HINT_NUMBER,1-tp,3)
end
c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1)) c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1))
end end
s.chain_id_scl[cct] = op s.chain_id_scl[cct] = op
......
...@@ -82,6 +82,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,6 +82,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(ctgy) e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,tp,aux.Stringid(id,1))
Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1)) Duel.Hint(HINT_OPSELECTED,1-tp,aux.Stringid(id,1))
if cct >= 13 then
Duel.Hint(HINT_NUMBER,tp,13)
Duel.Hint(HINT_NUMBER,1-tp,13)
elseif cct >= 5 then
Duel.Hint(HINT_NUMBER,tp,5)
Duel.Hint(HINT_NUMBER,1-tp,5)
elseif cct >= 3 then
Duel.Hint(HINT_NUMBER,tp,3)
Duel.Hint(HINT_NUMBER,1-tp,3)
end
c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1)) c:RegisterFlagEffect(0, RESET_CHAIN, EFFECT_FLAG_CLIENT_HINT, 1,0,aux.Stringid(id,1))
end end
s.chain_id_scl[cct] = op s.chain_id_scl[cct] = op
......
...@@ -14,7 +14,6 @@ function s.initial_effect(c) ...@@ -14,7 +14,6 @@ function s.initial_effect(c)
end end
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk) function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_NORMALSUMMON)==0 end if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_NORMALSUMMON)==0 end
Duel.DiscardDeck(tp,1,REASON_COST)
--oath effects --oath effects
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
......
...@@ -280,12 +280,13 @@ function s.SynMixCondition(e,c,smat,mg1,min,max) ...@@ -280,12 +280,13 @@ function s.SynMixCondition(e,c,smat,mg1,min,max)
aux.GCheckAdditional=nil aux.GCheckAdditional=nil
SNNM.SubGroupParams={} SNNM.SubGroupParams={}
Duel.ResetFlagEffect(tp,8173184+1) Duel.ResetFlagEffect(tp,8173184+1)
return res and mg:IsExists(s.ntfilter,1,nil,c,mg) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 return res and mg:IsExists(s.ntfilter,1,nil,c,mg)
end end
function s.ntfilter(c,sc,mg) function s.ntfilter(c,sc,mg)
return s.TunerCheck(c,sc) and mg:IsExists(s.NotTunerCheck,1,c,sc) return s.TunerCheck(c,sc) and mg:IsExists(s.NotTunerCheck,1,c,sc)
end end
function s.syngoal(g,sc,smat,tp,mgchk) function s.syngoal(g,sc,smat,tp,mgchk)
if Duel.GetLocationCountFromEx(tp,tp,g,sc)<=0 then return false end
if not g:IsExists(s.ntfilter,1,nil,sc,g) then return false end if not g:IsExists(s.ntfilter,1,nil,sc,g) then return false end
if smat and not g:IsContains(smat) then return false end if smat and not g:IsContains(smat) then return false end
if not aux.MustMaterialCheck(g,tp,EFFECT_MUST_BE_SMATERIAL) then return false end if not aux.MustMaterialCheck(g,tp,EFFECT_MUST_BE_SMATERIAL) then return false end
......
...@@ -6,7 +6,7 @@ function c98920173.initial_effect(c) ...@@ -6,7 +6,7 @@ function c98920173.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e2:SetRange(LOCATION_PZONE) e2:SetRange(LOCATION_PZONE)
e2:SetTargetRange(1,0) e2:SetTargetRange(1,0)
e2:SetTarget(c98920173.splimit) e2:SetTarget(c98920173.splimit)
......
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