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

2023/3/10 bug修复

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