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)
e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,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))
end
s.chain_id_scl[cct] = op
......
......@@ -67,6 +67,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,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))
end
s.chain_id_scl[cct] = op
......
......@@ -64,6 +64,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,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))
end
s.chain_id_scl[cct] = op
......
......@@ -82,6 +82,16 @@ function s.mixtg(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetCategory(ctgy)
Duel.Hint(HINT_OPSELECTED,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))
end
s.chain_id_scl[cct] = op
......
......@@ -14,7 +14,6 @@ function s.initial_effect(c)
end
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_NORMALSUMMON)==0 end
Duel.DiscardDeck(tp,1,REASON_COST)
--oath effects
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
......
......@@ -280,12 +280,13 @@ function s.SynMixCondition(e,c,smat,mg1,min,max)
aux.GCheckAdditional=nil
SNNM.SubGroupParams={}
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
function s.ntfilter(c,sc,mg)
return s.TunerCheck(c,sc) and mg:IsExists(s.NotTunerCheck,1,c,sc)
end
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 smat and not g:IsContains(smat) 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)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
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:SetTargetRange(1,0)
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