From a0fbdab993e79ed3d6690883fbb5896bb0de52ee Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 13 Jul 2020 09:49:17 -0300 Subject: Fix variable bug reported by HCP --- npc/functions/siege.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions') diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 6e6a48717..6ca42b37a 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -201,7 +201,7 @@ function script siege_check { debugmes "Number of boss grade monsters found: %d", .@mb; $SIEGE_DIFFICULTY=max(1, ($SIEGE_DIFFICULTY/2)); // Lower the town reputation in 10% - .@var$="$"+MapToLoc(.@m$)+"_REPUTATION"; + .@var$="$"+strtoupper(MapToLoc(.@m$))+"_REPUTATION"; setd(.@var$, getd(.@var$)*9/10); } else { kamibroadcast("The city was defended with success! GG, everyone!"); -- cgit v1.2.3-70-g09d2