From 3d0dfae24d5003be28d4ab8e303d54c542255f78 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 31 May 2019 23:36:35 -0300 Subject: Fix bugs on siege chief-in-guard --- npc/functions/siege.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/functions/siege.txt') 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); -- cgit v1.2.3-60-g2f50