From 50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 20 Oct 2019 13:40:25 -0400 Subject: convert scripts to use getguildinfo() --- npc/woe-fe/agit_controller.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/woe-fe/agit_controller.txt') diff --git a/npc/woe-fe/agit_controller.txt b/npc/woe-fe/agit_controller.txt index be7e07d14..a0e3fa290 100644 --- a/npc/woe-fe/agit_controller.txt +++ b/npc/woe-fe/agit_controller.txt @@ -82,7 +82,7 @@ S_DisplayOwners: setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; for (.@i = 0; .@i <= 19; ++.@i) { if (getcastledata(.@maps$[.@i],1)) - announce "The [" + getcastlename(.@maps$[.@i]) + "] castle has been conquered by the [" + getguildname(getcastledata(.@maps$[.@i],1)) + "] guild.",bc_all|bc_woe; + announce "The [" + getcastlename(.@maps$[.@i]) + "] castle has been conquered by the [" + getguildinfo(GUILDINFO_NAME, getcastledata(.@maps$[.@i],1)) + "] guild.",bc_all|bc_woe; else announce "The [" + getcastlename(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all|bc_woe; } -- cgit v1.2.3-70-g09d2