Commit 2b6359c0 authored by argon.sun's avatar argon.sun

fix

parent 9159d2bb
......@@ -40,5 +40,9 @@ function c94538053.atkop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_SET_BASE_DEFENCE)
e2:SetValue(c:GetBaseDefence()/2)
c:RegisterEffect(e2)
local e3=e1:Clone()
e3:SetCode(EFFECT_CHANGE_LEVEL)
e3:SetValue(2)
c:RegisterEffect(e3)
end
end
......@@ -510,6 +510,9 @@ function Auxiliary.FOperationCodeFun(code,f,cc,sub,insf)
tc=eg:GetNext()
end
if chkf~=PLAYER_NONE then
if sg2:GetCount()==cc then
sg1:Sub(sg2)
end
local g1=nil
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FMATERIAL)
if fs then g1=sg1:Select(tp,1,1,nil)
......@@ -533,11 +536,13 @@ function Auxiliary.FOperationCodeFun(code,f,cc,sub,insf)
end
Duel.SetFusionMaterial(g1)
else
if sg2:GetCount()==cc then
sg1:Sub(sg2)
end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FMATERIAL)
local g1=sg1:Select(tp,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FMATERIAL)
local g2=sg2:Select(tp,cc,cc,g1:GetFirst())
g1:Merge(g2)
g1:Merge(sg2:Select(tp,cc,cc,g1:GetFirst()))
Duel.SetFusionMaterial(g1)
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