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_kafras.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_kafras.txt')
-rw-r--r-- | npc/events/nguild/nguild_kafras.txt | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/npc/events/nguild/nguild_kafras.txt b/npc/events/nguild/nguild_kafras.txt index f0c43db53..e590c4b28 100644 --- a/npc/events/nguild/nguild_kafras.txt +++ b/npc/events/nguild/nguild_kafras.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= kobra_k88 //===== Current Version: ===================================== -//= 1.1 +//= 1.2 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 5+ //===== Description: ========================================= @@ -12,9 +12,27 @@ //===== Additional Comments: ================================= //= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] //= 1.1 All N Guild Kafras teleport to Prontera only! [Lupus] +//= 1.2 Added Kafra function. [L0ne_W0lf] //============================================================ +function script F_GKafra { + cutin "kafra_01",2; + set @GID, GetCastleData(getarg(0),1); + if (getcharid(2) == @GID && getgdskilllv(@GID,10001)) goto L_StartG; + + mes "[Kafra Service]"; + mes "I am contracted to provide service only for the ^ff0000" + GetGuildName(@GID) + "^000000 Guild. Please use another Kafra Corporation staff member around here. I am Sorry for your inconvenience."; + cutin "",255; + close; +L_StartG: + set @wrpP[0], 200; + set @wrpD$[0], getarg(1); + setarray @wrpC$[0], @wrpD$[0]+" ^880000"+@wrpP[0]+"^000000 z", "Cancel", "", "", "",""; + callfunc "F_Kafra",2,0,0,0,800; + end; +} + // Castle 1 =============================================== nguild_alde,218,170,0 script Kafra Service#N01 117,{ callfunc "F_GKafra", "nguild_alde", "Prontera"; |