【战斗0.0.7】修复熬丙十星天赋不对追加得技能生效得问题
parent
cd03b49824
commit
1f9165688f
|
@ -2095,7 +2095,7 @@ local passivityList = {
|
|||
local onSkillCast = function(skill)
|
||||
if skill.type == BattleSkillType.Normal and not skill.isAdd then
|
||||
af = 0
|
||||
elseif skill.type == BattleSkillType.Special then
|
||||
elseif skill.type == BattleSkillType.Special or skill.type==BattleSkillType.Extra then
|
||||
af = af + f1
|
||||
end
|
||||
end
|
||||
|
|
|
@ -107,6 +107,9 @@ function this.Log(...)
|
|||
local value = args[i + 1]
|
||||
log = log .. string.format("%s = %s, ", key, value)
|
||||
end
|
||||
if not this.logList then
|
||||
this.logList = {}
|
||||
end
|
||||
table.insert(this.logList, log)
|
||||
-- 如果log大于100条写一便日志到文件
|
||||
if #this.logList > 100 then
|
||||
|
|
Loading…
Reference in New Issue