diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-01-18 23:01:22 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-01-18 23:01:22 -0300 |
commit | a97dcce0dce7dd24a4e68bab55911ff3d3c7aeca (patch) | |
tree | fbaad92805021e162cfd25b22210e9660d231ed4 /npc | |
parent | 450a93be054b454739e4d8593c273bb001a9bc4f (diff) | |
download | serverdata-a97dcce0dce7dd24a4e68bab55911ff3d3c7aeca.tar.gz serverdata-a97dcce0dce7dd24a4e68bab55911ff3d3c7aeca.tar.bz2 serverdata-a97dcce0dce7dd24a4e68bab55911ff3d3c7aeca.tar.xz serverdata-a97dcce0dce7dd24a4e68bab55911ff3d3c7aeca.zip |
Make Siege Boss slightly stronger (not really) once TOP3AVERAGELVL() pass 100.
This will avoid General from getting **too** weak (but will still be weak)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/siege.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index f9266d2f6..974e4e979 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -299,6 +299,7 @@ function script siege_boss { .@bcr=getunitdata(.@mg, UDT_CRIT); .@s+=getusers(1); + .@s+=max(0, (TOP3AVERAGELVL()-100 / 5)); // Over-100 scaling setunitdata(.@mg, UDT_MAXHP, .@bhp+(.@s*250)+.@val*5*getmapusers(.@m$)); setunitdata(.@mg, UDT_HP, .@bhp+(.@s*250)+.@val*5*getmapusers(.@m$)); |