Commit f33ea75b authored by 伊蕾娜's avatar 伊蕾娜

fix:修复月之妖精bug

parent c345701e
Pipeline #19878 passed with stage
in 42 seconds
...@@ -111,14 +111,13 @@ function cCardno.aatg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -111,14 +111,13 @@ function cCardno.aatg(e,tp,eg,ep,ev,re,r,rp,chk)
local cgc=cg:GetCount() local cgc=cg:GetCount()
defnum=defnum-cgc defnum=defnum-cgc
Duel.SetFlagEffectLabel(tp,Cardno,defnum) Duel.SetFlagEffectLabel(tp,Cardno,defnum)
if r&REASON_EFFECT ~= 0 then if cgc == 1 then
e:SetLabelObject(cg)
e:SetLabel(1)
else
e:SetLabelObject(cg:GetFirst()) e:SetLabelObject(cg:GetFirst())
e:SetLabel(2) e:SetLabel(2)
else
e:SetLabelObject(cg)
e:SetLabel(1)
end end
if defnum>0 then if defnum>0 then
c:SetTurnCounter(defnum) c:SetTurnCounter(defnum)
else else
...@@ -131,7 +130,6 @@ end ...@@ -131,7 +130,6 @@ end
function cCardno.aaval(e,c) function cCardno.aaval(e,c)
local la=e:GetLabel() local la=e:GetLabel()
local g=e:GetLabelObject() local g=e:GetLabelObject()
Debug.Message(la)
if la==1 then return Group.IsContains(g,c) else return g==c end if la==1 then return Group.IsContains(g,c) else return g==c end
end end
function cCardno.dmgval(e,re,val,r,rp,rc) function cCardno.dmgval(e,re,val,r,rp,rc)
......
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