diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-12 04:47:18 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-12 04:47:18 +0000 |
commit | 6936f481e022ea9058110cb140fe7d8168e31b6c (patch) | |
tree | 76b7e7328b346ac22cb1b84eeb00371fe510635f /npc | |
parent | e73c1ee5e26f59380806d0dcd90c4ed6617e76ef (diff) | |
download | hercules-6936f481e022ea9058110cb140fe7d8168e31b6c.tar.gz hercules-6936f481e022ea9058110cb140fe7d8168e31b6c.tar.bz2 hercules-6936f481e022ea9058110cb140fe7d8168e31b6c.tar.xz hercules-6936f481e022ea9058110cb140fe7d8168e31b6c.zip |
Small update to castle ownership announcement.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12345 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r-- | npc/Changelog.txt | 2 | ||||
-rw-r--r-- | npc/guild/ev_agit_event.txt | 13 |
2 files changed, 12 insertions, 3 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index f7c21c3fc..3a05230f9 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,5 +1,7 @@ Date Added ====== +2008/03/12 + * Rev. 12345 Small update to castle ownership announcement. [L0ne_W0lf] 2008/03/08 * Rev. 12329 Follow up fix in assassin job quest. [L0ne_W0lf] 2008/03/08 diff --git a/npc/guild/ev_agit_event.txt b/npc/guild/ev_agit_event.txt index fcde347d5..1ea8f48cf 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.8 +//= 1.8a //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= @@ -26,6 +26,7 @@ //= 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] +//= 1.8a Will now report unoccupied castles at start/end. [L0ne_W0lf] //============================================================ //| To know how to set up WoE times, go to doc\woe_time_explanation.txt // WoE Start/Stop times @@ -71,8 +72,14 @@ L_DisplayOwners: 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; + for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) { + if (GetCastleData(getarg(1),1)) { + Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle has been conquered by the [" + GetGuildName(GetCastleData(.@maps$[.@i],1)) + "] guild.",bc_all; + } + else { + Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all; + } + } end; } |