Commit 13c209ad authored by salix5's avatar salix5

fix Ultimate Flame Swordsman

parent dad78b2d
...@@ -63,8 +63,8 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -63,8 +63,8 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(c:GetAttack()*2) e1:SetValue(c:GetAttack()*2)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local fid=c:GetFieldID()
c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1,fid) c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1,fid)
end
local sg=Group.FromCards(c) local sg=Group.FromCards(c)
sg:KeepAlive() sg:KeepAlive()
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -78,6 +78,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,6 +78,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCondition(s.descon3) e2:SetCondition(s.descon3)
e2:SetOperation(s.desop3) e2:SetOperation(s.desop3)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end
end end
function s.desfilter(c,fid) function s.desfilter(c,fid)
return c:GetFlagEffectLabel(id)==fid return c:GetFlagEffectLabel(id)==fid
......
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