Commit 0f823555 authored by POLYMER's avatar POLYMER

fix

parent 28a17d16
...@@ -159,7 +159,7 @@ function s.seqtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -159,7 +159,7 @@ function s.seqtg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
e:SetLabel(seq) e:SetLabel(seq)
Duel.Hint(HINT_ZONE,tp,flag) Duel.Hint(HINT_ZONE,tp,flag)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,1-tp,LOCATION_ONFIELD) --Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,1-tp,LOCATION_ONFIELD)
end end
function s.checkin(tab,val) function s.checkin(tab,val)
for _,v in ipairs(tab) do for _,v in ipairs(tab) do
......
...@@ -121,9 +121,10 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp) ...@@ -121,9 +121,10 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
if #sg>0 and Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)>0 then if #sg>0 and Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)>0 then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.tdfilter),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.tdfilter),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
local ct=g:GetClassCount(Card.GetCode) local ct=g:GetClassCount(Card.GetCode)
local sg=g:SelectSubGroup(tp,aux.dncheck,1,ct) local sg2=g:SelectSubGroup(tp,aux.dncheck,1,ct)
if #sg>0 then if #sg2>0 then
Duel.SendtoDeck(sg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.HintSelection(sg2)
Duel.SendtoDeck(sg2,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
end end
end end
......
...@@ -44,7 +44,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetTarget(s.atkfilter) e1:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x6f52))
e1:SetValue(s.atkval) e1:SetValue(s.atkval)
if Duel.GetTurnPlayer()==tp then if Duel.GetTurnPlayer()==tp then
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,2) e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,2)
...@@ -69,9 +69,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,9 +69,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e4:SetTargetRange(0,LOCATION_MZONE) e4:SetTargetRange(0,LOCATION_MZONE)
e4:SetCondition(s.atkcon) e4:SetCondition(s.atkcon)
Duel.RegisterEffect(e4,tp) Duel.RegisterEffect(e4,tp)
local e4=e3:Clone() local e5=e4:Clone()
e4:SetCode(EFFECT_MUST_ATTACK_MONSTER) e5:SetCode(EFFECT_MUST_ATTACK_MONSTER)
e4:SetValue(s.atklimit) e5:SetValue(s.atklimit)
Duel.RegisterEffect(e5,tp) Duel.RegisterEffect(e5,tp)
end end
local e6=Effect.CreateEffect(e:GetHandler()) local e6=Effect.CreateEffect(e:GetHandler())
...@@ -82,12 +82,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,12 +82,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e6:SetValue(s.aclimit) e6:SetValue(s.aclimit)
Duel.RegisterEffect(e6,tp) Duel.RegisterEffect(e6,tp)
end end
function s.atkfilter(e,c) function s.atkfilter(c)
return c:IsSetCard(0x6f52) and c:IsFaceup() return c:IsSetCard(0x6f52) and c:IsFaceup()
end end
function s.atkval(e,c) function s.atkval(e,c)
local ct=Duel.GetMatchingGroupCount(aux.TRUE,tp,LOCATION_GRAVE,LOCATION_GRAVE,nil) local ct=Duel.GetMatchingGroupCount(aux.TRUE,tp,LOCATION_GRAVE,LOCATION_GRAVE,nil)
return ct*300 return ct*100
end end
function s.aclimit(e,re,tp) function s.aclimit(e,re,tp)
return not re:GetHandler():IsSetCard(0x6f52) return not re:GetHandler():IsSetCard(0x6f52)
......
...@@ -44,7 +44,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetTargetRange(LOCATION_MZONE,0) e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetTarget(s.atkfilter) e1:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x6f52))
e1:SetValue(s.atkval) e1:SetValue(s.atkval)
if Duel.GetTurnPlayer()==tp then if Duel.GetTurnPlayer()==tp then
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,2) e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,2)
...@@ -69,9 +69,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -69,9 +69,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e4:SetTargetRange(0,LOCATION_MZONE) e4:SetTargetRange(0,LOCATION_MZONE)
e4:SetCondition(s.atkcon) e4:SetCondition(s.atkcon)
Duel.RegisterEffect(e4,tp) Duel.RegisterEffect(e4,tp)
local e4=e3:Clone() local e5=e4:Clone()
e4:SetCode(EFFECT_MUST_ATTACK_MONSTER) e5:SetCode(EFFECT_MUST_ATTACK_MONSTER)
e4:SetValue(s.atklimit) e5:SetValue(s.atklimit)
Duel.RegisterEffect(e5,tp) Duel.RegisterEffect(e5,tp)
end end
local e6=Effect.CreateEffect(e:GetHandler()) local e6=Effect.CreateEffect(e:GetHandler())
...@@ -82,12 +82,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -82,12 +82,12 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e6:SetValue(s.aclimit) e6:SetValue(s.aclimit)
Duel.RegisterEffect(e6,tp) Duel.RegisterEffect(e6,tp)
end end
function s.atkfilter(e,c) function s.atkfilter(c)
return c:IsSetCard(0x6f52) and c:IsFaceup() return c:IsSetCard(0x6f52) and c:IsFaceup()
end end
function s.atkval(e,c) function s.atkval(e,c)
local ct=Duel.GetMatchingGroupCount(aux.TRUE,tp,LOCATION_REMOVED,LOCATION_REMOVED,nil) local ct=Duel.GetMatchingGroupCount(aux.TRUE,tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
return ct*300 return ct*200
end end
function s.aclimit(e,re,tp) function s.aclimit(e,re,tp)
return not re:GetHandler():IsSetCard(0x6f52) return not re:GetHandler():IsSetCard(0x6f52)
......
--创界神 奥梅提奥托 --创界神 奥梅提奥托
local s,id=GetID() local s,id=GetID()
s.named_with_Grandwalker=1
function s.Grandwalker(c)
local m=_G["c"..c:GetCode()]
return m and m.named_with_Grandwalker
end
function s.initial_effect(c) function s.initial_effect(c)
......
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