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)
local cgc=cg:GetCount()
defnum=defnum-cgc
Duel.SetFlagEffectLabel(tp,Cardno,defnum)
if r&REASON_EFFECT ~= 0 then
e:SetLabelObject(cg)
e:SetLabel(1)
else
if cgc == 1 then
e:SetLabelObject(cg:GetFirst())
e:SetLabel(2)
else
e:SetLabelObject(cg)
e:SetLabel(1)
end
if defnum>0 then
c:SetTurnCounter(defnum)
else
......@@ -131,7 +130,6 @@ end
function cCardno.aaval(e,c)
local la=e:GetLabel()
local g=e:GetLabelObject()
Debug.Message(la)
if la==1 then return Group.IsContains(g,c) else return g==c end
end
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