mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-29 03:40:55 +00:00
Merge with develop
This commit is contained in:
parent
0bcf110925
commit
a98e6b1fee
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ end
|
||||||
------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------
|
||||||
-- Compute the current Max Resist
|
-- Compute the current Max Resist
|
||||||
function game:getMagicResistMaxLevel()
|
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);
|
return math.max(0,mlvl);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue