Commit aca633bf authored by Amiya's avatar Amiya

修复

parent a5e977f9
Pipeline #26435 passed with stages
in 1 minute and 5 seconds
...@@ -23,10 +23,10 @@ function s.discost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -23,10 +23,10 @@ function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoDeck(g,nil,SEQ_DECKBOTTOM,REASON_COST) Duel.SendtoDeck(g,nil,SEQ_DECKBOTTOM,REASON_COST)
end end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c:IsControler(1-tp) and aux.NegateMonsterFilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c:IsControler(1-tp) and aux.NegateEffectMonsterFilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(aux.NegateMonsterFilter,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingTarget(aux.NegateEffectMonsterFilter,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,aux.NegateMonsterFilter,tp,0,LOCATION_MZONE,1,1,nil) local g=Duel.SelectTarget(tp,aux.NegateEffectMonsterFilter,tp,0,LOCATION_MZONE,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,g,1,0,0) Duel.SetOperationInfo(0,CATEGORY_DISABLE,g,1,0,0)
end end
function s.disop(e,tp,eg,ep,ev,re,r,rp) function s.disop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -130,11 +130,13 @@ function s.atttg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -130,11 +130,13 @@ function s.atttg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.attop(e,tp,eg,ep,ev,re,r,rp) function s.attop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local e1=Effect.CreateEffect(c) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,0,LOCATION_MZONE,nil)
e1:SetType(EFFECT_TYPE_FIELD) for tc in aux.Next(g) do
e1:SetCode(EFFECT_CHANGE_RACE) local e1=Effect.CreateEffect(c)
e1:SetTargetRange(0,LOCATION_MZONE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetValue(RACE_PYRO) e1:SetCode(EFFECT_CHANGE_RACE)
e1:SetReset(RESET_PHASE+PHASE_END) e1:SetValue(RACE_PYRO)
Duel.RegisterEffect(e1,tp) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
end
end end
\ No newline at end of file
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