summaryrefslogtreecommitdiff
path: root/npc/custom/woe_controller.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-10-20 13:40:25 -0400
committergumi <git@gumi.ca>2019-10-20 22:20:12 -0400
commit50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (patch)
tree16ee679469af6aba9aa8b50b5985508e9715a450 /npc/custom/woe_controller.txt
parent9127ead75b9baa4e6372d11cb4ba033651976629 (diff)
downloadhercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.gz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.bz2
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.xz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.zip
convert scripts to use getguildinfo()
Diffstat (limited to 'npc/custom/woe_controller.txt')
-rw-r--r--npc/custom/woe_controller.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/woe_controller.txt b/npc/custom/woe_controller.txt
index 5f619c1db..e9139c0ce 100644
--- a/npc/custom/woe_controller.txt
+++ b/npc/custom/woe_controller.txt
@@ -149,7 +149,7 @@ OnMinute00:
function Disp_Owner {
set .@o, getcastledata(getarg(0),1);
- if (.@o) announce "The ["+getcastlename(getarg(0))+"] castle "+((getarg(1))?"has been conquered":"is currently held")+" by the ["+getguildname(.@o)+"] guild.",bc_all|bc_woe;
+ if (.@o) announce "The ["+getcastlename(getarg(0))+"] castle "+((getarg(1))?"has been conquered":"is currently held")+" by the ["+getguildinfo(GUILDINFO_NAME, .@o)+"] guild.",bc_all|bc_woe;
else announce "The ["+getcastlename(getarg(0))+"] castle is currently unoccupied.",bc_all|bc_woe;
return;
}
@@ -275,7 +275,7 @@ while(1) {
mes "> ^FF0000"+.Regions$[.@i]+"^000000";
for(set .@j,.@k; .@j<(.@k+5); set .@j,.@j+1) {
set .@t, getcastledata(.Castles$[.@j],1);
- mes " ~ "+getcastlename(.Castles$[.@j])+": "+((.@t)?"^0055FF"+getguildname(.@t):"^777777unoccupied")+"^000000";
+ mes " ~ "+getcastlename(.Castles$[.@j])+": "+((.@t)?"^0055FF"+getguildinfo(GUILDINFO_NAME, .@t):"^777777unoccupied")+"^000000";
}
if (.@i < 5) mes " ";
}