diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-28 23:34:14 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-28 23:34:14 +0000 |
commit | 01123b8b2f4a77936f8c1358fb2f1c638e169343 (patch) | |
tree | 3a01e72c80fd91a5d45c79b0237bb8bf9e2deb94 /npc/events/nguild/nguild_dunsw.txt | |
parent | 80366703f21e3cbcdecf02863ceafe69f96c132b (diff) | |
download | hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.gz hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.bz2 hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.xz hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.zip |
* Rewrote the WoE 1.0 from the ground up nearly.
- Renamed the WoE Time setting NPC to "agit_controller.txt"
- System is set up to mimic Aegis, some parts are still lacking.
- Documentation on the new system is forth-coming.
- Updated Novice WoE scripts to keep them from breaking.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12673 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/events/nguild/nguild_dunsw.txt')
-rw-r--r-- | npc/events/nguild/nguild_dunsw.txt | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/npc/events/nguild/nguild_dunsw.txt b/npc/events/nguild/nguild_dunsw.txt index e81cc57bf..206fc4cd7 100644 --- a/npc/events/nguild/nguild_dunsw.txt +++ b/npc/events/nguild/nguild_dunsw.txt @@ -3,16 +3,45 @@ //===== By: ================================================== //= kobra_k88 //===== Current Version: ===================================== -//= 1.0 +//= 1.1 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= //= Switch that warps guild members to the guild dungeon //===== Additional Comments: ================================= //= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] +//= 1.1 Guild Dungeon Switch Fucntion added. [L0ne_W0lf] //============================================================ +//================================================== +function script F_GldDunSw { + set .@GID, GetCastleData(getarg(0),1); + if (.@GID == 0) { + mes "[ Echoing Voice ]"; + mes " ' The one who can overcome an ordeal and show true bravery... will find the way... ' "; + close; + } + else { + mes "[ Echoing Voice ]"; + mes " ' Only the one who can show true bravery can take this test. '"; + next; + mes " "; + mes "There's a small lever. Will you pull it?"; + next; + + if (select("Pull.:Do not.") == 1) { + if (getcharid(2) == .@GID) { + warp "gld_dun"+getarg(1),getarg(2),getarg(3); + end; + } + mes " "; + mes " Nothing happened."; + } + return; + } +} + // Castle 1 =============================================== nguild_alde,212,181,0 script Switch#DunN01 111,{ callfunc "F_GldDunSw","nguild_alde","02",32,122; |