Commit 213b83f0 authored by wind2009's avatar wind2009 Committed by nanahira

Fix Stygian Sergeants and so on (#1146)

* Fix Stygian Sergeants

* update Beast Machine King Barbaros Ür

Beast Machine King Barbaros Ür cannot be special summoned by removing itself.

* update
parent 973047af
...@@ -36,12 +36,12 @@ end ...@@ -36,12 +36,12 @@ end
function c19028307.spcon(e,c) function c19028307.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local g=Duel.GetMatchingGroup(c19028307.spcostfilter,tp,LOCATION_MZONE+LOCATION_HAND+LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c19028307.spcostfilter,tp,LOCATION_MZONE+LOCATION_HAND+LOCATION_GRAVE,0,c)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
return g:IsExists(c19028307.spcost_selector,1,nil,tp,g,sg,1) return g:IsExists(c19028307.spcost_selector,1,nil,tp,g,sg,1)
end end
function c19028307.spop(e,tp,eg,ep,ev,re,r,rp,c) function c19028307.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.GetMatchingGroup(c19028307.spcostfilter,tp,LOCATION_MZONE+LOCATION_HAND+LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c19028307.spcostfilter,tp,LOCATION_MZONE+LOCATION_HAND+LOCATION_GRAVE,0,c)
local sg=Group.CreateGroup() local sg=Group.CreateGroup()
for i=1,2 do for i=1,2 do
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
......
...@@ -32,7 +32,7 @@ function c86137485.atop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,7 +32,7 @@ function c86137485.atop1(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(800) e1:SetValue(800)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_BATTLE)
c:RegisterEffect(e1) c:RegisterEffect(e1)
Duel.ChainAttack() Duel.ChainAttack()
end end
...@@ -49,6 +49,6 @@ function c86137485.atop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,6 +49,6 @@ function c86137485.atop2(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(800) e1:SetValue(800)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE+RESET_PHASE+PHASE_BATTLE)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
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