Commit 5d9c8c69 authored by 未闻皂名's avatar 未闻皂名

2023/3/10 bug修复

parent a2bc1304
...@@ -21,7 +21,7 @@ function cm.check(e,c) ...@@ -21,7 +21,7 @@ function cm.check(e,c)
local atk=0 local atk=0
local g=c:GetMaterial() local g=c:GetMaterial()
if g:GetCount()==1 then if g:GetCount()==1 then
atk=cm.getatk(g:GetFirst()) atk=cm.getatk(g:GetFirst())*2
elseif g:GetCount()==2 then elseif g:GetCount()==2 then
atk=cm.getatk(g:GetFirst())+cm.getatk(g:GetNext()) atk=cm.getatk(g:GetFirst())+cm.getatk(g:GetNext())
end end
......
...@@ -20,7 +20,7 @@ end ...@@ -20,7 +20,7 @@ end
function cm.check(e,c) function cm.check(e,c)
local tc=c:GetMaterial():GetFirst() local tc=c:GetMaterial():GetFirst()
local atk=0 local atk=0
if tc then atk=tc:GetBaseAttack()*2 end if tc then atk=tc:GetTextAttack()*2 end
if atk>0 and e:GetLabel()==1 then if atk>0 and e:GetLabel()==1 then
e:SetLabel(0) e:SetLabel(0)
RD.AttachAtkDef(e,c,atk,0,RESET_EVENT+0xff0000) RD.AttachAtkDef(e,c,atk,0,RESET_EVENT+0xff0000)
......
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