From 8c04ffe056e1240facbadf184f88135eaa2dd6be Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 9 Apr 2016 13:02:12 +0200 Subject: [PATCH] Fixed: Wrong display of max resist levels --- code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua b/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua index a4deeb05a..b70232b04 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua +++ b/code/ryzom/client/data/gamedev/interfaces_v3/info_player.lua @@ -161,7 +161,7 @@ end ------------------------------------------------------------------------------------------------------------ -- Compute the current Max Resist function game:getMagicResistMaxLevel() - local mlvl= self:getMagicResistBaseLevel() + getDbProp(formatUI('%player_resist_maxratio')); + local mlvl= 25 + self:getMagicResistBaseLevel() + getDbProp(formatUI('%player_resist_maxratio')); return math.max(0,mlvl); end