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
commit de4782368d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;