显示fix
This commit is contained in:
parent
1f93123171
commit
5c490ce2b6
@ -89,7 +89,7 @@ end
|
||||
|
||||
-- 获取等级当前经验
|
||||
function RunesData:getLevelExp()
|
||||
return self.exp
|
||||
return self.exp - self:getLevelConfig()[self:getLevel()].cost
|
||||
end
|
||||
|
||||
-- 获取到下一档的总经验
|
||||
|
||||
@ -189,8 +189,8 @@ function RunesEntity:getAttrValue(attrType, isBase)
|
||||
result = result + self:getHeroEntity():getTotalBaseAtk() * self:getAttrValue(GConst.MATCH_ATTACK_ADD_NAME) // DEFAULT_FACTOR
|
||||
return result
|
||||
elseif not isBase and (attrType == GConst.MATCH_NORMAL_HURTP_NAME[self:getHeroEntity():getMatchType()] or attrType == GConst.MATCH_SKILL_HURTP_NAME[self:getHeroEntity():getMatchType()]) then
|
||||
result = self:getAttrValue(GConst.MATCH_ALL_HURTP_NAME[self:getHeroEntity():getMatchType()])
|
||||
result = result + self:getAttrValue(GConst.MATCH_ATTACK_ADD_NAME)
|
||||
result = self:getAttrValue(attrType, true)
|
||||
result = result + self:getAttrValue(GConst.MATCH_ALL_HURTP_NAME, true)
|
||||
return result
|
||||
else
|
||||
local all = self:getAllAttr()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user