Merge pull request #709 from noudess/master

Scaled AC and ATK if npc is scaling.
This commit is contained in:
Alex
2018-02-12 19:34:30 -05:00
committed by GitHub
+2
View File
@@ -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;