diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-01-23 00:36:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-01-23 00:36:13 -0300 |
commit | ab7ee3e212b21c9872d643d2548cfafb7b01eba2 (patch) | |
tree | 99b412e15b6c645c8df92f3f597c5e50c8be1ddd /npc/functions | |
parent | 9790659294f0bc90c6d07222e015f3db5c6f2f81 (diff) | |
download | serverdata-ab7ee3e212b21c9872d643d2548cfafb7b01eba2.tar.gz serverdata-ab7ee3e212b21c9872d643d2548cfafb7b01eba2.tar.bz2 serverdata-ab7ee3e212b21c9872d643d2548cfafb7b01eba2.tar.xz serverdata-ab7ee3e212b21c9872d643d2548cfafb7b01eba2.zip |
Real tweak to monster army officers stats after game story 2 is done with.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/siege.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 974e4e979..1be9e4d45 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -301,6 +301,17 @@ function script siege_boss { .@s+=getusers(1); .@s+=max(0, (TOP3AVERAGELVL()-100 / 5)); // Over-100 scaling + // Over-act tweaks + if ($GAME_STORYLINE == 4) { + .@bhp *= 2; // +100% HP Buff (Andrei Sakar is dead) + .@bat *= 2; + .@bcr *= 2; + } else if ($GAME_STORYLINE == 3) { + .@bhp = .@bhp * 3 / 2; // +50% HP Buff (Army Disarray) + .@bat = .@bat * 3 / 2; + .@bcr = .@bcr * 3 / 2; + } + setunitdata(.@mg, UDT_MAXHP, .@bhp+(.@s*250)+.@val*5*getmapusers(.@m$)); setunitdata(.@mg, UDT_HP, .@bhp+(.@s*250)+.@val*5*getmapusers(.@m$)); |