summaryrefslogtreecommitdiff
path: root/npc/events
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-30 05:58:34 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-30 05:58:34 +0000
commit58024c832da023fe835b41bb2d35c17f7ad9f858 (patch)
tree68a85e38c32f205036e06ed1b84d435db2c6d4d5 /npc/events
parentefc39a408c225e1f030b1d21938ad7004b65af96 (diff)
downloadhercules-58024c832da023fe835b41bb2d35c17f7ad9f858.tar.gz
hercules-58024c832da023fe835b41bb2d35c17f7ad9f858.tar.bz2
hercules-58024c832da023fe835b41bb2d35c17f7ad9f858.tar.xz
hercules-58024c832da023fe835b41bb2d35c17f7ad9f858.zip
- Updated Novice WoE script, follow-up to r15657 (bugreport:5653)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16012 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/events')
-rw-r--r--npc/events/nguild/nguild_ev_agit.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/events/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt
index 27b3908e1..1dad83b83 100644
--- a/npc/events/nguild/nguild_ev_agit.txt
+++ b/npc/events/nguild/nguild_ev_agit.txt
@@ -63,7 +63,7 @@ function script F_AgitBreak {
SetCastleData .@map$,1, .@GID;
MapAnnounce .@map$,"The emperium has been destroyed.",bc_map,0x00CCFF;
Announce "The [" + GetCastleName(.@map$) + "] castle has been conquered by the [" + GetGuildName(.@GID) + "] guild.",bc_all;
- GetCastleData .@map$,0,"::OnRecvCastle"+.@castle$;
+ donpcevent "::OnRecvCastle"+.@castle$;
disablenpc "Kafra Staff#"+.@castle$;
@@ -97,7 +97,7 @@ function script F_AgitEnd {
// Castle 1 ================================================================
nguild_alde,0,0,0 script Agit_N01 -1,{
OnInterIfInitOnce:
- GetCastleData "nguild_alde",0,"::OnRecvCastleN01";
+ donpcevent "::OnRecvCastleN01";
end;
OnRecvCastleN01:
RequestGuildInfo GetCastleData("nguild_alde",1);
@@ -124,7 +124,7 @@ OnAgitEnd:
// Castle 2 ================================================================
nguild_gef,0,0,0 script Agit_N02 -1,{
OnInterIfInitOnce:
- GetCastleData "nguild_gef",0,"::OnRecvCastleN02";
+ donpcevent "::OnRecvCastleN02";
end;
OnRecvCastleN02:
RequestGuildInfo GetCastleData("nguild_gef",1);
@@ -151,7 +151,7 @@ OnAgitEnd:
// Castle 3 ================================================================
nguild_pay,0,0,0 script Agit_N03 -1,{
OnInterIfInitOnce:
- GetCastleData "nguild_pay",0,"::OnRecvCastleN03";
+ donpcevent "::OnRecvCastleN03";
end;
OnRecvCastleN03:
RequestGuildInfo GetCastleData("nguild_pay",1);
@@ -178,7 +178,7 @@ OnAgitEnd:
// Castle 4 ================================================================
nguild_prt,0,0,0 script Agit_N04 -1,{
OnInterIfInitOnce:
- GetCastleData "nguild_prt",0,"::OnRecvCastleN04";
+ donpcevent "::OnRecvCastleN04";
end;
OnRecvCastleN04:
RequestGuildInfo GetCastleData("nguild_prt",1);