mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-18 05:11:42 +00:00
Fixed: Wrong display of max resist levels
This commit is contained in:
parent
64e3fedd70
commit
c5c9ca647e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue