mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-17 09:42:25 +00:00
Merge pull request #709 from noudess/master
Scaled AC and ATK if npc is scaling.
This commit is contained in:
commit
de4782368d
@ -2151,6 +2151,8 @@ void NPC::LevelScale() {
|
||||
if(level > 15 && level <= 25)
|
||||
scale_adjust = 2;
|
||||
|
||||
AC += (int)(AC * scaling);
|
||||
ATK += (int)(ATK * scaling);
|
||||
base_hp += (int)(base_hp * scaling);
|
||||
max_hp += (int)(max_hp * scaling);
|
||||
cur_hp = max_hp;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user