diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-08 15:32:18 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-08 15:32:18 +0000 |
commit | f07b3c7434028984cf6665fdf0d0759c26f37674 (patch) | |
tree | 2458c50dd64c148f673576a3732be8442b12991b /npc/guild | |
parent | c16ed9df6a6d9be8176649d680e5abf4cb3ea243 (diff) | |
download | hercules-f07b3c7434028984cf6665fdf0d0759c26f37674.tar.gz hercules-f07b3c7434028984cf6665fdf0d0759c26f37674.tar.bz2 hercules-f07b3c7434028984cf6665fdf0d0759c26f37674.tar.xz hercules-f07b3c7434028984cf6665fdf0d0759c26f37674.zip |
Castle ownership displays at the start and end of WoE.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12188 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild')
-rw-r--r-- | npc/guild/ev_agit_event.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/npc/guild/ev_agit_event.txt b/npc/guild/ev_agit_event.txt index cb5034072..fcde347d5 100644 --- a/npc/guild/ev_agit_event.txt +++ b/npc/guild/ev_agit_event.txt @@ -4,7 +4,7 @@ //= kalen (1.0) //= 1.1 by Akaru and ho|yAnge| //===== Current Version: ===================================== -//= 1.6 +//= 1.8 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= @@ -25,6 +25,7 @@ //= 1.5a missing tabs [KarLaeda] //= 1.6 Corrected multiple "WoE has begun" announces [ultramage] //= 1.7 Commented out the WoE start and end announces. [L0ne_W0lf] +//= 1.8 Castle owners displayed when WoE starts and finished. [L0ne_W0lf] //============================================================ //| To know how to set up WoE times, go to doc\woe_time_explanation.txt // WoE Start/Stop times @@ -53,6 +54,7 @@ L_End: if (agitcheck()) { //Announce "The War Of Emperium is over!",8; AgitEnd; + goto L_DisplayOwners; } end; @@ -60,8 +62,18 @@ L_Start: if (!agitcheck()) { //Announce "The War Of Emperium has begun!",8; AgitStart; + goto L_DisplayOwners; } end; + +L_DisplayOwners: + setarray .@maps$[0],"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05"; + setarray .@maps$[5],"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05"; + setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05"; + setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; + for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) + Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle has been conquered by the [" + GetGuildName(GetCastleData(.@maps$[.@i],1)) + "] guild.",bc_all; + end; } // Treasure Spawn Time |