summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-31 23:36:35 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-31 23:36:35 -0300
commit3d0dfae24d5003be28d4ab8e303d54c542255f78 (patch)
treee47d2806307244d920ccee5a670c28067aee0019 /npc/functions
parent9e779ee2b90caba68d782df8f808d9da2d675bf8 (diff)
downloadserverdata-3d0dfae24d5003be28d4ab8e303d54c542255f78.tar.gz
serverdata-3d0dfae24d5003be28d4ab8e303d54c542255f78.tar.bz2
serverdata-3d0dfae24d5003be28d4ab8e303d54c542255f78.tar.xz
serverdata-3d0dfae24d5003be28d4ab8e303d54c542255f78.zip
Fix bugs on siege chief-in-guard
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/siege.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 73cc00d10..87a708309 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -259,10 +259,10 @@ function script siege_boss {
.@mg=monster(.@m$, .@xm, .@ym, strmobinfo(1, .@mobId), .@mobId, 1, "#SiegeCtrl::On"+.@ts$+"Death");
// Boost the boss stats based on difficulty and nÂș of players online
- .@bhp=getunitdata(.@mGID, UDT_MAXHP);
- .@bat=getunitdata(.@mGID, UDT_ATKMAX);
- .@bdf=getunitdata(.@mGID, UDT_DEF);
- .@bcr=getunitdata(.@mGID, UDT_CRIT);
+ .@bhp=getunitdata(.@mg, UDT_MAXHP);
+ .@bat=getunitdata(.@mg, UDT_ATKMAX);
+ .@bdf=getunitdata(.@mg, UDT_DEF);
+ .@bcr=getunitdata(.@mg, UDT_CRIT);
.@s+=getusers(1);