【战斗0.0.7】修复熬丙十星天赋不对追加得技能生效得问题

dev_chengFeng
gaoxin 2020-10-20 20:36:44 +08:00
parent cd03b49824
commit 1f9165688f
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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