Ver Fonte

Merge remote-tracking branch 'origin/360test' into 360Release

gitxsm há 1 dia atrás
pai
commit
656f03fc20
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      script/module/role/RoleAttr.lua

+ 2 - 0
script/module/role/RoleAttr.lua

@@ -152,6 +152,8 @@ function calcHeroGrid(heroGrid, index, human)
 	local heroOtherAttrs = {}
 	local heroOtherAttrs = {}
 	-- 结果表需预置全部属性键,供 calcFinalValue 遍历合并
 	-- 结果表需预置全部属性键,供 calcFinalValue 遍历合并
 	initCombatAttr(tempHeroAttrs)
 	initCombatAttr(tempHeroAttrs)
+	initCombatAttr(heroBaseAttrs)
+	initCombatAttr(heroOtherAttrs)
 	heroBaseAttrs[RoleDefine.INIT_MP] = 50
 	heroBaseAttrs[RoleDefine.INIT_MP] = 50
     -- 默认命中100% 暴击伤害
     -- 默认命中100% 暴击伤害
     heroBaseAttrs[RoleDefine.JINGZHUN] = RoleDefine.DEFAUT_MINGZHONG
     heroBaseAttrs[RoleDefine.JINGZHUN] = RoleDefine.DEFAUT_MINGZHONG