diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-04 01:11:21 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-04 01:11:21 +0000 |
commit | cf3ef84e5e0c09e2ff1f1683d8546a6822ba7693 (patch) | |
tree | e858229b6d91af5fee15849e6582d614435e1c3e /npc | |
parent | 89d430b2c4d770d7d5c073710a21bd24df5f3f0c (diff) | |
download | hercules-cf3ef84e5e0c09e2ff1f1683d8546a6822ba7693.tar.gz hercules-cf3ef84e5e0c09e2ff1f1683d8546a6822ba7693.tar.bz2 hercules-cf3ef84e5e0c09e2ff1f1683d8546a6822ba7693.tar.xz hercules-cf3ef84e5e0c09e2ff1f1683d8546a6822ba7693.zip |
* Updated 2006 headgear quests to semi-official dialog.
* Various updates to the various guild Castle scripts.
- Added Guild Master Room protection. Further security so only the master of the current castle can enter the treasure room.
- Updated Guild Castle Flags again. Updated remaining dialogs to official.
- Updated a couple announces for when the Emperium breaks. Both are now up to par with iRO.
- Moved nguild to the events folder and commented it out, as it was a kRO event that was used twice. Updated .confs to reflect this change.
* Added the first class skill resetter into Prontera. She resets players under base level 40 who are first or expanded class.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10669 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r-- | npc/Changelog.txt | 8 | ||||
-rw-r--r-- | npc/events/nguild/nguild_dunsw.txt (renamed from npc/guild/nguild/nguild_dunsw.txt) | 76 | ||||
-rw-r--r-- | npc/events/nguild/nguild_ev_agit.txt (renamed from npc/guild/nguild/nguild_ev_agit.txt) | 238 | ||||
-rw-r--r-- | npc/events/nguild/nguild_flags.txt (renamed from npc/guild/nguild/nguild_flags.txt) | 294 | ||||
-rw-r--r-- | npc/events/nguild/nguild_guardians.txt (renamed from npc/guild/nguild/nguild_guardians.txt) | 178 | ||||
-rw-r--r-- | npc/events/nguild/nguild_kafras.txt (renamed from npc/guild/nguild/nguild_kafras.txt) | 106 | ||||
-rw-r--r-- | npc/events/nguild/nguild_managers.txt (renamed from npc/guild/nguild/nguild_managers.txt) | 170 | ||||
-rw-r--r-- | npc/events/nguild/nguild_treas.txt (renamed from npc/guild/nguild/nguild_treas.txt) | 234 | ||||
-rw-r--r-- | npc/events/nguild/nguild_warper.txt (renamed from npc/guild/nguild/nguild_warper.txt) | 222 | ||||
-rw-r--r-- | npc/guild/aldeg/aldeg_treas.txt | 41 | ||||
-rw-r--r-- | npc/guild/gefg/gefg_treas.txt | 31 | ||||
-rw-r--r-- | npc/guild/gldfunc_ev_agit.txt | 7 | ||||
-rw-r--r-- | npc/guild/gldfunc_flag.txt | 25 | ||||
-rw-r--r-- | npc/guild/gldfunc_treasure.txt | 18 | ||||
-rw-r--r-- | npc/guild/payg/payg_treas.txt | 31 | ||||
-rw-r--r-- | npc/guild/prtg/prtg_treas.txt | 30 | ||||
-rw-r--r-- | npc/other/resetskill.txt | 143 | ||||
-rw-r--r-- | npc/quests/newgears/2006_headgear.txt | 1485 | ||||
-rw-r--r-- | npc/scripts_athena.conf | 13 | ||||
-rw-r--r-- | npc/scripts_guild.conf | 11 |
20 files changed, 2156 insertions, 1205 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index de5922c46..c9221d2fc 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,5 +1,13 @@ Date Added ====== +2007/06/03 + * Rev. 10669 Updated 2006 headgear quests to semi-official dialog. [L0ne_W0lf] + * Various updates to the various guild Castle scripts. [L0ne_W0lf[ + - Added Guild Master Room protection. Further security so only the master of the current castle can enter the treasure room. + - Updated Guild Castle Flags again. Updated remaining dialogs to official. + - Updated a couple announces for when the Emperium breaks. Both are now up to par with iRO. + - Moved nguild to the events folder and commented it out, as it was a kRO event that was used twice. Updated .confs to reflect this change. + * Added the first class skill resetter into Prontera. She resets players under base level 40 who are first or expanded class. [L0ne_W0lf[ 2007/06/01 * Rev. 10666 Updated Knight Peco, Crusader Peco, and Falcon breeders to Aegis 10.3 standards. [L0ne_W0lf] * Rev. 10664 Removed Ktullanux spawn, since the quest is implemented now. [L0ne_W0lf] diff --git a/npc/guild/nguild/nguild_dunsw.txt b/npc/events/nguild/nguild_dunsw.txt index e81cc57bf..81d98f247 100644 --- a/npc/guild/nguild/nguild_dunsw.txt +++ b/npc/events/nguild/nguild_dunsw.txt @@ -1,38 +1,38 @@ -//===== eAthena Script ======================================= -//= War of Emperium Dungeon Switch for NGuild Castles -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.0 -//===== 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] -//============================================================ - - -// Castle 1 =============================================== -nguild_alde,212,181,0 script Switch#DunN01 111,{ - callfunc "F_GldDunSw","nguild_alde","02",32,122; - close; -} - -// Castle 2 =============================================== -nguild_gef,78,84,0 script Switch#DunN02 111,{ - callfunc "F_GldDunSw","nguild_gef","04",39,258; - close; -} - -// Castle 3 =============================================== -nguild_pay,101,25,0 script Switch#DunN03 111,{ - callfunc "F_GldDunSw","nguild_pay","01",186,165; - close; -} - -// Castle 4 =============================================== -nguild_prt,94,200,0 script Switch#DunN04 111,{ - callfunc "F_GldDunSw","nguild_prt","03",28,251; - close; -} +//===== eAthena Script =======================================
+//= War of Emperium Dungeon Switch for NGuild Castles
+//===== By: ==================================================
+//= kobra_k88
+//===== Current Version: =====================================
+//= 1.0
+//===== 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]
+//============================================================
+
+
+// Castle 1 ===============================================
+nguild_alde,212,181,0 script Switch#DunN01 111,{
+ callfunc "F_GldDunSw","nguild_alde","02",32,122;
+ close;
+}
+
+// Castle 2 ===============================================
+nguild_gef,78,84,0 script Switch#DunN02 111,{
+ callfunc "F_GldDunSw","nguild_gef","04",39,258;
+ close;
+}
+
+// Castle 3 ===============================================
+nguild_pay,101,25,0 script Switch#DunN03 111,{
+ callfunc "F_GldDunSw","nguild_pay","01",186,165;
+ close;
+}
+
+// Castle 4 ===============================================
+nguild_prt,94,200,0 script Switch#DunN04 111,{
+ callfunc "F_GldDunSw","nguild_prt","03",28,251;
+ close;
+}
diff --git a/npc/guild/nguild/nguild_ev_agit.txt b/npc/events/nguild/nguild_ev_agit.txt index 2cda87129..159104caa 100644 --- a/npc/guild/nguild/nguild_ev_agit.txt +++ b/npc/events/nguild/nguild_ev_agit.txt @@ -1,119 +1,119 @@ -//===== eAthena Script ======================================= -//= War of Emperium - NGuild Wars Events -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.3 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Event Triggers for NGuild Wars -//===== Additional Comments: ================================= -// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] -//= 1.3 Added code for abandoning captured castles on /breakguild [Lupus] -//============================================================ - - -// Castle 1 ================================================================ -nguild_alde,0,0,0 script Agit_N01 -1,{ -OnInterIfInitOnce: - GetCastleData "nguild_alde",0,"::OnRecvCastleN01"; - end; -OnRecvCastleN01: - RequestGuildInfo GetCastleData("nguild_alde",1); - end; -OnAgitStart: - callfunc "F_AgitStart","nguild_alde","N01",216,24; - end; -OnAgitBreak: - callfunc "F_AgitBreak","nguild_alde","N01"; - end; -OnGuildBreak: - callfunc "F_GuildBreak","nguild_alde","N01"; - end; -OnAgitEliminate: - MapRespawnGuildID "nguild_alde",GetCastleData("nguild_alde",1),6; - Monster "nguild_alde",216,24,"EMPERIUM",1288,1,"Agit_N01::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","nguild_alde","N01"; - end; -} - -// Castle 2 ================================================================ -nguild_gef,0,0,0 script Agit_N02 -1,{ -OnInterIfInitOnce: - GetCastleData "nguild_gef",0,"::OnRecvCastleN02"; - end; -OnRecvCastleN02: - RequestGuildInfo GetCastleData("nguild_gef",1); - end; -OnAgitStart: - callfunc "F_AgitStart","nguild_gef","N02",198,182; - end; -OnAgitBreak: - callfunc "F_AgitBreak","nguild_gef","N02"; - end; -OnGuildBreak: - callfunc "F_GuildBreak","nguild_gef","N02"; - end; -OnAgitEliminate: - MapRespawnGuildID "nguild_gef",GetCastleData("nguild_gef",1),6; - Monster "nguild_gef",198,182,"EMPERIUM",1288,1,"Agit_N02::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","nguild_gef","N02"; - end; -} - -// Castle 3 ================================================================ -nguild_pay,0,0,0 script Agit_N03 -1,{ -OnInterIfInitOnce: - GetCastleData "nguild_pay",0,"::OnRecvCastleN03"; - end; -OnRecvCastleN03: - RequestGuildInfo GetCastleData("nguild_pay",1); - end; -OnAgitStart: - callfunc "F_AgitStart","nguild_pay","N03",139,139; - end; -OnAgitBreak: - callfunc "F_AgitBreak","nguild_pay","N03"; - end; -OnGuildBreak: - callfunc "F_GuildBreak","nguild_pay","N03"; - end; -OnAgitEliminate: - MapRespawnGuildID "nguild_pay",GetCastleData("nguild_pay",1),6; - Monster "nguild_pay",139,139,"EMPERIUM",1288,1,"Agit_N03::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","nguild_pay","N03"; - end; -} - -// Castle 4 ================================================================ -nguild_prt,0,0,0 script Agit_N04 -1,{ -OnInterIfInitOnce: - GetCastleData "nguild_prt",0,"::OnRecvCastleN04"; - end; -OnRecvCastleN04: - RequestGuildInfo GetCastleData("nguild_prt",1); - end; -OnAgitStart: - callfunc "F_AgitStart","nguild_prt","N04",197,197; - end; -OnAgitBreak: - callfunc "F_AgitBreak","nguild_prt","N04"; - end; -OnGuildBreak: - callfunc "F_GuildBreak","nguild_prt","N04"; - end; -OnAgitEliminate: - MapRespawnGuildID "nguild_prt",GetCastleData("nguild_prt",1),6; - Monster "nguild_prt",197,197,"EMPERIUM",1288,1,"Agit_N04::OnAgitBreak"; - end; -OnAgitEnd: - callfunc "F_AgitEnd","nguild_prt","N04"; - end; -} +//===== eAthena Script =======================================
+//= War of Emperium - NGuild Wars Events
+//===== By: ==================================================
+//= kobra_k88
+//===== Current Version: =====================================
+//= 1.3
+//===== Compatible With: =====================================
+//= eAthena 0.1+; RO Episode 4+
+//===== Description: =========================================
+//= Event Triggers for NGuild Wars
+//===== Additional Comments: =================================
+// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
+//= 1.3 Added code for abandoning captured castles on /breakguild [Lupus]
+//============================================================
+
+
+// Castle 1 ================================================================
+nguild_alde,0,0,0 script Agit_N01 -1,{
+OnInterIfInitOnce:
+ GetCastleData "nguild_alde",0,"::OnRecvCastleN01";
+ end;
+OnRecvCastleN01:
+ RequestGuildInfo GetCastleData("nguild_alde",1);
+ end;
+OnAgitStart:
+ callfunc "F_AgitStart","nguild_alde","N01",216,24;
+ end;
+OnAgitBreak:
+ callfunc "F_AgitBreak","nguild_alde","N01";
+ end;
+OnGuildBreak:
+ callfunc "F_GuildBreak","nguild_alde","N01";
+ end;
+OnAgitEliminate:
+ MapRespawnGuildID "nguild_alde",GetCastleData("nguild_alde",1),6;
+ Monster "nguild_alde",216,24,"EMPERIUM",1288,1,"Agit_N01::OnAgitBreak";
+ end;
+OnAgitEnd:
+ callfunc "F_AgitEnd","nguild_alde","N01";
+ end;
+}
+
+// Castle 2 ================================================================
+nguild_gef,0,0,0 script Agit_N02 -1,{
+OnInterIfInitOnce:
+ GetCastleData "nguild_gef",0,"::OnRecvCastleN02";
+ end;
+OnRecvCastleN02:
+ RequestGuildInfo GetCastleData("nguild_gef",1);
+ end;
+OnAgitStart:
+ callfunc "F_AgitStart","nguild_gef","N02",198,182;
+ end;
+OnAgitBreak:
+ callfunc "F_AgitBreak","nguild_gef","N02";
+ end;
+OnGuildBreak:
+ callfunc "F_GuildBreak","nguild_gef","N02";
+ end;
+OnAgitEliminate:
+ MapRespawnGuildID "nguild_gef",GetCastleData("nguild_gef",1),6;
+ Monster "nguild_gef",198,182,"EMPERIUM",1288,1,"Agit_N02::OnAgitBreak";
+ end;
+OnAgitEnd:
+ callfunc "F_AgitEnd","nguild_gef","N02";
+ end;
+}
+
+// Castle 3 ================================================================
+nguild_pay,0,0,0 script Agit_N03 -1,{
+OnInterIfInitOnce:
+ GetCastleData "nguild_pay",0,"::OnRecvCastleN03";
+ end;
+OnRecvCastleN03:
+ RequestGuildInfo GetCastleData("nguild_pay",1);
+ end;
+OnAgitStart:
+ callfunc "F_AgitStart","nguild_pay","N03",139,139;
+ end;
+OnAgitBreak:
+ callfunc "F_AgitBreak","nguild_pay","N03";
+ end;
+OnGuildBreak:
+ callfunc "F_GuildBreak","nguild_pay","N03";
+ end;
+OnAgitEliminate:
+ MapRespawnGuildID "nguild_pay",GetCastleData("nguild_pay",1),6;
+ Monster "nguild_pay",139,139,"EMPERIUM",1288,1,"Agit_N03::OnAgitBreak";
+ end;
+OnAgitEnd:
+ callfunc "F_AgitEnd","nguild_pay","N03";
+ end;
+}
+
+// Castle 4 ================================================================
+nguild_prt,0,0,0 script Agit_N04 -1,{
+OnInterIfInitOnce:
+ GetCastleData "nguild_prt",0,"::OnRecvCastleN04";
+ end;
+OnRecvCastleN04:
+ RequestGuildInfo GetCastleData("nguild_prt",1);
+ end;
+OnAgitStart:
+ callfunc "F_AgitStart","nguild_prt","N04",197,197;
+ end;
+OnAgitBreak:
+ callfunc "F_AgitBreak","nguild_prt","N04";
+ end;
+OnGuildBreak:
+ callfunc "F_GuildBreak","nguild_prt","N04";
+ end;
+OnAgitEliminate:
+ MapRespawnGuildID "nguild_prt",GetCastleData("nguild_prt",1),6;
+ Monster "nguild_prt",197,197,"EMPERIUM",1288,1,"Agit_N04::OnAgitBreak";
+ end;
+OnAgitEnd:
+ callfunc "F_AgitEnd","nguild_prt","N04";
+ end;
+}
diff --git a/npc/guild/nguild/nguild_flags.txt b/npc/events/nguild/nguild_flags.txt index bc8c6b3cd..6229ea8b8 100644 --- a/npc/guild/nguild/nguild_flags.txt +++ b/npc/events/nguild/nguild_flags.txt @@ -1,147 +1,147 @@ -//===== eAthena Script ======================================= -//= War of Emperium N Guild Flags -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.2 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= WoE flag scripts. Display guild emblems on flags. -//===== Additional Comments: ================================= -// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] -// 1.1 Inner Flags don't teleport you to your HQ anymore [Lupus] -// 1.2 updated flags to use the new arguments. [L0ne__W0lf] -//============================================================ - - -//============================================================================// -// Castle 1 -//============================================================================// -n_castle,110,96,1 script NGuild Aldebaran#a1-1 722,{ - callfunc "F_Flags","Al De Baran","nguild_alde",218,170,1,1; - close; - -OnRecvCastleN01: - FlagEmblem GetCastleData("nguild_alde",1); - end; -} - -nguild_alde,30,248,4 script NGuild Aldebaran#a1-6::NGuildAlde 722,{ - callfunc "F_Flags","Al De Baran","nguild_alde",218,170,0,1; - close; - -OnRecvCastleN01: - FlagEmblem GetCastleData("nguild_alde",1); - end; -} -// In Castle ============================================ -nguild_alde,30,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-7 722 -nguild_alde,37,248,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-8 722 -nguild_alde,37,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-9 722 -nguild_alde,95,80,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-10 722 -nguild_alde,95,59,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-11 722 -nguild_alde,62,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-12 722 -nguild_alde,70,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-13 722 -nguild_alde,74,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-14 722 -nguild_alde,62,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-15 722 -nguild_alde,66,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-16 722 -nguild_alde,70,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-17 722 -nguild_alde,74,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-18 722 -nguild_alde,203,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-19 722 -nguild_alde,210,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-20 722 - - - - -//============================================================================// -// Castle 2 -//============================================================================// -n_castle,110,109,3 script NGuild Geffen#g1-1 722,{ - callfunc "F_Flags","Geffen","nguild_gef",83,47,1,1; - close; - -OnRecvCastleN02: - FlagEmblem GetCastleData("nguild_gef",1); - end; -} - -nguild_gef,28,157,4 script NGuild Geffen#g1-6::NGuildGef 722,{ - callfunc "F_Flags","Geffen","nguild_gef",83,47,0,1; - close; - -OnRecvCastleN02: - FlagEmblem GetCastleData("nguild_gef",1); - end; -} -// In Castle ============================================= -nguild_gef,32,157,4 duplicate(NGuildGef) NGuild Geffen#g1-7 722 -nguild_gef,22,156,5 duplicate(NGuildGef) NGuild Geffen#g1-8 722 -nguild_gef,68,185,3 duplicate(NGuildGef) NGuild Geffen#g1-9 722 -nguild_gef,17,171,5 duplicate(NGuildGef) NGuild Geffen#g1-10 722 -nguild_gef,59,16,4 duplicate(NGuildGef) NGuild Geffen#g1-11 722 -nguild_gef,64,16,4 duplicate(NGuildGef) NGuild Geffen#g1-12 722 - - - -//============================================================================// -// Castle 3 -//============================================================================// -n_castle,94,109,5 script NGuild Payon#f1-1 722,{ - callfunc "F_Flags","Payon","nguild_pay",87,29,1,1; - close; - -OnRecvCastleN03: - FlagEmblem GetCastleData("nguild_pay",1); - end; -} - -nguild_pay,238,67,4 script NGuild Payon#f1-6::NGuildPay 722,{ - callfunc "F_Flags","Payon","nguild_pay",87,29,0,1; - close; - -OnRecvCastleN03: - FlagEmblem GetCastleData("nguild_pay",1); - end; -} -// In Castle =============================================== -nguild_pay,238,67,4 duplicate(NGuildPay) NGuild Payon#f1-6 722 -nguild_pay,233,67,4 duplicate(NGuildPay) NGuild Payon#f1-7 722 -nguild_pay,221,123,4 duplicate(NGuildPay) NGuild Payon#f1-8 722 -nguild_pay,221,116,4 duplicate(NGuildPay) NGuild Payon#f1-9 722 -nguild_pay,206,108,4 duplicate(NGuildPay) NGuild Payon#f1-10 722 -nguild_pay,212,108,4 duplicate(NGuildPay) NGuild Payon#f1-11 722 - - - - -//=============================================================================// -// Castle 4 -//=============================================================================// -n_castle,94,96,7 script NGuild Prontera#p1-1 722,{ - callfunc "F_Flags","Prontera","nguild_prt",97,174,1,1; - close; - -OnRecvCastleN04: - FlagEmblem GetCastleData("nguild_prt",1); - end; -} - -nguild_prt,58,56,4 script NGuild Prontera#p1-7::NGuildPrt 722,{ - callfunc "F_Flags","Prontera","nguild_prt",97,174,0,1; - close; - -OnRecvCastleN04: - FlagEmblem GetCastleData("nguild_prt",1); - end; -} -// In Castle ============================================= -nguild_prt,64,56,4 duplicate(NGuildPrt) NGuild Prontera#p1-8 722 -nguild_prt,76,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-9 722 -nguild_prt,84,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-10 722 -nguild_prt,94,39,4 duplicate(NGuildPrt) NGuild Prontera#p1-11 722 -nguild_prt,94,24,4 duplicate(NGuildPrt) NGuild Prontera#p1-12 722 -nguild_prt,73,14,4 duplicate(NGuildPrt) NGuild Prontera#p1-13 722 -nguild_prt,73,6,4 duplicate(NGuildPrt) NGuild Prontera#p1-14 722 -nguild_prt,55,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-15 722 -nguild_prt,45,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-16 722 +//===== eAthena Script =======================================
+//= War of Emperium N Guild Flags
+//===== By: ==================================================
+//= kobra_k88
+//===== Current Version: =====================================
+//= 1.2
+//===== Compatible With: =====================================
+//= eAthena 0.1+; RO Episode 4+
+//===== Description: =========================================
+//= WoE flag scripts. Display guild emblems on flags.
+//===== Additional Comments: =================================
+// Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
+// 1.1 Inner Flags don't teleport you to your HQ anymore [Lupus]
+// 1.2 updated flags to use the new arguments. [L0ne__W0lf]
+//============================================================
+
+
+//============================================================================//
+// Castle 1
+//============================================================================//
+n_castle,110,96,1 script NGuild Aldebaran#a1-1 722,{
+ callfunc "F_Flags","Al De Baran","nguild_alde",218,170,1,1;
+ close;
+
+OnRecvCastleN01:
+ FlagEmblem GetCastleData("nguild_alde",1);
+ end;
+}
+
+nguild_alde,30,248,4 script NGuild Aldebaran#a1-6::NGuildAlde 722,{
+ callfunc "F_Flags","Al De Baran","nguild_alde",218,170,0,1;
+ close;
+
+OnRecvCastleN01:
+ FlagEmblem GetCastleData("nguild_alde",1);
+ end;
+}
+// In Castle ============================================
+nguild_alde,30,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-7 722
+nguild_alde,37,248,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-8 722
+nguild_alde,37,246,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-9 722
+nguild_alde,95,80,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-10 722
+nguild_alde,95,59,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-11 722
+nguild_alde,62,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-12 722
+nguild_alde,70,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-13 722
+nguild_alde,74,75,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-14 722
+nguild_alde,62,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-15 722
+nguild_alde,66,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-16 722
+nguild_alde,70,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-17 722
+nguild_alde,74,64,2 duplicate(NGuildAlde) NGuild Aldebaran#a1-18 722
+nguild_alde,203,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-19 722
+nguild_alde,210,150,4 duplicate(NGuildAlde) NGuild Aldebaran#a1-20 722
+
+
+
+
+//============================================================================//
+// Castle 2
+//============================================================================//
+n_castle,110,109,3 script NGuild Geffen#g1-1 722,{
+ callfunc "F_Flags","Geffen","nguild_gef",83,47,1,1;
+ close;
+
+OnRecvCastleN02:
+ FlagEmblem GetCastleData("nguild_gef",1);
+ end;
+}
+
+nguild_gef,28,157,4 script NGuild Geffen#g1-6::NGuildGef 722,{
+ callfunc "F_Flags","Geffen","nguild_gef",83,47,0,1;
+ close;
+
+OnRecvCastleN02:
+ FlagEmblem GetCastleData("nguild_gef",1);
+ end;
+}
+// In Castle =============================================
+nguild_gef,32,157,4 duplicate(NGuildGef) NGuild Geffen#g1-7 722
+nguild_gef,22,156,5 duplicate(NGuildGef) NGuild Geffen#g1-8 722
+nguild_gef,68,185,3 duplicate(NGuildGef) NGuild Geffen#g1-9 722
+nguild_gef,17,171,5 duplicate(NGuildGef) NGuild Geffen#g1-10 722
+nguild_gef,59,16,4 duplicate(NGuildGef) NGuild Geffen#g1-11 722
+nguild_gef,64,16,4 duplicate(NGuildGef) NGuild Geffen#g1-12 722
+
+
+
+//============================================================================//
+// Castle 3
+//============================================================================//
+n_castle,94,109,5 script NGuild Payon#f1-1 722,{
+ callfunc "F_Flags","Payon","nguild_pay",87,29,1,1;
+ close;
+
+OnRecvCastleN03:
+ FlagEmblem GetCastleData("nguild_pay",1);
+ end;
+}
+
+nguild_pay,238,67,4 script NGuild Payon#f1-6::NGuildPay 722,{
+ callfunc "F_Flags","Payon","nguild_pay",87,29,0,1;
+ close;
+
+OnRecvCastleN03:
+ FlagEmblem GetCastleData("nguild_pay",1);
+ end;
+}
+// In Castle ===============================================
+nguild_pay,238,67,4 duplicate(NGuildPay) NGuild Payon#f1-6 722
+nguild_pay,233,67,4 duplicate(NGuildPay) NGuild Payon#f1-7 722
+nguild_pay,221,123,4 duplicate(NGuildPay) NGuild Payon#f1-8 722
+nguild_pay,221,116,4 duplicate(NGuildPay) NGuild Payon#f1-9 722
+nguild_pay,206,108,4 duplicate(NGuildPay) NGuild Payon#f1-10 722
+nguild_pay,212,108,4 duplicate(NGuildPay) NGuild Payon#f1-11 722
+
+
+
+
+//=============================================================================//
+// Castle 4
+//=============================================================================//
+n_castle,94,96,7 script NGuild Prontera#p1-1 722,{
+ callfunc "F_Flags","Prontera","nguild_prt",97,174,1,1;
+ close;
+
+OnRecvCastleN04:
+ FlagEmblem GetCastleData("nguild_prt",1);
+ end;
+}
+
+nguild_prt,58,56,4 script NGuild Prontera#p1-7::NGuildPrt 722,{
+ callfunc "F_Flags","Prontera","nguild_prt",97,174,0,1;
+ close;
+
+OnRecvCastleN04:
+ FlagEmblem GetCastleData("nguild_prt",1);
+ end;
+}
+// In Castle =============================================
+nguild_prt,64,56,4 duplicate(NGuildPrt) NGuild Prontera#p1-8 722
+nguild_prt,76,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-9 722
+nguild_prt,84,32,4 duplicate(NGuildPrt) NGuild Prontera#p1-10 722
+nguild_prt,94,39,4 duplicate(NGuildPrt) NGuild Prontera#p1-11 722
+nguild_prt,94,24,4 duplicate(NGuildPrt) NGuild Prontera#p1-12 722
+nguild_prt,73,14,4 duplicate(NGuildPrt) NGuild Prontera#p1-13 722
+nguild_prt,73,6,4 duplicate(NGuildPrt) NGuild Prontera#p1-14 722
+nguild_prt,55,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-15 722
+nguild_prt,45,46,4 duplicate(NGuildPrt) NGuild Prontera#p1-16 722
diff --git a/npc/guild/nguild/nguild_guardians.txt b/npc/events/nguild/nguild_guardians.txt index ff16d075f..9410280c0 100644 --- a/npc/guild/nguild/nguild_guardians.txt +++ b/npc/events/nguild/nguild_guardians.txt @@ -1,89 +1,89 @@ -//===== eAthena Script ======================================= -//= War of Emperium - nguild guardians script -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.0 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= Re-spawns guardians on server start if they have been -//= purchased. Also announces when a guardian dies. -//===== Additional Comments: ================================= -//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] -//============================================================ - - -//------------------------------------------------------------------------------ -nguild_alde,216,24,0 script Guardian_N01 -1,{ -OnAgitInit: - if (GetCastleData("nguild_alde",10) == 1) guardian "nguild_alde",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0; - if (GetCastleData("nguild_alde",11) == 1) guardian "nguild_alde",117,42,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",1; - if (GetCastleData("nguild_alde",12) == 1) guardian "nguild_alde",207,153,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",2; - if (GetCastleData("nguild_alde",13) == 1) guardian "nguild_alde",68,70,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",3; - if (GetCastleData("nguild_alde",14) == 1) guardian "nguild_alde",187,140,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",4; - if (GetCastleData("nguild_alde",15) == 1) guardian "nguild_alde",62,204,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",5; - if (GetCastleData("nguild_alde",16) == 1) guardian "nguild_alde",113,100,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",6; - if (GetCastleData("nguild_alde",17) == 1) guardian "nguild_alde",211,174,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - MapAnnounce "nguild_alde","A Guardian Has Fallen",17; - end; -} - -//------------------------------------------------------------------------------ -nguild_gef,198,182,0 script Guardian_N02 -1,{ -OnAgitInit: - if (GetCastleData("nguild_gef",10) == 1) guardian "nguild_gef",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0; - if (GetCastleData("nguild_gef",11) == 1) guardian "nguild_gef",64,180,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",1; - if (GetCastleData("nguild_gef",12) == 1) guardian "nguild_gef",61,25,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",2; - if (GetCastleData("nguild_gef",13) == 1) guardian "nguild_gef",61,44,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",3; - if (GetCastleData("nguild_gef",14) == 1) guardian "nguild_gef",189,43,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",4; - if (GetCastleData("nguild_gef",15) == 1) guardian "nguild_gef",51,192,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",5; - if (GetCastleData("nguild_gef",16) == 1) guardian "nguild_gef",49,67,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",6; - if (GetCastleData("nguild_gef",17) == 1) guardian "nguild_gef",181,14,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - MapAnnounce "nguild_gef","A Guardian Has Fallen",17; - end; -} -//------------------------------------------------------------------------------ -nguild_pay,139,139,0 script Guardian_N03 -1,{ -OnAgitInit: - if (GetCastleData("nguild_pay",10) == 1) guardian "nguild_pay",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0; - if (GetCastleData("nguild_pay",11) == 1) guardian "nguild_pay",69,26,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",1; - if (GetCastleData("nguild_pay",12) == 1) guardian "nguild_pay",23,141,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",2; - if (GetCastleData("nguild_pay",13) == 1) guardian "nguild_pay",224,87,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",3; - if (GetCastleData("nguild_pay",14) == 1) guardian "nguild_pay",81,45,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",4; - if (GetCastleData("nguild_pay",15) == 1) guardian "nguild_pay",214,53,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",5; - if (GetCastleData("nguild_pay",16) == 1) guardian "nguild_pay",69,26,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",6; - if (GetCastleData("nguild_pay",17) == 1) guardian "nguild_pay",23,141,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - MapAnnounce "nguild_pay","A Guardian Has Fallen",17; - end; -} -//------------------------------------------------------------------------------ -nguild_prt,197,197,0 script Guardian_N04 -1,{ -OnAgitInit: - if (GetCastleData("nguild_prt",10) == 1) guardian "nguild_prt",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0; - if (GetCastleData("nguild_prt",11) == 1) guardian "nguild_prt",113,200,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",1; - if (GetCastleData("nguild_prt",12) == 1) guardian "nguild_prt",111,186,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",2; - if (GetCastleData("nguild_prt",13) == 1) guardian "nguild_prt",76,202,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",3; - if (GetCastleData("nguild_prt",14) == 1) guardian "nguild_prt",90,26,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",4; - if (GetCastleData("nguild_prt",15) == 1) guardian "nguild_prt",58,59,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",5; - if (GetCastleData("nguild_prt",16) == 1) guardian "nguild_prt",112,200,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",6; - if (GetCastleData("nguild_prt",17) == 1) guardian "nguild_prt",101,194,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",7; - end; - -OnGuardianDied: - // Event when Guardian dies - MapAnnounce "nguild_prt","A Guardian Has Fallen",17; - end; -} +//===== eAthena Script =======================================
+//= War of Emperium - nguild guardians script
+//===== By: ==================================================
+//= kobra_k88
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= eAthena 0.1+; RO Episode 4+
+//===== Description: =========================================
+//= Re-spawns guardians on server start if they have been
+//= purchased. Also announces when a guardian dies.
+//===== Additional Comments: =================================
+//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
+//============================================================
+
+
+//------------------------------------------------------------------------------
+nguild_alde,216,24,0 script Guardian_N01 -1,{
+OnAgitInit:
+ if (GetCastleData("nguild_alde",10) == 1) guardian "nguild_alde",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0;
+ if (GetCastleData("nguild_alde",11) == 1) guardian "nguild_alde",117,42,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",1;
+ if (GetCastleData("nguild_alde",12) == 1) guardian "nguild_alde",207,153,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",2;
+ if (GetCastleData("nguild_alde",13) == 1) guardian "nguild_alde",68,70,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",3;
+ if (GetCastleData("nguild_alde",14) == 1) guardian "nguild_alde",187,140,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",4;
+ if (GetCastleData("nguild_alde",15) == 1) guardian "nguild_alde",62,204,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",5;
+ if (GetCastleData("nguild_alde",16) == 1) guardian "nguild_alde",113,100,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",6;
+ if (GetCastleData("nguild_alde",17) == 1) guardian "nguild_alde",211,174,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",7;
+ end;
+
+OnGuardianDied:
+ // Event when Guardian dies
+ MapAnnounce "nguild_alde","A Guardian Has Fallen",17;
+ end;
+}
+
+//------------------------------------------------------------------------------
+nguild_gef,198,182,0 script Guardian_N02 -1,{
+OnAgitInit:
+ if (GetCastleData("nguild_gef",10) == 1) guardian "nguild_gef",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0;
+ if (GetCastleData("nguild_gef",11) == 1) guardian "nguild_gef",64,180,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",1;
+ if (GetCastleData("nguild_gef",12) == 1) guardian "nguild_gef",61,25,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",2;
+ if (GetCastleData("nguild_gef",13) == 1) guardian "nguild_gef",61,44,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",3;
+ if (GetCastleData("nguild_gef",14) == 1) guardian "nguild_gef",189,43,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",4;
+ if (GetCastleData("nguild_gef",15) == 1) guardian "nguild_gef",51,192,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",5;
+ if (GetCastleData("nguild_gef",16) == 1) guardian "nguild_gef",49,67,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",6;
+ if (GetCastleData("nguild_gef",17) == 1) guardian "nguild_gef",181,14,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",7;
+ end;
+
+OnGuardianDied:
+ // Event when Guardian dies
+ MapAnnounce "nguild_gef","A Guardian Has Fallen",17;
+ end;
+}
+//------------------------------------------------------------------------------
+nguild_pay,139,139,0 script Guardian_N03 -1,{
+OnAgitInit:
+ if (GetCastleData("nguild_pay",10) == 1) guardian "nguild_pay",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0;
+ if (GetCastleData("nguild_pay",11) == 1) guardian "nguild_pay",69,26,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",1;
+ if (GetCastleData("nguild_pay",12) == 1) guardian "nguild_pay",23,141,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",2;
+ if (GetCastleData("nguild_pay",13) == 1) guardian "nguild_pay",224,87,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",3;
+ if (GetCastleData("nguild_pay",14) == 1) guardian "nguild_pay",81,45,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",4;
+ if (GetCastleData("nguild_pay",15) == 1) guardian "nguild_pay",214,53,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",5;
+ if (GetCastleData("nguild_pay",16) == 1) guardian "nguild_pay",69,26,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",6;
+ if (GetCastleData("nguild_pay",17) == 1) guardian "nguild_pay",23,141,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",7;
+ end;
+
+OnGuardianDied:
+ // Event when Guardian dies
+ MapAnnounce "nguild_pay","A Guardian Has Fallen",17;
+ end;
+}
+//------------------------------------------------------------------------------
+nguild_prt,197,197,0 script Guardian_N04 -1,{
+OnAgitInit:
+ if (GetCastleData("nguild_prt",10) == 1) guardian "nguild_prt",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0;
+ if (GetCastleData("nguild_prt",11) == 1) guardian "nguild_prt",113,200,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",1;
+ if (GetCastleData("nguild_prt",12) == 1) guardian "nguild_prt",111,186,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",2;
+ if (GetCastleData("nguild_prt",13) == 1) guardian "nguild_prt",76,202,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",3;
+ if (GetCastleData("nguild_prt",14) == 1) guardian "nguild_prt",90,26,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",4;
+ if (GetCastleData("nguild_prt",15) == 1) guardian "nguild_prt",58,59,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",5;
+ if (GetCastleData("nguild_prt",16) == 1) guardian "nguild_prt",112,200,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",6;
+ if (GetCastleData("nguild_prt",17) == 1) guardian "nguild_prt",101,194,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",7;
+ end;
+
+OnGuardianDied:
+ // Event when Guardian dies
+ MapAnnounce "nguild_prt","A Guardian Has Fallen",17;
+ end;
+}
diff --git a/npc/guild/nguild/nguild_kafras.txt b/npc/events/nguild/nguild_kafras.txt index f0c43db53..4d4f17162 100644 --- a/npc/guild/nguild/nguild_kafras.txt +++ b/npc/events/nguild/nguild_kafras.txt @@ -1,53 +1,53 @@ -//===== eAthena Script ======================================= -//= War of Emperium Kafras for N Guild Castles -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.1 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 5+ -//===== Description: ========================================= -//= Provides Kafra services for guild members of NGuild Castles. -//= Used in conjuction with function F_Kafra. -//===== 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] -//============================================================ - - -// Castle 1 =============================================== -nguild_alde,218,170,0 script Kafra Service#N01 117,{ - callfunc "F_GKafra", "nguild_alde", "Prontera"; - end; -OnRecvCastleN01: - if (GetCastleData("nguild_alde",9) < 1) disablenpc "Kafra Service#N01"; - end; -} - -// Castle 2 =============================================== -//nguild_gef,96,173,0 script Kafra Service#N02 117,{ -nguild_gef,35,37,0 script Kafra Service#N02 117,{ - callfunc "F_GKafra", "nguild_gef", "Prontera"; - end; -OnRecvCastleN02: - if (GetCastleData("nguild_gef",9) < 1) disablenpc "Kafra Service#N02"; - end; -} - -// Castle 3 =============================================== -nguild_pay,128,58,3 script Kafra Service#N03 117,{ - callfunc "F_GKafra", "nguild_pay", "Prontera"; - end; -OnRecvCastleN03: - if (GetCastleData("nguild_pay",9) < 1) disablenpc "Kafra Service#N03"; - end; -} - -// Castle 4 =============================================== -nguild_prt,96,173,0 script Kafra Service#N04 117,{ - callfunc "F_GKafra", "nguild_prt", "Prontera"; - end; -OnRecvCastleN04: - if (GetCastleData("nguild_prt",9) < 1) disablenpc "Kafra Service#N04"; - end; -} +//===== eAthena Script =======================================
+//= War of Emperium Kafras for N Guild Castles
+//===== By: ==================================================
+//= kobra_k88
+//===== Current Version: =====================================
+//= 1.1
+//===== Compatible With: =====================================
+//= eAthena 0.1+; RO Episode 5+
+//===== Description: =========================================
+//= Provides Kafra services for guild members of NGuild Castles.
+//= Used in conjuction with function F_Kafra.
+//===== 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]
+//============================================================
+
+
+// Castle 1 ===============================================
+nguild_alde,218,170,0 script Kafra Service#N01 117,{
+ callfunc "F_GKafra", "nguild_alde", "Prontera";
+ end;
+OnRecvCastleN01:
+ if (GetCastleData("nguild_alde",9) < 1) disablenpc "Kafra Service#N01";
+ end;
+}
+
+// Castle 2 ===============================================
+//nguild_gef,96,173,0 script Kafra Service#N02 117,{
+nguild_gef,35,37,0 script Kafra Service#N02 117,{
+ callfunc "F_GKafra", "nguild_gef", "Prontera";
+ end;
+OnRecvCastleN02:
+ if (GetCastleData("nguild_gef",9) < 1) disablenpc "Kafra Service#N02";
+ end;
+}
+
+// Castle 3 ===============================================
+nguild_pay,128,58,3 script Kafra Service#N03 117,{
+ callfunc "F_GKafra", "nguild_pay", "Prontera";
+ end;
+OnRecvCastleN03:
+ if (GetCastleData("nguild_pay",9) < 1) disablenpc "Kafra Service#N03";
+ end;
+}
+
+// Castle 4 ===============================================
+nguild_prt,96,173,0 script Kafra Service#N04 117,{
+ callfunc "F_GKafra", "nguild_prt", "Prontera";
+ end;
+OnRecvCastleN04:
+ if (GetCastleData("nguild_prt",9) < 1) disablenpc "Kafra Service#N04";
+ end;
+}
diff --git a/npc/guild/nguild/nguild_managers.txt b/npc/events/nguild/nguild_managers.txt index 9f54b2a33..65ff74f12 100644 --- a/npc/guild/nguild/nguild_managers.txt +++ b/npc/events/nguild/nguild_managers.txt @@ -1,85 +1,85 @@ -//===== eAthena Script ======================================= -//= War of Emperium Managers for N Guild Castles -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.0 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= -//===== Additional Comments: ================================= -//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] -//============================================================ - - -// Castle 1 ================================================================================== -nguild_alde,218,175,0 script Frolo 55,{ - if(callfunc("F_GldManager","Frolo","nguild_alde",119,223,"N01") == 0) close; - - if(@GDnum==10) guardian "nguild_alde",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0; - if(@GDnum==11) guardian "nguild_alde",117,42,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",1; - if(@GDnum==12) guardian "nguild_alde",207,153,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",2; - if(@GDnum==13) guardian "nguild_alde",68,70,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",3; - if(@GDnum==14) guardian "nguild_alde",187,140,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",4; - if(@GDnum==15) guardian "nguild_alde",62,204,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",5; - if(@GDnum==16) guardian "nguild_alde",113,100,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",6; - if(@GDnum==17) guardian "nguild_alde",211,174,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",7; - mes "[Frolo]"; - mes "Guardian has been installed, the guardian will protect our guild base against enemies."; - close; -} - - -// Castle 2 ================================================================================== -nguild_gef,40,48,5 script Leiber 55,{ - if(callfunc("F_GldManager","Leiber","nguild_gef",155,112,"N02") == 0) close; - - if(@GDnum==10) guardian "nguild_gef",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0; - if(@GDnum==11) guardian "nguild_gef",64,180,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",1; - if(@GDnum==12) guardian "nguild_gef",61,25,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",2; - if(@GDnum==13) guardian "nguild_gef",61,44,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",3; - if(@GDnum==14) guardian "nguild_gef",189,43,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",4; - if(@GDnum==15) guardian "nguild_gef",51,192,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",5; - if(@GDnum==16) guardian "nguild_gef",49,67,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",6; - if(@GDnum==17) guardian "nguild_gef",181,14,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",7; - mes "[Leiber]"; - mes "Guardian has been installed, the guardian will protect our guild base against enemies."; - close; -} - - -// Castle 3 ================================================================================== -nguild_pay,120,58,4 script Dundar 55,{ - if(callfunc("F_GldManager","Dundar","nguild_pay",290,7,"N03") == 0) close; - - if(@GDnum==10) guardian "nguild_pay",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0; - if(@GDnum==11) guardian "nguild_pay",69,26,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",1; - if(@GDnum==12) guardian "nguild_pay",23,141,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",2; - if(@GDnum==13) guardian "nguild_pay",224,87,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",3; - if(@GDnum==14) guardian "nguild_pay",81,45,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",4; - if(@GDnum==15) guardian "nguild_pay",214,53,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",5; - if(@GDnum==16) guardian "nguild_pay",69,26,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",6; - if(@GDnum==17) guardian "nguild_pay",23,141,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",7; - mes "[Dundar]"; - mes "Guardian has been installed, the guardian will protect our guild base against enemies."; - close; -} - - -// Castle 4 ================================================================================== -nguild_prt,112,181,0 script Thefton 55,{ - if(callfunc("F_GldManager","Thefton","nguild_prt",15,209,"N04") == 0) close; - - if(@GDnum==10) guardian "nguild_prt",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0; - if(@GDnum==11) guardian "nguild_prt",113,200,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",1; - if(@GDnum==12) guardian "nguild_prt",111,186,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",2; - if(@GDnum==13) guardian "nguild_prt",76,202,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",3; - if(@GDnum==14) guardian "nguild_prt",90,26,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",4; - if(@GDnum==15) guardian "nguild_prt",58,59,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",5; - if(@GDnum==16) guardian "nguild_prt",112,200,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",6; - if(@GDnum==17) guardian "nguild_prt",101,194,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",7; - mes "[Thefton]"; - mes "Guardian has been installed, the guardian will protect our guild base against enemies."; - close; -} +//===== eAthena Script =======================================
+//= War of Emperium Managers for N Guild Castles
+//===== By: ==================================================
+//= kobra_k88
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= eAthena 0.1+; RO Episode 4+
+//===== Description: =========================================
+//=
+//===== Additional Comments: =================================
+//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
+//============================================================
+
+
+// Castle 1 ==================================================================================
+nguild_alde,218,175,0 script Frolo 55,{
+ if(callfunc("F_GldManager","Frolo","nguild_alde",119,223,"N01") == 0) close;
+
+ if(@GDnum==10) guardian "nguild_alde",18,219,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",0;
+ if(@GDnum==11) guardian "nguild_alde",117,42,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",1;
+ if(@GDnum==12) guardian "nguild_alde",207,153,"Soldier Guardian",1287,"Guardian_N01::OnGuardianDied",2;
+ if(@GDnum==13) guardian "nguild_alde",68,70,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",3;
+ if(@GDnum==14) guardian "nguild_alde",187,140,"Archer Guardian",1285,"Guardian_N01::OnGuardianDied",4;
+ if(@GDnum==15) guardian "nguild_alde",62,204,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",5;
+ if(@GDnum==16) guardian "nguild_alde",113,100,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",6;
+ if(@GDnum==17) guardian "nguild_alde",211,174,"Knight Guardian",1286,"Guardian_N01::OnGuardianDied",7;
+ mes "[Frolo]";
+ mes "Guardian has been installed, the guardian will protect our guild base against enemies.";
+ close;
+}
+
+
+// Castle 2 ==================================================================================
+nguild_gef,40,48,5 script Leiber 55,{
+ if(callfunc("F_GldManager","Leiber","nguild_gef",155,112,"N02") == 0) close;
+
+ if(@GDnum==10) guardian "nguild_gef",30,178,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",0;
+ if(@GDnum==11) guardian "nguild_gef",64,180,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",1;
+ if(@GDnum==12) guardian "nguild_gef",61,25,"Soldier Guardian",1287,"Guardian_N02::OnGuardianDied",2;
+ if(@GDnum==13) guardian "nguild_gef",61,44,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",3;
+ if(@GDnum==14) guardian "nguild_gef",189,43,"Archer Guardian",1285,"Guardian_N02::OnGuardianDied",4;
+ if(@GDnum==15) guardian "nguild_gef",51,192,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",5;
+ if(@GDnum==16) guardian "nguild_gef",49,67,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",6;
+ if(@GDnum==17) guardian "nguild_gef",181,14,"Knight Guardian",1286,"Guardian_N02::OnGuardianDied",7;
+ mes "[Leiber]";
+ mes "Guardian has been installed, the guardian will protect our guild base against enemies.";
+ close;
+}
+
+
+// Castle 3 ==================================================================================
+nguild_pay,120,58,4 script Dundar 55,{
+ if(callfunc("F_GldManager","Dundar","nguild_pay",290,7,"N03") == 0) close;
+
+ if(@GDnum==10) guardian "nguild_pay",210,120,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",0;
+ if(@GDnum==11) guardian "nguild_pay",69,26,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",1;
+ if(@GDnum==12) guardian "nguild_pay",23,141,"Soldier Guardian",1287,"Guardian_N03::OnGuardianDied",2;
+ if(@GDnum==13) guardian "nguild_pay",224,87,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",3;
+ if(@GDnum==14) guardian "nguild_pay",81,45,"Archer Guardian",1285,"Guardian_N03::OnGuardianDied",4;
+ if(@GDnum==15) guardian "nguild_pay",214,53,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",5;
+ if(@GDnum==16) guardian "nguild_pay",69,26,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",6;
+ if(@GDnum==17) guardian "nguild_pay",23,141,"Knight Guardian",1286,"Guardian_N03::OnGuardianDied",7;
+ mes "[Dundar]";
+ mes "Guardian has been installed, the guardian will protect our guild base against enemies.";
+ close;
+}
+
+
+// Castle 4 ==================================================================================
+nguild_prt,112,181,0 script Thefton 55,{
+ if(callfunc("F_GldManager","Thefton","nguild_prt",15,209,"N04") == 0) close;
+
+ if(@GDnum==10) guardian "nguild_prt",196,92,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",0;
+ if(@GDnum==11) guardian "nguild_prt",113,200,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",1;
+ if(@GDnum==12) guardian "nguild_prt",111,186,"Soldier Guardian",1287,"Guardian_N04::OnGuardianDied",2;
+ if(@GDnum==13) guardian "nguild_prt",76,202,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",3;
+ if(@GDnum==14) guardian "nguild_prt",90,26,"Archer Guardian",1285,"Guardian_N04::OnGuardianDied",4;
+ if(@GDnum==15) guardian "nguild_prt",58,59,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",5;
+ if(@GDnum==16) guardian "nguild_prt",112,200,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",6;
+ if(@GDnum==17) guardian "nguild_prt",101,194,"Knight Guardian",1286,"Guardian_N04::OnGuardianDied",7;
+ mes "[Thefton]";
+ mes "Guardian has been installed, the guardian will protect our guild base against enemies.";
+ close;
+}
diff --git a/npc/guild/nguild/nguild_treas.txt b/npc/events/nguild/nguild_treas.txt index 6c78cccad..445d334dc 100644 --- a/npc/guild/nguild/nguild_treas.txt +++ b/npc/events/nguild/nguild_treas.txt @@ -1,117 +1,117 @@ -//===== eAthena Script ======================================= -//= War of Emperium Treasure Rooms for NGuild Guild Castles -//===== By: ================================================== -//= kobra_k88 -//===== Current Version: ===================================== -//= 1.2 -//===== Compatible With: ===================================== -//= eAthena 0.1+; RO Episode 4+ -//===== Description: ========================================= -//= -//===== Additional Comments: ================================= -//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88] -//= 1.2 Official treasure spawn [Lupus] -//============================================================ - - -//<=============================== Castle 1 =================================>\\ - -// Treasure Spawn ----------------------- -nguild_alde,1,1,1 script Treasure_N01 -1,{ - -OnRecvCastleN01: - end; -OnInit: - if($boxNumN01 == 0) end; - set $@bxN01, $boxNumN01; - callfunc "F_GldTreas","nguild_alde","N01",$boxNumN01,$@bxN01,$@boxIdN01,1324+rand(10),114,218,123,227,1; - end; - -OnDied: - mapannounce "nguild_alde","Treasure Chest Broken Open",17; - set $boxNumN01, $boxNumN01 -1; - if($boxNumN01 == 0) mapannounce "nguild_alde", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; - end; -} - -// Treasure Room Switch -------------------- -nguild_alde,123,223,0 script Switch#TresN01 111,{ - callfunc "F_GldTreasSw", "nguild_alde",218,176; - end; -} - -//<================================ Castle 2 ================================>\\ - -// Treasure Spawn ---------------------------- -nguild_gef,1,1,1 script Treasure_N02 -1,{ - -OnRecvCastleN02: - end; -OnInit: - if($boxNumN02 == 0) end; - set $@bxN02, $boxNumN02; - callfunc "F_GldTreas","nguild_gef","N02",$boxNumN02,$@bxN02,$@boxIdN02,1334+rand(10),150,108,158,114,1; - end; - -OnDied: - mapannounce "nguild_gef","Treasure Chest Broken Open",17; - set $boxNumN02, $boxNumN02 -1; - if($boxNumN02 == 0) mapannounce "nguild_gef", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; - end; -} - -// Room Switch --------------------------------------------------------- -nguild_gef,152,117,0 script Switch#TresN02 111,{ - callfunc "F_GldTreasSw","nguild_gef",40,49; - end; -} - -//<================================ Castle 3 ================================>\\ - -// Treasure Spawn --------------------------- -nguild_pay,1,1,0 script Treasure_N03 -1,{ -OnRecvCastleN03: - end; -OnInit: - if($boxNumN03 == 0) end; - set $@bxN03, $boxNumN03; - callfunc "F_GldTreas","nguild_pay","N03",$boxNumN03,$@bxN03,$@boxIdN03,1344+rand(10),286,4,295,13,1; - end; - -OnDied: - mapannounce "nguild_pay","Treasure Chest Broken Open",17; - set $boxNumN03, $boxNumN03 -1; - if($boxNumN03 == 0) mapannounce "nguild_pay", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; - end; -} - -// Treasure Room Switch --------------------------------------------------- -nguild_pay,295,8,0 script Switch#TresN03 111,{ - callfunc "F_GldTreasSw", "nguild_pay",120,59; - end; -} - -//<================================ Castle 4 ================================>\\ - -// Treasure Spawn ------------------------------- -nguild_prt,1,1,0 script Treasure_N04 -1,{ -OnRecvCastleN04: - end; -OnInit: - if($boxNumN04 == 0) end; - set $@bxN04, $boxNumN04; - callfunc "F_GldTreas","nguild_prt","N04",$boxNumN04,$@bxN04,$@boxIdN04,1354+rand(10),6,204,15,213,1; - end; - -OnDied: - mapannounce "nguild_prt","Treasure Chest Broken Open",17; - set $boxNumN04, $boxNumN04 -1; - if($boxNumN04 == 0) mapannounce "nguild_prt", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0; - end; -} - -// Treasure Room Switch ---------------------------------------------------- -nguild_prt,15,209,0 script Switch#TresN04 111,{ - callfunc "F_GldTreasSw", "nguild_prt",109,179; - end; -} +//===== eAthena Script =======================================
+//= War of Emperium Treasure Rooms for NGuild Guild Castles
+//===== By: ==================================================
+//= kobra_k88
+//===== Current Version: =====================================
+//= 1.2
+//===== Compatible With: =====================================
+//= eAthena 0.1+; RO Episode 4+
+//===== Description: =========================================
+//=
+//===== Additional Comments: =================================
+//= Based off existing guild scripts. Do not know if it is accurate.[kobra_k88]
+//= 1.2 Official treasure spawn [Lupus]
+//============================================================
+
+
+//<=============================== Castle 1 =================================>\\
+
+// Treasure Spawn -----------------------
+nguild_alde,1,1,1 script Treasure_N01 -1,{
+
+OnRecvCastleN01:
+ end;
+OnInit:
+ if($boxNumN01 == 0) end;
+ set $@bxN01, $boxNumN01;
+ callfunc "F_GldTreas","nguild_alde","N01",$boxNumN01,$@bxN01,$@boxIdN01,1324+rand(10),114,218,123,227,1;
+ end;
+
+OnDied:
+ mapannounce "nguild_alde","Treasure Chest Broken Open",17;
+ set $boxNumN01, $boxNumN01 -1;
+ if($boxNumN01 == 0) mapannounce "nguild_alde", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ end;
+}
+
+// Treasure Room Switch --------------------
+nguild_alde,123,223,0 script Switch#TresN01 111,{
+ callfunc "F_GldTreasSw", "nguild_alde",218,176;
+ end;
+}
+
+//<================================ Castle 2 ================================>\\
+
+// Treasure Spawn ----------------------------
+nguild_gef,1,1,1 script Treasure_N02 -1,{
+
+OnRecvCastleN02:
+ end;
+OnInit:
+ if($boxNumN02 == 0) end;
+ set $@bxN02, $boxNumN02;
+ callfunc "F_GldTreas","nguild_gef","N02",$boxNumN02,$@bxN02,$@boxIdN02,1334+rand(10),150,108,158,114,1;
+ end;
+
+OnDied:
+ mapannounce "nguild_gef","Treasure Chest Broken Open",17;
+ set $boxNumN02, $boxNumN02 -1;
+ if($boxNumN02 == 0) mapannounce "nguild_gef", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ end;
+}
+
+// Room Switch ---------------------------------------------------------
+nguild_gef,152,117,0 script Switch#TresN02 111,{
+ callfunc "F_GldTreasSw","nguild_gef",40,49;
+ end;
+}
+
+//<================================ Castle 3 ================================>\\
+
+// Treasure Spawn ---------------------------
+nguild_pay,1,1,0 script Treasure_N03 -1,{
+OnRecvCastleN03:
+ end;
+OnInit:
+ if($boxNumN03 == 0) end;
+ set $@bxN03, $boxNumN03;
+ callfunc "F_GldTreas","nguild_pay","N03",$boxNumN03,$@bxN03,$@boxIdN03,1344+rand(10),286,4,295,13,1;
+ end;
+
+OnDied:
+ mapannounce "nguild_pay","Treasure Chest Broken Open",17;
+ set $boxNumN03, $boxNumN03 -1;
+ if($boxNumN03 == 0) mapannounce "nguild_pay", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ end;
+}
+
+// Treasure Room Switch ---------------------------------------------------
+nguild_pay,295,8,0 script Switch#TresN03 111,{
+ callfunc "F_GldTreasSw", "nguild_pay",120,59;
+ end;
+}
+
+//<================================ Castle 4 ================================>\\
+
+// Treasure Spawn -------------------------------
+nguild_prt,1,1,0 script Treasure_N04 -1,{
+OnRecvCastleN04:
+ end;
+OnInit:
+ if($boxNumN04 == 0) end;
+ set $@bxN04, $boxNumN04;
+ callfunc "F_GldTreas","nguild_prt","N04",$boxNumN04,$@bxN04,$@boxIdN04,1354+rand(10),6,204,15,213,1;
+ end;
+
+OnDied:
+ mapannounce "nguild_prt","Treasure Chest Broken Open",17;
+ set $boxNumN04, $boxNumN04 -1;
+ if($boxNumN04 == 0) mapannounce "nguild_prt", "All of the treasure boxes have been opened. You must wait untill the next day for them to appear again.",0;
+ end;
+}
+
+// Treasure Room Switch ----------------------------------------------------
+nguild_prt,15,209,0 script Switch#TresN04 111,{
+ callfunc "F_GldTreasSw", "nguild_prt",109,179;
+ end;
+}
diff --git a/npc/guild/nguild/nguild_warper.txt b/npc/events/nguild/nguild_warper.txt index 548d37bb7..f57600e4a 100644 --- a/npc/guild/nguild/nguild_warper.txt +++ b/npc/events/nguild/nguild_warper.txt @@ -1,111 +1,111 @@ -//===== eAthena Script ======================================= -//= Novice's Guild Castles War of Emperium Usher NPC -//===== By: ================================================== -//= Lupus -//===== Current Version: ===================================== -//= 1.7 -//===== Compatible With: ===================================== -//= eAthena 1+ with eaclass(); RO Episode 4+ -//===== Description: ========================================= -//= -//===== Additional Comments: ================================= -//= Now you have access to 4 N Guild castles. They don't have -//= dungeons. And 2nd Classes can't seize these Castles. -//= These new castles need a new strategy. It would bring some -//= fun and live to your game. -//= NOTE: If your Guild Master is 2nd class, then he could -//= rule the Castles and gather Treasure Boxes after WoE -//= 1.1 Now 2nd classes can't enter NC place at all -//= 1.2 Restricted access of SG/SL. On warp clear some -//= unallowed buffs [Lupus] -//= 1.3 Restricted TK,High classes >=90 BaseLevel, -//= updated list of unallowed buffs [Lupus] -//= 1.4 Restricted it to 80 Base Level [Lupus] -//= 1.5 According to official info: 1 Treasure Chest per Castle -//= 1.6 Only 1st Class < 60 BaseLevel Players can participate -//= 1.7 Guilds with Emergency Call or with 9+ skill points -//= can't take part in NWoE. [Lupus] -//= TODO: The official entrance is in Izlude. -//============================================================ - - -prontera,146,163,6 script Novice Castles 729,{ - mes "[Cita]"; - if(getcharid(2)!=0){ - if(getgdskilllv(getcharid(2),10013)){ - mes "I see... your guild has Emergency Call mastered."; - mes "You cannot enter the Novice Castle area."; - emotion e_hmm; - emotion e_wah,1; - close; - } - if( - getgdskilllv(getcharid(2),10000) + - getgdskilllv(getcharid(2),10001) + - getgdskilllv(getcharid(2),10002) + - getgdskilllv(getcharid(2),10003) + - getgdskilllv(getcharid(2),10004) + - getgdskilllv(getcharid(2),10005) + - getgdskilllv(getcharid(2),10006) + - getgdskilllv(getcharid(2),10007) + - getgdskilllv(getcharid(2),10008) + - getgdskilllv(getcharid(2),10009) + - getgdskilllv(getcharid(2),10010) + - getgdskilllv(getcharid(2),10011) + - getgdskilllv(getcharid(2),10012) + - getgdskilllv(getcharid(2),10013) + - getgdskilllv(getcharid(2),10014) > 9 - ){ - mes "I see... your guild has Emergency Call mastered."; - mes "You cannot enter the Novice Castle area."; - emotion e_hmm; - emotion e_wah,1; - close; - } - } else { - mes "^FF0000You have to enter a guild to be able to hit Emperium!^000000"; - } - mes "I'm a new usher of Novice Castles."; - next; - if( !(eaclass()&(EAJL_2|EAJL_UPPER)) && BaseLevel<60 ) - menu "Warp me to Novice Castles",M_WARP,"Cancel",-; - - mes "[Cita]"; - mes "I'm sorry, you can't enter the sacred Novice Castles place."; - emotion e_sry; - close; - -M_WARP: - //remove several unallowed buffs - sc_end SC_ASSUMPTIO; - sc_end SC_IMPOSITIO; - sc_end SC_SUFFRAGIUM; - sc_end SC_MAGNIFICAT; - sc_end SC_WEAPONPERFECTION; - sc_end SC_GOSPEL; - sc_end SC_BASILICA; - sc_end SC_MAGICPOWER; - sc_end SC_MARIONETTE; - sc_end SC_MARIONETTE2; - sc_end SC_DEVOTION; - sc_end SC_SACRIFICE; - sc_end SC_MAXOVERTHRUST; - sc_end SC_SPIRIT; - warp "n_castle",102,93+rand(14); - close; -} - - -n_castle,102,107,5 script Cita 729,{ - mes "[Cita]"; - mes "Hello, "+ strcharinfo(0) +". Can I help you?"; - next; - menu "Warp me to Prontera!",-,"Cancel",LEnd; - - warp "prontera",155,177+rand(5); - close; - LEnd: - mes "[Cita]"; - mes "Ok."; - close; -} +//===== eAthena Script =======================================
+//= Novice's Guild Castles War of Emperium Usher NPC
+//===== By: ==================================================
+//= Lupus
+//===== Current Version: =====================================
+//= 1.7
+//===== Compatible With: =====================================
+//= eAthena 1+ with eaclass(); RO Episode 4+
+//===== Description: =========================================
+//=
+//===== Additional Comments: =================================
+//= Now you have access to 4 N Guild castles. They don't have
+//= dungeons. And 2nd Classes can't seize these Castles.
+//= These new castles need a new strategy. It would bring some
+//= fun and live to your game.
+//= NOTE: If your Guild Master is 2nd class, then he could
+//= rule the Castles and gather Treasure Boxes after WoE
+//= 1.1 Now 2nd classes can't enter NC place at all
+//= 1.2 Restricted access of SG/SL. On warp clear some
+//= unallowed buffs [Lupus]
+//= 1.3 Restricted TK,High classes >=90 BaseLevel,
+//= updated list of unallowed buffs [Lupus]
+//= 1.4 Restricted it to 80 Base Level [Lupus]
+//= 1.5 According to official info: 1 Treasure Chest per Castle
+//= 1.6 Only 1st Class < 60 BaseLevel Players can participate
+//= 1.7 Guilds with Emergency Call or with 9+ skill points
+//= can't take part in NWoE. [Lupus]
+//= TODO: The official entrance is in Izlude.
+//============================================================
+
+
+prontera,146,163,6 script Novice Castles 729,{
+ mes "[Cita]";
+ if(getcharid(2)!=0){
+ if(getgdskilllv(getcharid(2),10013)){
+ mes "I see... your guild has Emergency Call mastered.";
+ mes "You cannot enter the Novice Castle area.";
+ emotion e_hmm;
+ emotion e_wah,1;
+ close;
+ }
+ if(
+ getgdskilllv(getcharid(2),10000) +
+ getgdskilllv(getcharid(2),10001) +
+ getgdskilllv(getcharid(2),10002) +
+ getgdskilllv(getcharid(2),10003) +
+ getgdskilllv(getcharid(2),10004) +
+ getgdskilllv(getcharid(2),10005) +
+ getgdskilllv(getcharid(2),10006) +
+ getgdskilllv(getcharid(2),10007) +
+ getgdskilllv(getcharid(2),10008) +
+ getgdskilllv(getcharid(2),10009) +
+ getgdskilllv(getcharid(2),10010) +
+ getgdskilllv(getcharid(2),10011) +
+ getgdskilllv(getcharid(2),10012) +
+ getgdskilllv(getcharid(2),10013) +
+ getgdskilllv(getcharid(2),10014) > 9
+ ){
+ mes "I see... your guild has Emergency Call mastered.";
+ mes "You cannot enter the Novice Castle area.";
+ emotion e_hmm;
+ emotion e_wah,1;
+ close;
+ }
+ } else {
+ mes "^FF0000You have to enter a guild to be able to hit Emperium!^000000";
+ }
+ mes "I'm a new usher of Novice Castles.";
+ next;
+ if( !(eaclass()&(EAJL_2|EAJL_UPPER)) && BaseLevel<60 )
+ menu "Warp me to Novice Castles",M_WARP,"Cancel",-;
+
+ mes "[Cita]";
+ mes "I'm sorry, you can't enter the sacred Novice Castles place.";
+ emotion e_sry;
+ close;
+
+M_WARP:
+ //remove several unallowed buffs
+ sc_end SC_ASSUMPTIO;
+ sc_end SC_IMPOSITIO;
+ sc_end SC_SUFFRAGIUM;
+ sc_end SC_MAGNIFICAT;
+ sc_end SC_WEAPONPERFECTION;
+ sc_end SC_GOSPEL;
+ sc_end SC_BASILICA;
+ sc_end SC_MAGICPOWER;
+ sc_end SC_MARIONETTE;
+ sc_end SC_MARIONETTE2;
+ sc_end SC_DEVOTION;
+ sc_end SC_SACRIFICE;
+ sc_end SC_MAXOVERTHRUST;
+ sc_end SC_SPIRIT;
+ warp "n_castle",102,93+rand(14);
+ close;
+}
+
+
+n_castle,102,107,5 script Cita 729,{
+ mes "[Cita]";
+ mes "Hello, "+ strcharinfo(0) +". Can I help you?";
+ next;
+ menu "Warp me to Prontera!",-,"Cancel",LEnd;
+
+ warp "prontera",155,177+rand(5);
+ close;
+ LEnd:
+ mes "[Cita]";
+ mes "Ok.";
+ close;
+}
diff --git a/npc/guild/aldeg/aldeg_treas.txt b/npc/guild/aldeg/aldeg_treas.txt index b3a538792..06e5e70ff 100644 --- a/npc/guild/aldeg/aldeg_treas.txt +++ b/npc/guild/aldeg/aldeg_treas.txt @@ -40,6 +40,13 @@ aldeg_cas01,123,223,0 script Switch#TresA01 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +aldeg_cas01,118,223,0 script ban_warp#11 -1,8,8,{ +OnTouch: + callfunc "F_TreasProtect", "aldeg_cas01", "aldebaran",143,112; + end; +} + //<================================ Castle 2 ================================>\\ // Treasure Spawn ---------------------------- @@ -63,6 +70,15 @@ OnDied: // Treasure Room Switch ---------------------- aldeg_cas02,139,235,0 script Switch#TresA02 111,{ callfunc "F_GldTreasSw", "aldeg_cas02",78,75; + end; +} + + +// Treasure Room Protection ------------------------------------------------ +aldeg_cas02,135,230,0 script ban_warp#12 -1,8,8,{ +OnTouch: + callfunc "F_TreasProtect", "aldeg_cas02", "aldebaran",143,112; + end; } //<================================ Castle 3 ================================>\\ @@ -88,6 +104,14 @@ OnDied: // Treasure Room Switch ----------------------- aldeg_cas03,229,267,0 script Switch#TresA03 111,{ callfunc "F_GldTreasSw", "aldeg_cas03",110,119; + end; +} + +// Treasure Room Protection ------------------------------------------------ +aldeg_cas03,225,269,0 script ban_warp#13 -1,8,8,{ +OnTouch: + callfunc "F_TreasProtect", "aldeg_cas03", "aldebaran",143,112; + end; } //<================================ Castle 4 ================================>\\ @@ -113,6 +137,14 @@ OnDied: // Treasure Room Switch ------------------------- aldeg_cas04,83,17,0 script Switch#TresA04 111,{ callfunc "F_GldTreasSw", "aldeg_cas04",67,117; + end; +} + +// Treasure Room Protection ------------------------------------------------ +aldeg_cas04,84,13,0 script ban_warp#14 -1,8,8,{ +OnTouch: + callfunc "F_TreasProtect", "aldeg_cas04", "aldebaran",143,112; + end; } //<================================ Castle 5 ================================>\\ @@ -138,4 +170,13 @@ OnDied: // Treasure Room Switch --------------------------------- aldeg_cas05,64,8,0 script Switch#TresA05 111,{ callfunc "F_GldTreasSw", "aldeg_cas05",51,179; + end; +} + + +// Treasure Room Protection ------------------------------------------------ +aldeg_cas05,62,12,0 script ban_warp#15 -1,8,8,{ +OnTouch: + callfunc "F_TreasProtect", "aldeg_cas05", "aldebaran",143,112; + end; } diff --git a/npc/guild/gefg/gefg_treas.txt b/npc/guild/gefg/gefg_treas.txt index b514346ae..0e07a2669 100644 --- a/npc/guild/gefg/gefg_treas.txt +++ b/npc/guild/gefg/gefg_treas.txt @@ -40,6 +40,12 @@ gefg_cas01,152,117,0 script Switch#TresG01 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +gefg_cas01,154,112,0 script ban_warp#16 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "gefg_cas01", "geffen",120,38; + end; +} //<================================ Castle 2 ================================>\\ @@ -66,6 +72,12 @@ gefg_cas02,145,115,0 script Switch#TresG02 111,{ callfunc "F_GldTreasSw", "gefg_cas02",12,67; } +// Treasure Room Protection ------------------------------------------------ +gefg_cas02,140,116,0 script ban_warp#17 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "gefg_cas02", "geffen",120,38; + end; +} //<================================= Castle 3 ===============================>\\ @@ -93,6 +105,12 @@ gefg_cas03,275,289,0 script Switch#TresG03 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +gefg_cas03,271,290,0 script ban_warp#18 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "gefg_cas03", "geffen",120,38; + end; +} //<=============================== Castle 4 ================================>\\ @@ -120,6 +138,12 @@ gefg_cas04,117,123,0 script Switch#TresG04 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +gefg_cas04,116,119,0 script ban_warp#19 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "gefg_cas04", "geffen",120,38; + end; +} //<================================ Castle 5 ================================>\\ @@ -146,3 +170,10 @@ gefg_cas05,149,107,0 script Switch#TresG05 111,{ callfunc "F_GldTreasSw", "gefg_cas05",70,53; close; } + +// Treasure Room Protection ------------------------------------------------ +gefg_cas05,144,110,0 script ban_warp#20 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "gefg_cas05", "geffen",120,38; + end; +} diff --git a/npc/guild/gldfunc_ev_agit.txt b/npc/guild/gldfunc_ev_agit.txt index 49041a859..0f49643e2 100644 --- a/npc/guild/gldfunc_ev_agit.txt +++ b/npc/guild/gldfunc_ev_agit.txt @@ -4,7 +4,7 @@ //= jAthena - kalen (1.0) //= 1.1 by Akaru, ho|yAnge|X, and Valaris //===== Current Version: ===================================== -//= 1.3a +//= 1.4 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= @@ -26,6 +26,7 @@ //= v1.2a: Added OnAgitEnd function.[kobra_k88] //= 1.3 Added code for abandoning captured castles on /breakguild [Lupus] //= 1.3a fixed Defence / Economy underflow [Lupus] thanks2 kyoki +//= 1.4 updated a couple mapannounces in OnAgitBreak. [L0ne_W0lf] //============================================================ @@ -138,8 +139,8 @@ function script F_AgitBreak { SetCastleData getarg(0),3, @Defence; SetCastleData getarg(0),1, @GID; - MapAnnounce getarg(0),"The emperium has been destroyed.",17; - Announce "Guild Base [" + GetCastleName(getarg(0)) + "] has been taken by the [" + GetGuildName(@GID) + "] guild.",0; + MapAnnounce getarg(0),"The emperium has been destroyed.",bc_map,0x00CCFF; + Announce "The [" + GetCastleName(getarg(0)) + "] castle has been conquered by the [" + GetGuildName(@GID) + "] guild.",bc_map; GetCastleData getarg(0),0,"::OnRecvCastle"+getarg(1); disablenpc "Kafra Service#"+getarg(1); diff --git a/npc/guild/gldfunc_flag.txt b/npc/guild/gldfunc_flag.txt index fb7050c9c..654ad0d3b 100644 --- a/npc/guild/gldfunc_flag.txt +++ b/npc/guild/gldfunc_flag.txt @@ -4,7 +4,7 @@ //= jAthena - kalen (1.0) //= 1.1 by Akaru, ho|yAnge|X, and Valaris //===== Current Version: ===================================== -//= 1.4 +//= 1.5 //===== Compatible With: ===================================== //= eAthena 0.1+; RO Episode 4+ //===== Description: ========================================= @@ -23,6 +23,7 @@ //= v1.3: Can now only flag in from outside the castle [Kayla] //= v1.3a: Implemented k3dt's exploit fix [Vicious] //= v1.4: By default town flags are set to no longer show text. [L0ne_W0lf] +//= v1.5: Updated remaining dialog to iRO standards. [L0ne_W0lf] //============================================================ function script F_Flags { @@ -32,11 +33,17 @@ function script F_Flags { set @GID, GetCastleData(getarg(1),1); if (@GID != 0) goto L_Startg; - mes "[ Edict of the Divine Rune Midgard Kingdom of ]"; + mes " [ Edict of the Divine Rune Midgard Kingdom ]"; mes " "; - mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of " + getarg(0) + ", this guild base has not been taken by any guild yet"; + mes "1. Follow the ordinance of The Divine Rune Midgard Kingdom, "; + mes "We declare that"; + mes "there is no formal master of this castle."; mes " "; - mes "2. In order to take this guild base, you must defeat all the guardians that are protecting the guild base and eliminate the Emperium."; + mes "2. To the one who can "; + mes "overcome all trials"; + mes "and destroy the Emperium,"; + mes "the king will endow the one with"; + mes "ownership of this castle."; return; L_Startg: if ((getcharid(2) == @GID) && (getarg(4) == 1)) goto L_Startg2; @@ -45,18 +52,18 @@ L_Startg: mes "1. Following the ordinance of the"; mes "Divine Rune Midgard Kingdom,"; mes "we approve that this place is in"; - mes "private possession of ^ff0000" + GetGuildName(@GID) + "^000000 Guild."; + mes "the private possession of ^ff0000" + GetGuildName(@GID) + "^000000 Guild."; mes " "; mes "2. The guild Master of ^ff0000"+ GetGuildName(@GID) + "^000000 Guild is"; - mes "^0000FF" + GetGuildMaster(@GID) + "^000000"; + mes "^FF0000" + GetGuildMaster(@GID) + "^000000"; mes "If there is anyone who objects to this,"; mes " prove your strength and honor with a steel blade in your hand."; return; L_Startg2: - mes "[ Ringing Voice ]"; - mes "Brave one... would you return to your honorable be?"; + mes "Brave ones..."; + mes "Do you wish to return to your honorable place?"; next; - menu "Return.",M_Enter,"Cancel.",-; + menu "Return to the guild castle.",M_Enter,"Quit.",-; return; M_Enter: diff --git a/npc/guild/gldfunc_treasure.txt b/npc/guild/gldfunc_treasure.txt index 5ae24ddfd..8841fbb01 100644 --- a/npc/guild/gldfunc_treasure.txt +++ b/npc/guild/gldfunc_treasure.txt @@ -3,12 +3,13 @@ //===== By: ================================================== //= holyAngelX (1.0) Akaru and ho|yAnge|X (1.1) //===== Current Version: ===================================== -//= 1.8 +//= 1.9 //===== Compatible With: ===================================== //= eAthena 1+; RO Episode 4+ //===== Description: ========================================= //= F_GldTreas spawns treasure chests used by the guild master. //= F_GldTreasSw allows the player to get out of the treasure room. +//= F_TreasProtect removes non-guild master players from treasure room. //============================================== //= Break down of arguments used in the F_GldTreas: //= arg(0): name of guild castle @@ -26,6 +27,12 @@ //= arg(0): name of guild castle. //= arg(1): x1 coordinate for warp back to guild castle //= arg(2): y1 coordinate for warp back to guild castle +// +//= Break down of arguments used in the F_TreasProtect: +//= arg(0): name of guild castle. +//= arg(1): name of warp-to city +//= arg(2): x1 coordinate for warp-to city +//= arg(3): y1 coordinate for warp-to city //===== Additional Comments: ================================= //= 1.2 Treasure room Spawn, and Treasure room Switch scripts now use these functions.[kobra_k88] //= 1.2a Function now returns to script that called it. Removed TreasureSpawn2. @@ -38,6 +45,7 @@ //= 1.6 to Aegis X.2 formula 4..24 Treasure Chests [Lupus] //= 1.7 Box Count fix by Zoc. Now it spawns 1st/2nd Treasure Chest 50%/50% [Lupus] //= 1.8 Official Treasure Spawn in Novice Castles. Had to add +1 in odd/even formula to leave correct ID of NG Treasure Box 8) [Lupus] +//= 1.9 Added F_TreasProtect to remove players who are not guild master from treasure room. [L0ne_W0lf] //============================================================ @@ -83,3 +91,11 @@ function script F_GldTreasSw { warp getarg(0),getarg(1),getarg(2); return; } + +//============================================================== +// Treasure Room Protrection +//=============================================================== +function script F_TreasProtect { + set @GID, GetCastleData(getarg(0),1); + if (strcharinfo(0) != getguildmaster(@GID)) warp getarg(1),getarg(2),getarg(3); +} diff --git a/npc/guild/payg/payg_treas.txt b/npc/guild/payg/payg_treas.txt index 8a1c288c3..c302ed9ad 100644 --- a/npc/guild/payg/payg_treas.txt +++ b/npc/guild/payg/payg_treas.txt @@ -39,6 +39,12 @@ payg_cas01,295,8,0 script Switch#TresPy01 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +payg_cas01,291,8,0 script ban_warp#6 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "payg_cas01", "payon",100,100; + end; +} //<================================ Castle 2 ================================>\\ // Treasure Spawn ---------------------------------------------------------- @@ -64,6 +70,12 @@ payg_cas02,149,148,0 script Switch#TresPy02 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +payg_cas02,145,144,0 script ban_warp#7 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "payg_cas02", "payon",100,100; + end; +} //<================================ Castle 3 ================================>\\ // Treasure Spawn ---------------------------------------------------------- @@ -89,6 +101,12 @@ payg_cas03,163,167,0 script Switch#TresPy03 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +payg_cas03,159,168,0 script ban_warp#8 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "payg_cas03", "payon",100,100; + end; +} //<================================ Castle 4 ================================>\\ // Treasure Spawn ---------------------------------------------------------- @@ -114,6 +132,12 @@ payg_cas04,151,47,0 script Switch#TresPy04 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +payg_cas04,147,48,0 script ban_warp#9 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "payg_cas04", "payon",100,100; + end; +} //<================================ Castle 5 ================================>\\ // Treasure Spawn ---------------------------------------------------------- @@ -138,3 +162,10 @@ payg_cas05,161,136,0 script Switch#TresPy05 111,{ callfunc "F_GldTreasSw", "payg_cas05",277,250; end; } + +// Treasure Room Protection ------------------------------------------------ +payg_cas05,157,132,0 script ban_warp#10 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "payg_cas05", "payon",100,100; + end; +} diff --git a/npc/guild/prtg/prtg_treas.txt b/npc/guild/prtg/prtg_treas.txt index 7bbe6cc74..de3f9501e 100644 --- a/npc/guild/prtg/prtg_treas.txt +++ b/npc/guild/prtg/prtg_treas.txt @@ -39,6 +39,12 @@ prtg_cas01,15,209,0 script Switch#TresPt01 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +prtg_cas01,11,208,0 script ban_warp#1 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "prtg_cas01", "prontera",109,179; + end; +} //<================================= Castle 2 ===============================>\\ @@ -65,6 +71,12 @@ prtg_cas02,207,228,0 script Switch#TresPt02 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +prtg_cas02,202,228,0 script ban_warp#2 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "prtg_cas02", "prontera",109,179; + end; +} //<================================ Castle 3 ================================>\\ @@ -91,6 +103,11 @@ prtg_cas03,193,130,0 script Switch#TresPt03 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +prtg_cas03,189,132,0 script ban_warp#3 -1,6,6,{ + callfunc "F_TreasProtect", "prtg_cas03", "prontera",109,179; + end; +} //<================================ Castle 4 ================================>\\ @@ -117,6 +134,12 @@ prtg_cas04,275,160,0 script Switch#TresPt04 111,{ end; } +// Treasure Room Protection ------------------------------------------------ +prtg_cas04,271,162,0 script ban_warp#4 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "prtg_cas04", "prontera",109,179; + end; +} //<================================ Castle 5 ================================>\\ @@ -142,3 +165,10 @@ prtg_cas05,281,176,0 script Switch#TresPt05 111,{ callfunc "F_GldTreasSw", "prtg_cas05",34,30; end; } + +// Treasure Room Protection ------------------------------------------------ +prtg_cas05,276,178,0 script ban_warp#5 -1,6,6,{ +OnTouch: + callfunc "F_TreasProtect", "prtg_cas05", "prontera",109,179; + end; +}
\ No newline at end of file diff --git a/npc/other/resetskill.txt b/npc/other/resetskill.txt new file mode 100644 index 000000000..9c67807bc --- /dev/null +++ b/npc/other/resetskill.txt @@ -0,0 +1,143 @@ +//===== Freya Script =========================================
+//= Hypnotist
+//===== By: ==================================================
+//= L0ne_W0lf
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= eAthena SVN
+//===== Description: =========================================
+//= [Aegis conversion]
+//= Permenent first class, base level 40 and under skill resetter.
+//= First Class characters and expanded classes only.
+//= Baby Classes and First Class trans can't use this service.
+//===== Additional Comments: =================================
+//= 1.0 First version. [L0ne_W0lf]
+//============================================================
+prontera,146,232,4 script Hypnotist#2 124,{
+ mes "[Hypnotist]";
+ mes "Greetings, adventurer.";
+ mes "I'm a member of the Hypnotist";
+ mes "Academy sent here to Prontera";
+ mes "to provide Skill Reset services";
+ mes "to certain First Class characters for a really good price: free!";
+ next;
+ mes "[Hypnotist]";
+ mes "Although I offer unlimited";
+ mes "skill resets for now, I have";
+ mes "two conditions that must be";
+ mes "fulfilled. First, you must be";
+ mes "lower than ^FF0000Base Level 40^000000.";
+ next;
+ mes "[Hypnotist]";
+ mes "Second, you must be a";
+ mes "^FF0000Swordman, Acolyte, Mage,";
+ mes "Thief, Archer, Merchant,";
+ mes "Taekwon Boy, Taekwon Girl, Gunslinger and Ninja^000000";
+ mes "Job character to qualify.";
+ mes "Now, do you have any questions?";
+ next;
+ switch(select("Skill Reset?:I want a Skill Reset:Nothing")) {
+
+ case 1:
+ mes "[Hypnotist]";
+ mes "Skill Resets allow adventuers";
+ mes "to redistribute their Skill";
+ mes "Points if they are unhappy";
+ mes "with their current skills.";
+ next;
+ mes "[Hypnotist]";
+ mes "Before proceeding with";
+ mes "a Skill Reset, you must";
+ mes "reduce all of the weight";
+ mes "of all carried items on your";
+ mes "character to 0. You can put";
+ mes "extra items in Kafra Storage.";
+ next;
+ mes "[Hypnotist]";
+ mes "Ah, it's also important";
+ mes "to remove your ^FF0000Pushcart^000000";
+ mes "if you have one equipped.";
+ mes "Otherwise, hypnosis won't";
+ mes "work, or will backfire...";
+ close;
+
+ case 2:
+ mes "[Hypnotist]";
+ mes "Are you sure that you";
+ mes "want to proceed with";
+ mes "my ^FF0000Skill Reset^000000 service?";
+ next;
+ if (select("Yes:Cancel") == 1) {
+ if (BaseLevel > 40) {
+ mes "[Hypnotist]";
+ mes "I'm sorry, but characters";
+ mes "with Base Levels higher";
+ mes "than 40 are ineligible for the";
+ mes "Skill Reset service I provide.";
+ close;
+ }
+ if ((Class > 0 && Class < 7 && Upper == 0) || (Class == Job_Gunslinger) || (Class == Job_Ninja) || (Class == Job_Taekwon)) {
+ if (checkcart()) {
+ mes "[Hypnotist]";
+ mes "Oh! Please remove your";
+ mes "Pushcart before proceeding";
+ mes "with the Skill Reset service.";
+ mes "Thanks for cooperating~";
+ close;
+ }
+ if (Weight) {
+ mes "[Hypnotist]";
+ mes "If you're here for my Skill";
+ mes "Reset service, please";
+ mes "remember that you can't";
+ mes "reset your skills until the";
+ mes "^FF0000weight of your carried items in";
+ mes "your Inventory is reduced to 0^000000.";
+ next;
+ mes "[Hypnotist]";
+ mes "Why don't you place your";
+ mes "things into the Kafra Storage";
+ mes "for now? That way, you can";
+ mes "safely keep all of your goods.";
+ close;
+ }
+ mes "[Hypnotist]";
+ mes "Thank you for using";
+ mes "my Skill Redistribution";
+ mes "services. Oh, and best";
+ mes "of luck to you on your";
+ mes "travels, adventurer.";
+ ResetSkill;
+ close;
+ }
+ mes "[Hypnotist]";
+ mes "I'm sorry, but your";
+ mes "Job Class doesn't qualify";
+ mes "for the Skill Reset service";
+ mes "that I provide. I can only";
+ mes "offer Skill Resets to the";
+ mes "following Jobs...";
+ next;
+ mes "[Hypnotist]";
+ mes "^FF0000Swordman, Acolyte,";
+ mes "Mage, Thief, Archer,";
+ mes "Merchant, Taekwon";
+ mes "Boy, Taekwon Girl, Gunslinger and Ninja^000000.";
+ close;
+ }
+ mes "[Hypnotist]";
+ mes "Thank you, and good";
+ mes "luck on your adventures.";
+ mes "Please travel in safety~";
+ close;
+
+ case 3:
+ mes "[Hypnotist]";
+ mes "Thank you, and good";
+ mes "luck on your adventures.";
+ mes "Please travel in safety~";
+ close;
+ }
+
+}
\ No newline at end of file diff --git a/npc/quests/newgears/2006_headgear.txt b/npc/quests/newgears/2006_headgear.txt index d1f0724fe..d7c70f404 100644 --- a/npc/quests/newgears/2006_headgear.txt +++ b/npc/quests/newgears/2006_headgear.txt @@ -3,10 +3,11 @@ //===== By: ================================================== //= DiviniaRO members, cleaned by reddozen //===== Current Version: ===================================== -//= 1.0c +//= 1.1 //===== Compatible With: ===================================== //= SVN eA //===== Description: ========================================= +//= [Aegis Conversion] //= Anonymous Mask, Feather Beret, Valk. Helm, Smiling Mask, //= Lion Masquerade, Bride Mask, Judge Hat and A-Yam Hat //===== Additional Comments: ================================= @@ -15,475 +16,1115 @@ //= standartized stuff a bit [Lupus] //= 1.0b fixed Helm of Valkyries ingredients //= 1.0c corrected item names according to item_db [Lupus] +//= 1.1 Full update. EuRO (?) dialogs, and positions. [L0ne_W0lf] //============================================================ //===================== Anonymous Mask ===================================================== - -rachel,91,273,4 script Masked Man 880,{ - set @npcname$,"[Masked Man]"; - - mes @npcname$; - mes "Psssst...."; +rachel,91,273,8 script ? 930,{ + if (countitem(983) > 0 && countitem(7111) > 99 && countitem(938) > 98 && Zeny > 99999) { + mes "[?]"; + mes "Giggle giggle...isn't it my partner, eh?"; + mes "So, did you bring everything that I asked?"; + mes "Great, now I can make the item which will help you"; + mes "to cover your identity! Giggle giggle..."; + next; + mes "- Bzzz Bzzz Click Click -"; + mes "- Fumble Fumble Fumble Fumble -"; + mes "- Bzzz Bzzz Click Click -"; + mes "- Fumble Fumble Fumble Fumble -"; + next; + mes "[?]"; + mes "...Hey, don't look over my shoulder."; + mes "I don't want to share"; + mes "my business secret with you, you know?"; + next; + mes "- Bzzz Bzzz Click Click -"; + mes "- Fumble Fumble Fumble Fumble -"; + mes "- Bzzz Bzzz Click Click -"; + mes "- Fumble Fumble Fumble Fumble -"; + next; + delitem 983,1; //Black_Dyestuffs + delitem 7111,100; //Smooth_Paper + delitem 938,99; //Sticky_Mucus + set zeny,zeny-100000; + getitem 5175,1; //Anonimity_Request + mes "[?]"; + mes "Phew...it's done. Well, it was not that difficult to make, but..."; + mes "Giggle giggle, what is important is that"; + mes "now you can hide your identity. Now, take this."; + mes "Hopefully, this mask will help you"; + mes "to avoid encountering your enemies. Ahahaha!"; + close; + } + mes "[?]"; + mes "...No way! Don't you dare to find out about me!"; + mes "Don't you even speak to me!"; + mes "Shushhh! Don't let my enemy know where I am!"; next; - mes @npcname$; - mes "Shhhh..."; - mes "Come here, but keep quiet"; + mes "[?]"; + mes "Err? You are a my kind person."; + mes "So, you are running away from something,"; + mes "and you want to hide your identity, am I right?"; + mes "Yeah...I guess that I am right... Giggle giggle."; next; - mes @npcname$; - mes "I have something that might interest you"; + mes "[?]"; + mes "Well, I should be kind to my comrade."; + mes "Although I can't reveal my identity to you,"; + mes "I can help you to safely hide from your enemies."; next; - - switch(select("I think you know what I want...","Huh? Sorry, I'm Just looking around.")) - { - - case 1: - mes @npcname$; - mes "I only need a few things in return"; - mes "100 Slick Paper,"; - mes "99 Sticky Mucus,"; - mes "1 Black Dysetuff and"; - mes "100,000 Zeny."; - next; - mes @npcname$; - if ( (countitem(983)<1) || (countitem(7111)<100) || (countitem(938)<99) || (Zeny < 100000) ) { - mes "Come back when you have what I need..."; - close; - } - - mes "I see you came prepared."; - delitem 7111,100; - delitem 938,99; - delitem 983,1; - set Zeny, Zeny-100000; - next; - getitem 5175,1; - mes @npcname$; - mes "You didn't get this from me by the way..."; - close; - - - case 2: - mes @npcname$; - mes "Yeah... I knew that."; - close; - } - + mes "[?]"; + mes "Bring me ^FF00001 Black Dyestuffs^000000,"; + mes "^FF0000100 Slick Paper^000000, ^FF000099 Sticky Mucus^000000,"; + mes "and ^FF0000100,000 zeny^000000."; + mes "Then I will help you, giggle giggle."; + next; + mes "[?]"; + mes "You may leave now."; + mes "Somehow we can be so helpful to each other."; + mes "Once you finish gathering all the material,"; + mes "come back without anyone knowning. Giggle giggle."; + close; } - - //======================== Feather Beret ================================================ - -rachel,135,121,4 script Sakyul 933,{ - set @npcname$,"[Sakyul]"; - - mes @npcname$; - mes "Mumble mumble.."; - mes "Stupid Arunafelz Military!"; - mes "I lost the use of my legs during the Rune-Midgard!"; - mes "I was in a special unit.. we even had our own beret!"; - mes "Wingmen, they called us.."; - next; - mes @npcname$; - mes "If you really want one, I can make a replica for you."; - next; - - switch(select("Of course I do!","No way man, you creep me out!")) - { - - case 1: - mes @npcname$; - mes "Alright then, I just need a few things:"; - mes "1 Beret,"; - mes "100 Soft Feathers and"; - mes "1 White Dyestuff."; - next; - mes @npcname$; - if ( (countitem(5172)<1) || (countitem(982)<1) || (countitem(7063)<100) ) { - mes "Eh.. I'm old, not Senile.. Bring me the rest of the stuff I asked for!"; - close; - } - - mes "Nice to see a well prepared youngster!"; - delitem 5172,1; - delitem 7063,100; - delitem 982,1; - next; - getitem 5170,1; - mes @npcname$; - mes "Here.. This takes me back.. Have fun with it!"; - close; - - - case 2: - mes @npcname$; - mes "Fine then! Leave an old man at peace! Git! Go!"; +rachel,152,131,3 script Sakjul 928,{ + if (countitem(5172) > 0 && countitem(7063) > 99 && countitem(982) > 0) { + mes "[Sakjul]"; + mes "Great, you have brought everything"; + mes "to make ^FF0000Feather Beret^000000!"; + mes "To reward for your labor,"; + mes "I shall personally proceed with the hat creation."; + next; + mes "[Sakjul]"; + mes "Stand next to me, and watch the creation process solemnly."; + mes "Keep your integrity by standing straight,"; + mes "and looking straight forward!"; + next; + mes "[Sakjul]"; + mes "If you do not do what I just said,"; + mes "^FF0000this hat creation could result in failure!"; + mes "And, if you fail to create the hat,"; + mes "you will lose all the materials,"; + mes "and I am not going to take the responsibility for your mistake!^000000"; + next; + mes "- THUD THUD -"; + mes "- THUD THUD -"; + mes "- THUD THUD -"; + mes "- BOOM -"; + next; + mes "- THUD THUD -"; + mes "- THUD THUD -"; + mes "- THUD THUD -"; + mes "- BOOM -"; + next; + set .@result,rand(1,10); + if (.@result == 4) { + delitem 5172,1; //Beret + delitem 7063,100; //Soft_Feather + delitem 982,1; //White_Dyestuffs + mes "[Sakjul]"; + mes "I did succeed in making the hat,"; + mes "but I cannot let it fall into someone else's hand!"; + mes "The essential of Feathre Beret is"; + mes "the precise angle of the beret and the feather,"; + mes "but this hat's angle has become slightly crooked,"; + mes "and the quality has become too poor to be my artwork!"; + next; + mes "[Sakjul]"; + mes "I understand that you feel quite unfortunate"; + mes "with this result. However, I urge you to not to be"; + mes "so disappointed, and try again!"; + mes "There is no impossibility in the world, so you can do it!"; + next; + mes "[Sakjul]"; + mes "Now, brace yourself up!"; + mes "You have done this already,"; + mes "so you can easily do it again."; + mes "If you understood, now, go, go gather the materials again!"; close; + } + delitem 5172,1; //Beret + delitem 7063,100; //Soft_Feather + delitem 982,1; //White_Dyestuffs + getitem 5170,1; //Feather_Beret + mes "[Sakjul]"; + mes "Great, I have made it! Look at this beautiful coordination"; + mes "between the feather and the beret,"; + mes "and you can feel moderation in the coordination."; + mes "I must say that this hat must be"; + mes "one of the needful things for young men in nowadays."; + next; + mes "[Sakjul]"; + mes "Since I have created this hat with your materials,"; + mes "it belongs to you."; + mes "Keep this hat with care, and be a great, confident person."; + close; } - + mes "[Sakjul]"; + mes "Straighten yourself, and keep your tension!"; + mes "Keep yourself under control, and move with integrity!"; + mes "That's how a respectable man carry himself!"; + mes "Young men in nowadays are too weak and tender."; + mes "Don't you agree with me, young adventurer?"; + next; + if (select("Yes, sir!:No.") == 1) { + mes "[Sakjul]"; + mes "Ah! I like your answer!"; + mes "Lately, I found it very hard to see a diciplined young man like you."; + mes "Unfortunately, even you are not yet diciplined as well as I expect!"; + mes "Hmm....Oh, yes, probably ^FF0000Feather Beret^000000"; + mes "might help you to look more diciplined."; + next; + mes "[Sakjul]"; + mes "I like to compliment your attitude."; + mes "Thus, I am willing to create Feather Beret for you"; + mes "only if you bring me the materials to me. Understand?"; + next; + mes "[Sakjul]"; + mes "Materials are ^FF00001 Beret^000000, ^FF0000100 Soft Feather^000000,"; + mes "and ^FF00001 White Dyestuffs^000000."; + mes "Make sure that you will remember all of them, and bring me"; + mes "the exact amount of materials!"; + next; + mes "[Sakjul]"; + mes "Thank me for the offer"; + mes "because the hat will finish your look"; + mes "to be more majestic and elegant!"; + mes "If you understood, go,"; + mes "go gather the material as soon as you can!"; + close; + } + mes "[Sakjul]"; + mes "I can't hear you! I don't feel any confidence from your voice!"; + mes "How can you live this tough world with that weak attitude?"; + mes "Put yourself together, right now!"; + close; } - - //============================ Valkyrie Helm ===================================================== - -hugel,146,105,4 script Genirhimin 897,{ - set @npcname$,"[Genirhimin]"; - - mes @npcname$; - mes "Eh?"; - if (Zeny < 10000000) goto L_POOR; - next; - mes @npcname$; - mes "In days long past us mortals were permitted"; - mes "to serve Odin and the Valkyries in battle.."; - mes "So that maybe we would have the cahnce to die"; - mes "honorably in battle and return to Val Halla"; - next; - mes @npcname$; - mes "The bravest of Warriors were rewarded with"; - mes "the Valkyrie Helm"; - mes "But.. those days are long since passed.."; - mes "I suppose I could make you one, if you can"; - mes "gather what I need."; - next; - - switch(select("Really? I'd love one.","I'm not one for fairy tales old man.")) - { - - case 1: - mes @npcname$; - mes "Here is what I need:"; - mes "1 Sageworm Card,"; - mes "1 Argiope Card,"; - mes "1 Dryad Card,"; - mes "1 Wooden Golem Card,"; - mes "1 Bongun Card,"; - mes "1 Pirate Skel Card,"; - mes "1 Marduk Card and..."; - next; - mes @npcname$; - mes "1 Hode Card,"; - mes "1 Elder Card,"; - mes "1 Nightmare Terror Card,"; - mes "1000 Darkness Runes and"; - mes "1000 Bloody Runes."; - next; - mes @npcname$; - if ( (countitem(4219)<1) || (countitem(4114)<1) || (countitem(4177)<1) || (countitem(4259)<1) || (countitem(4212)<1) || (countitem(4073)<1) || (countitem(4112)<1) || (countitem(4081)<1) || (countitem(4251)<1) || (countitem(4166)<1) || (countitem(7511)<1000) || (countitem(7563)<1000) ) { - mes "I'm sorry, but I need more to make the helm."; - close; - } - - mes "Give me a minute and I'll work my magic..."; - delitem 4219,1; - delitem 4114,1; - delitem 4177,1; - delitem 4259,1; - delitem 4212,1; - delitem 4073,1; - delitem 4112,1; - delitem 4081,1; - delitem 4251,1; - delitem 4166,1; - delitem 7511,1000; - delitem 7563,1000; - next; - getitem 5171,1; - mes @npcname$; - mes "This is a serious honour... You have proven yourself a brave and honorable Warrior, Wear this with Pride."; +hugel,147,130,3 script Ghenirhemin 897,{ + if (moza_valkylie == 5) { + set .@val2,rand(1,10); + if (.@val2 == 3) { + misceffect 348; //EF_LIGHTSPHERE + mes "[Ghenirhemin]"; + mes "The materials are still being fused."; + next; + mes "[Ghenirhemin]"; + mes "Umm?! Oh...oh?! Isn't this..."; + mes "Isn't this...?!"; + next; + misceffect 322; //EF_FORESTLIGHT2 + mes "[Ghenirhemin]"; + mes "Ah...ahahaha, we've made it! We've made it!"; + mes "Valkyre's Helm...We've recreated Valkyre's Helm,"; + mes "a glorious godly armor!"; + mes "Ah...does this mean...?"; + next; + mes "[Ghenirhemin]"; + mes "We are writing new history!"; + mes "Yes, we just have started writing new history."; + next; + mes "[Ghenirhemin]"; + mes "Thank you so much for giving me a chance to participate in this."; + mes "I am sure that my ancestors in heaven will be glad"; + mes "to see this successful recreation of Valkyre's Helm."; + mes "Hahahahaha!"; + next; + mes "[Ghenirhemin]"; + mes "Please take this helm."; + mes "As I promised, this is yours."; + mes "Please take pride in yourself, and"; + mes "do not disgrace this Helm through evil doings."; + next; + set moza_valkylie,0; + getitem 5171,1; //Valkyrie_Helm + mes "[Ghenirhemin]"; + mes "May God bless this adventurer"; + mes "who has written new history."; + mes "I, Gheirhemin pray to god for his safe journey"; + mes "who is now heading toward the new history."; close; - - case 2: - mes @npcname$; - mes "So be it, suit yourself.."; + } + misceffect 348; //EF_LIGHTSPHERE + mes "[Ghenirhemin]"; + mes "The materials are still being fused."; + close; + } + else if (moza_valkylie == 4) { + set .@val,rand(1,10); + if (.@val == 7) { + mes "[Ghenirhemin]"; + mes "............"; + next; + misceffect 348; //EF_LIGHTSPHERE + mes "[Ghenirhemin]"; + mes "Oh...oh? They....they just have started being fused!"; + mes "Look at this shining light!"; + mes "I can't...I can't believe that"; + mes "this is what happens in Valhala!"; + next; + set moza_valkylie,5; + mes "[Ghenirhemin]"; + mes "We are now witnessess of the God's grace...ah...."; close; + } + mes "[Ghenirhemin]"; + mes "....Let's wait a little longer."; + close; } - - L_POOR: - mes "My time is worth more than the fortunes of Rune-Midgard and Arunafelz combined..."; + else if (moza_valkylie == 3) { + set moza_valkylie,4; + mes "[Ghenirhemin]"; + mes "Will you stop being anxious?"; + mes "Just relax and wait, will you?"; + mes "In a sense, we are holding a holy rite,"; + mes "and it is not going to happen faster,"; + mes "only because you, a human wants it to happen faster."; close; - -} - - - -//======================= Smiling Mask / Lion Masquerade / Bride Mask =============================== - -payon,135,231,5 script Chung-Wol-Mang 907,{ - set @npcname$,"[Chung-Wol-Mang]"; - - mes @npcname$; - mes "Hey, I can make you three rare masks if you bring me all of the items needed to make them."; + } + else if (moza_valkylie == 2 && Zeny > 9999999 && countitem(4219) > 0 && countitem(4114) > 0 && countitem(4177) > 0 && countitem(4259) > 0 && countitem(4212) > 0 && countitem(4073) > 0 && countitem(4112) > 0 && countitem(4081) > 0 && countitem(4251) > 0 && countitem(4166) > 0 && countitem(7511) > 999 && countitem(7563) > 999) { + mes "[Ghenirhemin]"; + mes "Hmm...I am impressed that you have brought everything"; + mes "despite of the difficulty in gathering them. It was difficult, wasn't it?"; + mes "Haha, I can tell just by looking at your face."; + mes "Good job, my friend, you did a good job."; + next; + mes "[Ghenirhemin]"; + mes "Now, please hand them to me."; + mes "If I place them together in one place,"; + mes "I am pretty sure that they will start"; + mes "being fused into the helm with their own mysterious powers."; + next; + if (select("Give him the items.:Don't give him the items.") == 1) { + mes "[Ghenirhemin]"; + mes "Excellent. Now, all we have to do"; + mes "is just waiting until they finish being fused into one."; + next; + delitem 4219,1; //Sageworm_Card + delitem 4114,1; //Argiope_Card + delitem 4177,1; //Dryad_Card + delitem 4259,1; //Wooden_Golem_Card + delitem 4212,1; //Bon_Gun_Card + delitem 4073,1; //Pirate_Skel_Card + delitem 4112,1; //Marduk_Card + delitem 4081,1; //Hode_Card + delitem 4251,1; //Elder_Card + delitem 4166,1; //Nightmare_Terror_Card + delitem 7511,1000; //Rune_Of_Darkness + delitem 7563,1000; //Bloody_Rune + set zeny,zeny-10000000; + set moza_valkylie,3; + mes "[Ghenirhemin]"; + mes "Now I am all nervous"; + mes "in anticipation of a good result. Hahahaha."; + close; + } + mes "[Ghenirhemin]"; + mes "?"; + close; + } + else if (moza_valkylie == 2) { + mes "[Ghenirhemin]"; + mes "Please bring me"; + mes "^FF00001 Sage Worm Card, 1Argiope Card,"; + mes "^FF00001 Dryad Card, 1 Wooden Golem Card,"; + mes "^FF00001 Bongun Card, 1 Pirate Skeleton Card,"; + mes "^FF00001 Marduk Card, 1 Hode Card,"; + mes "^FF00001 Elder Card, 1 Nightmare Terror Card,^000000"; + next; + mes "[Ghenirhemin]"; + mes "^1,000 Rune of the Darkness,"; + mes "^1,000 Bloody Rune,"; + mes "^and the helm price, 10,000,000 zeny^000000."; + next; + mes "[Ghenirhemin]"; + mes "It surely is a reasonable price considering that "; + mes "you are about to obtain a godly power, don't you think?"; + next; + set moza_valkylie,2; + mes "[Ghenirhemin]"; + mes "Let's discuss it later"; + mes "once you prepare the money and the items."; + mes "Now I am so exhausted"; + mes "as it has been a while since the last time that I talked this much."; + mes "Excuse me."; + close; + } + else if (moza_valkylie == 1) { + mes "[Ghenirhemin]"; + mes "You must be pretty surprised by now."; + mes "Yes, it is surely understandable."; + mes "If you have travelled many places,"; + mes "and heard many stories, you would know what this is."; + mes "Yes, it is ^FF0000Valkyre's Helm^000000."; + next; + mes "[Ghenirhemin]"; + mes "A legendary helm only allowed to men"; + mes "who have transcended their limit."; + mes "A godly armor that is blessed with an incredible power."; + mes "Can you see now that my story is true?"; + next; + mes "[Ghenirhemin]"; + mes "It has passed so many years, and thus"; + mes "its power has become weakened,"; + mes "but you can still feel something holy about the helm."; + mes "Don't you think?"; + next; + mes "[Ghenirhemin]"; + mes "Well...I am not allowed to wear this helm."; + mes "Thus, if I find someone who is just perfect for this helm,"; + mes "I am going to give this to him without any regret."; + next; + mes "[Ghenirhemin]"; + mes "Of course, I can't give away"; + mes "such a valuable thing for nothing in return."; + mes "That's how it goes, you know?"; + mes "I maybe think about giving it to you"; + mes "because you seem to be wealthier than others,"; + mes "and I can sense special aura from you."; + next; + mes "[Ghenirhemin]"; + mes "So, what do you say?"; + mes "I think that I have an eye for right men."; + mes "I feel that you will be able to fully recreate this Valkyre's Helm"; + mes "as well as use it to its full potential."; + next; + if (select("Sure.:No, thanks.") == 1) { + mes "[Ghenirhemin]"; + mes "You are an ambitious young man as I expected."; + mes "It is surely a great advantage."; + mes "Okay, I will tell you what I know from now on."; + mes "So, listen carefully."; + next; + mes "[Ghenirhemin]"; + mes "First, we have to fully restore the helm's power."; + mes "To do so, we must find monster cards"; + mes "that possess mysterious powers."; + next; + mes "[Ghenirhemin]"; + mes "That's not all. You know,"; + mes "we can't just glue those monster cards"; + mes "on the helm. Thus, we need a power that"; + mes "enables us to fuse the cards and the helm into one."; + next; + mes "[Ghenirhemin]"; + mes "Ancient runes are perfect to supply the power,"; + mes "especially we need Rune of the Darkness, and Bloody Rune."; + mes "Perhaps, they were chosen because of their sealed dark power"; + mes "and bloody sticky power? That's just my guess, hahahaha!"; + next; + mes "[Ghenirhemin]"; + mes "Once we successfully restore the helm's power,"; + mes "you are expected to purchase the helm from me."; + mes "As I said earlier, I am not going to"; + mes "give away such a valuable thing with nothing in return."; + mes "It will also demonstrate your qualification to become the helm's owner."; + next; + mes "[Ghenirhemin]"; + mes "Basically, you have to bring me..."; + mes "Ah, there are so many things that you need to bring me."; + mes "I suggest you to write down, and memorize them."; + next; + mes "Please bring me"; + mes "^FF00001 Sage Worm Card, 1Argiope Card,"; + mes "1 Dryad Card, 1 Wooden Golem Card,"; + mes "1 Bongun Card, 1 Pirate Skeleton Card,"; + mes "1 Marduk Card, 1 Hode Card,"; + mes "1 Elder Card, 1 Nightmare Terror Card,^000000"; + next; + mes "[Ghenirhemin]"; + mes "^FF00001,000 Rune of the Darkness,"; + mes "1,000 Bloody Rune,"; + mes "and the helm price, 10,000,000 zeny^000000."; + next; + mes "[Ghenirhemin]"; + mes "It surely is a reasonable price considering that "; + mes "you are about to obtain a godly power, don't you think?"; + next; + set moza_valkylie,2; + mes "[Ghenirhemin]"; + mes "Let's discuss it later"; + mes "once you prepare the money and the items."; + mes "Now I am so exhausted"; + mes "as it has been a while since the last time that I talked this much."; + mes "Excuse me."; + close; + } + mes "[Ghenirhemin]"; + mes "Haha, I understand that"; + mes "it is not an easy choice to make."; + mes "Take your time, my friend."; + mes "If you still don't want the helm, I respect your decision."; + close; + } + else if (Zeny > 9999999) { + mes "[Ghenirhemin]"; + mes "Hmm...you look like a poor-looking wanderer,"; + mes "but you seem to have an enormous amount of money with you."; + mes "I guess that the old saying was right:"; + mes "''Don't judge a book by its cover.''"; + next; + mes "[Ghenirhemin]"; + mes "You maybe understand my story."; + mes "Would you like to listen to my long story?"; + mes "It may or may not be interesting to you,"; + mes "but I gurantee that it will never bore you in either way."; + next; + if (select("Listen.:Don't listen.") == 1) { + mes "[Ghenirhemin]"; + mes "Good, let me introduce myself."; + mes "My name is Ghenirhemin."; + mes "I am no different than others,"; + mes "if I may speak of my only advantage,"; + mes "I have little more money than them. Hahaha."; + next; + mes "[Ghenirhemin]"; + mes "However, I did not earn my money,"; + mes "but I inherited the fortune from my ancestors,"; + mes "who were all gifted businessmen."; + mes "I thank to him for handing over such great fortune."; + next; + mes "[Ghenirhemin]"; + mes "In fact, I am ashamed to tell you that"; + mes "I do not know what exactly my ancestors did"; + mes "to make this much fortune. Perhaps some would have held business,"; + mes "some others would have been great artists..."; + next; + mes "[Ghenirhemin]"; + mes "Our family is just blessed enough to have"; + mes "such great ancestors, who brought wealth to their family."; + mes "It would take me at least a week to list"; + mes "every single successful ancestor of mine."; + next; + mes "[Ghenirhemin]"; + mes "However, I like to tell you about one of my amazing ancestors,"; + mes "who has become our family hero."; + next; + mes "[Ghenirhemin]"; + mes "Well, actually I do not know exactly"; + mes "what he did, but I know that"; + mes "he brought glory and fame"; + mes "to our family for the first time."; + mes "However, since it has been so long, we do not have"; + mes "any document about him, so..."; + next; + mes "[Ghenirhemin]"; + mes "I clearly remember one thing about him though."; + mes "He was the only human who was able to"; + mes "become close to the gods, and he demonstrated"; + mes "his godly power to bring light to us, humans."; + next; + mes "[Ghenirhemin]"; + mes "I don't know how he obtained the godly power,"; + mes "or how he could become close to the gods."; + mes "I just remember these things because I was repeatedly told"; + mes "about his amazing story ever since I was born..."; + next; + mes "[Ghenirhemin]"; + mes "I can show you that I am not making things up."; + mes "I told you that we do not have any document about him, right?"; + mes "However, there is something that I can show you."; + mes "Now, take a look at this."; + next; + set moza_valkylie,1; + mes "[Ghenirhemin]"; + mes "See? This surely tells you that"; + mes "I am not making things up!"; + mes "This is what my ancestor used to use!"; + close; + } + mes "[Ghenirhemin]"; + mes "What a shame! However, I don't want to force you to"; + mes "do something that you don't want to do. Hahaha."; + mes "Just remember, you just have made another choice for your life."; + close; + } + mes "[Ghenirhemin]"; + mes "Everything has meaning and reason to exist in this world."; + mes "You and I, we are destined to meet with each other today."; next; - mes @npcname$; - mes "So, which one will it be?"; + mes "[Ghenirhemin]"; + mes "Well...although I said that everything has meaning,"; + mes "unfortunately you are not interesting to me at all."; + mes "Call me a money monger,"; + mes "but I like the rich."; next; - switch(select("Smiling Mask","Lion Masquerade","Bride Mask","I changed my mind.")) - { + mes "[Ghenirhemin]"; + mes "If you prove me that you are wealthy,"; + mes "I maybe change my mind, and become interested in you."; + mes "But, I will decide whether or not I will be interested in you"; + mes "when you show me your money. Hahahaha!"; + close; +} - case 1: - mes @npcname$; - mes "Okay, for the Smiling Mask I need:"; - mes "1 Four-Leaf Clover,"; - mes "500 Trunks,"; - mes "10 Elastic Bands,"; - mes "20 Memory Bookmarks,"; - mes "1 Cigarette,"; - mes "100 Cactus Needles and"; - mes "100 Manes."; +//======================= Smiling Mask / Lion Masquerade / Bride Mask =============================== +payon,135,320,3 script Chungwolmang 97,{ + if (moza_tal == 2) { + if (countitem(7015) > 19 && countitem(952) > 99 && countitem(1028) > 99 || countitem(1048) > 499 && countitem(1053) > 1 && countitem(980) > 0 || countitem(1049) > 19 && countitem(1059) > 499 && countitem(1054) > 1 && countitem(1024) > 99) { + mes "[Chungwolmang]"; + mes "Oh, you have brought everything"; + mes "to make a Mythical Lion Mask. Excellent."; + mes "Please give me the materials. I will make the mask right away."; next; - - if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(7015) < 20) || (countitem(2267) < 1) || (countitem(952) < 100) || (countitem(1028) < 100) || (countitem(1028) < 100) ){ - mes @npcname$; - mes "Come back and talk to me when you've gathered all the items."; + if (select("Give him the items.:Don't give him the items.") == 1) { + mes "[Chungwolmang]"; + mes "Great, I like your unhesitating attitude!"; + mes "Alright then, I will make the mask as quickly as I can!"; + next; + mes "[Chungwolmang]"; + mes "- Fumble Fumble Fumble -"; + mes "- Fumble Fumble Fumble -"; + mes "- Fumble Fumble Fumble -"; + mes "- Thud Thud Thud Thud -"; + next; + mes "[Chungwolmang]"; + mes "- Fumble Fumble Fumble -"; + mes "- Fumble Fumble Fumble -"; + mes "- Fumble Fumble Fumble -"; + mes "- Thud Thud Thud Thud -"; + next; + + if (countitem(7015) > 19 && countitem(952) > 99 && countitem(1028) > 99) { + delitem 7015,20; //Bookclip_In_Memory + delitem 952,100; //Cactus_Needle + delitem 1028,100; //Wild_Boar's_Mane + getitem 5176,1; //Smiling_Mask + } + else if (countitem(1049) > 19 && countitem(1059) > 499 && countitem(1054) > 1 && countitem(1024) > 99) { + delitem 1049,20; //Skirt_Of_Virgin + delitem 1059,500; //Transparent_Cloth + delitem 1054,2; //Lip_Of_Ancient_Fish + delitem 1024,100; //Chinese_Ink + getitem 5169,1; //Bride_Mask + } + else if (countitem(1048) > 499 && countitem(1053) > 1 && countitem(980) > 0) { + delitem 1048,500; //Slender_Snake + delitem 1053,2; //Tooth_Of_Ancient_Fish + delitem 980,1; //Orange_Dyestuffs + getitem 5177,1; //Lion_Masquerade + } + set moza_tal,0; + mes "[Chungwolmang]"; + mes "Wow, it was a piece of cake!"; + mes "You know, I am not an artisan only in title."; + mes "Hahaha, here, take your Mythical Lion Mask."; + mes "I hope that you will wear it with pride, hahaha!"; + next; + mes "[Chungwolmang]"; + mes "Aright, I need to take a rest"; + mes "until I have next customer. Hahaha, bye!"; close; } - - mes @npcname$; - mes "You brought all the items, thanks. Here give them to me."; - delitem 706,1; - delitem 1019,500; - delitem 7200,10; - delitem 7015,20; - delitem 2267,1; - delitem 952,100; - delitem 1028,100; - next; - getitem 5176,1; - mes @npcname$; - mes "Thanks, you can have your mask now."; + mes "[Chungwolmang]"; + mes "Err? Don't you want Mythical Lion Mask?"; + mes "Alright then...coward."; close; - + } + + mes "[Chungwolmang]"; + mes "Well well, have you not gathered the materials yet?"; + mes "You'd better hurry because I can't wait so long!"; + mes "Wait, what mask did you ask me to make anyways?"; + next; + switch(select("Hahoe Mask:Bride Mask:Mythical Lion Mask")) { + case 1: + mes "[Chungwolmang]"; + mes "Oh, yes, you want Hahoe Mask."; + mes "Then you need to bring... ^FF000020 Bookclip in Memory^000000,"; + mes "^FF0000100 Cactus Needle^000000, and"; + mes "^FF0000100 Mane^000000."; + break; case 2: - mes @npcname$; - mes "Okay, for the Lion Masquerade I need:"; - mes "1 Four-Leaf Clover,"; - mes "500 Trunks,"; - mes "10 Elastic Bands,"; - mes "500 Horrendous Hairs,"; - mes "2 Ancient Teeth and"; - mes "1 Orange Dyestuff."; - next; - - if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(1048) < 500) || (countitem(1053) < 2) || (countitem(980) < 1) ) { - mes @npcname$; - mes "Come back and talk to me when you've gathered all the items."; - close; - } - - mes @npcname$; - mes "You brought all the items, thanks. Here give them to me."; - delitem 706,1; - delitem 1019,500; - delitem 7200,10; - delitem 1048,500; - delitem 1053,2; - delitem 980,1; - next; - getitem 5177,1; - mes @npcname$; - mes "Thanks, you can have your mask now."; - close; - - + mes "[Chungwolmang]"; + mes "Oh, yes, you want Bride Mask."; + mes "Then you need to bring... ^FF000020 Skirt of Virgin^000000,"; + mes "^FF0000500 Fabric^000000, ^FF00002 Ancient Lips^000000,"; + mes "and ^FF0000100 Squid Ink^000000."; + break; case 3: - mes @npcname$; - mes "Okay, for the Bride Mask I need:"; - mes "1 Four-Leaf Clover,"; - mes "500 Trunks,"; - mes "10 Elastic Bands,"; - mes "20 Skirts of Virgin,"; - mes "500 Transparent Celestial Robes,"; - mes "2 Ancient Lips and"; - mes "100 Squid Inks."; + mes "[Chungwolmang]"; + mes "Oh, yes, you want Mythical Lion Mask."; + mes "Then you need to bring... ^FF0000500 Horrendous Hair^000000,"; + mes "^FF00002 Ancient Tooth^000000, and"; + mes "^FF00001 Orange Dyestuffs^000000."; + break; + } + mes "Bring the exact amount of materials, then I will give you the mask right away."; + close; + } + if (countitem(7201) > 499) && (countitem(7200) > 9 && moza_tal == 1) { + mes "[Chungwolmang]"; + mes "Ah, Four Leaf Clover must bring me luck"; + mes "because you came back faster than I thought! Wow..."; + mes "Thank you so much, now I think that"; + mes "I have fortune on my side. Hahaha!"; + next; + mes "[Chungwolmang]"; + mes "Alright! I will return your favor as I promised."; + mes "I will tell you everything. In fact,"; + mes "I am a traditional mask craftsman."; + mes "I am proud to tell you that no one can beat me"; + mes "in crafting traditional masks! Ahem!"; + next; + mes "[Chungwolmang]"; + mes "I had experienced emotional instability"; + mes "as well as had bad luck with everything due to various reasons."; + mes "But, that's history now! I am back, hahahaha!"; + next; + mes "[Chungwolmang]"; + mes "I feel good, and I have fortune back to my side."; + mes "I really appreciate you for helping me to feel better."; + mes "In return, I am going to make you a traditional mask! Hahaha!"; + mes "You should be thankful for that I am offering you a great gift."; + next; + mes "[Chungwolmang]"; + mes "You know why? Because there is no one who can offer you"; + mes "such a valuable item except me."; + mes "Anyhow, I can make 3 different masks:"; + mes "Hahoe Mask, Bride Mask and Mythical Lion Mask."; + mes "Which one whould you like to have? Pick one."; + next; + switch(select("Hahoe Mask:Bride Mask:Mythical Lion Mask")) { + case 1: + delitem 7201,500; //Log + delitem 7200,10; //Flexible_String + set moza_tal,2; + mes "[Chungwolmang]"; + mes "Great, you want Hahoe Mask, eh? That's easy!"; + mes "Then you need to bring... ^FF000020 Bookclip in Memory^000000,"; + mes "^FF0000100 Cactus Needle^000000, and"; + mes "^FF0000100 Mane^000000."; + mes "Bring the exact amount of materials, then I will give you the mask right away."; + break; + case 2: + mes "Great, you want Bride Mask, eh? That's easy!"; + mes "Then you need to bring... ^FF000020 Skirt of Virgin^000000,"; + mes "^FF0000500 Fabric^000000, ^FF00002 Ancient Lips^000000,"; + mes "and ^FF0000100 Squid Ink^000000."; + mes "Bring the exact amount of materials, then I will give you the mask right away."; + break; + case 3: + mes "Great, you want Mythical Lion Mask, eh? That's easy!"; + mes "Then you need to bring... ^FF0000500 Horrendous Hair^000000,"; + mes "^FF00002 Ancient Tooth^000000, and"; + mes "^FF00001 Orange Dyestuffs^000000."; + mes "Bring the exact amount of materials, then I will give you the mask right away."; + break; + } + next; + mes "[Chungwolmang]"; + mes "...Why are you eyeing at me?"; + mes "What, did you expect me to make the mask for free?"; + mes "If you did, you must think of it this way."; + mes "My term of payback is to use my skills,"; + mes "and let you have my precious mask,"; + mes "not making the mask for you at free of charge, understood?"; + next; + mes "[Chungwolmang]"; + mes "At least I am not charging you with service fee, am I?"; + mes "Just bring me the materials, I will do my best"; + mes "to make an incredible mask for you!"; + next; + mes "[Chungwolmang]"; + mes "In the meantime, I am going to prepare"; + mes "the work by using these Log and Elastic Band."; + mes "So come back as soon as you can, okay?"; + close; + } + if (moza_tal == 1) { + mes "[Chungwolmang]"; + mes "Umm...the things that I've asked you were"; + mes "^FF0000500 Log^000000 and ^FF000010 Elastic Band^000000."; + mes "Thanks in advance."; + close; + } + if (countitem(706) > 0) { + mes "[Chungwolmang]"; + mes "Ah...! Hey! I can tell something unique about you."; + mes "Do you have a Four Leaf Clover by any chance?"; + mes "Do you mind if I ask you to give me the clover?"; + next; + mes "[Chungwolmang]"; + mes "I am not asking you to give it to me for free."; + mes "Although I can't gurantee it,"; + mes "I will be able to pay back your favor sooner or later."; + mes "So, can I take it?"; + next; + if (select("Sure.:No, you can't.") == 1) { + mes "[Chungwolmang]"; + mes "Oh! Thank you so much!"; + mes "Muhahahahahaha! Now I will become a lucky guy!"; + mes "With the clover, fortune will be on my side again!"; next; - - if ( (countitem(706) < 1) || (countitem(1019) < 500) || (countitem(7200) < 10) || (countitem(1049) < 20) || (countitem(7165) < 500) || (countitem(1054) < 2) || (countitem(1024) < 100) ) { - mes @npcname$; - mes "Come back and talk to me when you've gathered all the items."; - close; - } - - mes @npcname$; - mes "You brought all the items, thanks. Here give them to me."; - delitem 706,1; - delitem 1019,500; - delitem 7200,10; - delitem 1049,20; - delitem 7165,500; - delitem 1054,2; - delitem 1024,100; - next; - getitem 5169,1; - mes @npcname$; - mes "Thanks, you can have your mask now."; - close; - - - case 4: - mes @npcname$; - mes "Okay, come back if you feel up to it later."; + mes "[Chungwolmang]"; + mes "Oh, right! I almost forgot."; + mes "I promised you to pay back your favor, right?"; + mes "I know that this might sound selfish,"; + mes "but, hey, can you do me one more favor?"; + mes "Since you did me a favor already,"; + mes "I don't think that it would be"; + mes "that hard for you to help me one more time?"; + mes "Please, show me your generosity~"; + next; + mes "[Chungwolmang]"; + mes "I need... ^FF0000500 Log^000000 and"; + mes "^FF000010 Elastic Band^000000."; + mes "Will you be so kind to bring them to me?"; + mes "In fact, I can't pay you back unless I have them."; + next; + delitem 706,1; //Four_Leaf_Clover + set moza_tal,1; + mes "[Chungwolmang]"; + mes "You want me to pay you back, don't you?"; + mes "So, please bring them to me, please~"; close; - + } + mes "[Chungwolmang]"; + mes "I see... Well, it is not easy to give away the lucky charm"; + mes "to a stranger without a second thought."; + mes "...Haha, but that doesn't make me stop being upset."; + mes "How dare you to refuse my request? Hah!"; + close; } - -} - - - -//====================== Judge Hat / A-Yam Hat ============================================= - -payon,137,123,5 script Hangaram 740,{ - set @npcname$,"[Hangaram]"; - - mes @npcname$; - mes "Hello adventurer!"; - mes "Our life is complicated."; + mes "[Chungwolmang]"; + mes "Arrrgghhh... I neeed... I need..."; next; - - mes @npcname$; - mes "But if you want I can help you by making 2 Hats."; + mes "[Chungwolmang]"; + mes "I want to be lucky! Someone, please bring me luck!"; + mes "I am not asking too much! I need one thing!"; next; - - mes @npcname$; - mes "My creations are the Judge Hat and the A-Yam Hat."; - mes "Which Hat do you want?"; - next; - - switch(select("Judge Hat","A-Yam Hat","No thanks")) - { - - case 1: - mes @npcname$; - mes "^3355FFJudge Hat^000000"; - mes "7 Red Bijou,"; - mes "7 Blue Bijou,"; - mes "7 Yellow Bijou,"; - mes "7 Green Bijou,"; - mes "300 Shining Scales,"; - next; - mes "1 Black Dyestuff,"; - mes "5 Cracked Diamond and"; - mes "1 Slotted Hat."; - next; - mes @npcname$; - if( (countitem(7445)<7) || (countitem(7446)<7) || (countitem(7447)<7) || (countitem(7448)<7) || (countitem(954)<300) || (countitem(983)<1) || (countitem(733)<5) || (countitem(2221)<1) ){ - mes "Please, return when you have everything I need."; - close; - } - delitem 7445,7; - delitem 7446,7; - delitem 7447,7; - delitem 7448,7; - delitem 954,300; - delitem 983,1; - delitem 733,5; - delitem 2221,1; + mes "[Chungwolmang]"; + mes "I need a ^FF0000Four Leaf Clover^000000!"; + mes "Somebody, please bring me a Four Leaf Clover!"; + close; +} - mes "Ok you seem to have all the items."; +//====================== Judge Hat / A-Yam Hat ============================================= +payon_in03,139,124,3 script Han Garam 88,{ + if (moza_korea == 2 && countitem(954) > 299 && countitem(733) > 4 && countitem(975) > 0 && countitem(7166) > 49) { + mes "[Han Garam]"; + mes "You came back faster than I expected."; + mes "Great, I am also highly motivated for the fact that"; + mes "my Ayam will belong to someone like you,"; + mes "who are competent and trustworthy."; + next; + mes "[Han Garam]"; + mes "Okay then, I will make the hat as quickly as I can."; + mes "Now, hand me all the materials."; + next; + if (select("Give him the items.:Don't give him the items.") == 1) { + mes "[Han Garam]"; + mes "Excellent! I don't have to be mediumized"; + mes "by the Dragon God for this work"; + mes "because I can perfectly do it on my own."; + mes "So, hold it right there, okay?"; next; - - mes @npcname$; - mes "Hmmm.. We now make this... Mmm."; - emotion 9; + mes "[Han Garam]"; + mes "Yes...right...umm hmm."; next; - - mes @npcname$; - mes "Now we use the Dyestuff like this."; - emotion 23; + mes "[Han Garam]"; + mes "................."; next; - - mes @npcname$; - mes "OMG!!! this isn't meant to be like this."; - emotion 28; + mes "- Han Garam started hammering, -"; + mes "- and assembling the materials without a word. -"; next; - - mes @npcname$; - mes "...."; + mes "[Han Garam]"; + mes "................."; next; - - mes @npcname$; - mes "Sorry, it didn't work."; + mes "[Han Garam]"; + mes "Phew, it was quite difficult,"; + mes "as I had not done this for quite a while."; next; - - mes @npcname$; - mes "Well that's the way life is."; + mes "[Han Garam]"; + mes "I still feel good that I had a chance"; + mes "to exercise my skills, you know. It was fun, too."; + mes "Please take this Ayam."; + mes "As I promised, this is my gift for you."; next; - - mes @npcname$; - mes "JAJAJAJA... I was just kidding here is your item !!"; - emotion 29; + delitem 954,300; //Shining_Scales + delitem 733,5; //Crystal_Jewel___ + delitem 975,1; //Scarlet_Dyestuffs + delitem 7166,50; //Soft_Silk_Cloth + set moza_korea,0; + getitem 5174,1; //A_yam + mes "[Han Garam]"; + mes "Now I need to meet with the Dragon God again,"; + mes "if I want to make another hat...umm..."; + mes "Oh well, somehow I was able to make one this time with your help,"; + mes "so I guess that it will happen when the time is right."; next; - - getitem 5173,1; - - mes @npcname$; - mes "Good Work."; + mes "[Han Garam]"; + mes "Thank you so much! Please take my Ayam with care,"; + mes "and be proud that you are the owner of Ayam!"; close; - - case 2: - mes @npcname$; - mes "^3355FFA-Yam Hat^000000"; - mes "7 Red Bijou,"; - mes "7 Blue Bijou,"; - mes "7 Yellow Bijou,"; - mes "7 Green Bijou,"; - mes "300 Shining Scales,"; - next; - mes "1 Scarlet Dyestuff,"; - mes "5 Cracked Diamonds and"; - mes "50 Soft Silks."; - next; - mes @npcname$; - if( (countitem(7445)<7) || (countitem(7446)<7) || (countitem(7447)<7) || (countitem(7448)<7) || (countitem(954)<300) || (countitem(975)<1) || (countitem(733)<5) || (countitem(7166)<50) ){ - mes "Please return when you have everything I need."; - close; - } - delitem 7445,7; - delitem 7446,7; - delitem 7447,7; - delitem 7448,7; - delitem 954,300; - delitem 975,1; - delitem 733,5; - delitem 7166,50; - - mes "Well, you have everything."; + } + mes "[Han Garam]"; + mes "...? What? Do you need more time?"; + mes "Can't you just give them to me already?"; + close; + } + else if (moza_korea == 2 && countitem(954) > 299 && countitem(733) > 4 && countitem(983) > 0 && countitem(2221) > 0) { + mes "[Han Garam]"; + mes "You came back faster than I expected."; + mes "Great, I am also highly motivated for the fact that"; + mes "my Magistrate Hat will belong to someone like you,"; + mes "who are competent and trustworthy."; + next; + mes "[Han Garam]"; + mes "Okay then, I will make the hat as quickly as I can."; + mes "Now, hand me all the materials."; + next; + if (select("Give him the items.:Don't give him the items.") == 1) { + mes "[Han Garam]"; + mes "Excellent! I don't have to be mediumized"; + mes "by the Dragon God for this work"; + mes "because I can perfectly do it on my own."; + mes "So, hold it right there, okay?"; next; - - mes @npcname$; - mes "Mmm now we just split this part..."; - emotion 9; + mes "[Han Garam]"; + mes "Yes...right...umm hmm."; next; - - mes @npcname$; - mes "We throw this... Mmm.."; - emotion 23; + mes "[Han Garam]"; + mes "................."; next; - - mes @npcname$; - mes "This isn't meant to be like this.."; - emotion 28; + mes "- Han Garam started hammering, -"; + mes "- and assembling the materials without a word. -"; next; - - mes @npcname$; - mes "... ready!!!"; - emotion 21; + mes "[Han Garam]"; + mes "................."; next; - - getitem 5174,1; - - mes @npcname$; - mes "Here you have my young fella !"; + mes "[Han Garam]"; + mes "Phew, it was quite difficult,"; + mes "as I had not done this for quite a while."; + next; + mes "[Han Garam]"; + mes "I still feel good that I had a chance"; + mes "to exercise my skills, you know. It was fun, too."; + mes "Please take this Ayam."; + mes "As I promised, this is my gift for you."; + next; + delitem 954,300; //Shining_Scales + delitem 733,5; //Crystal_Jewel___ + delitem 983,1; //Black_Dyestuffs + delitem 2221,1; //Hat_ + set moza_korea,0; + getitem 5173,1; //Judge_Hat + mes "[Han Garam]"; + mes "Now I need to meet with the Dragon God again,"; + mes "if I want to make another hat...umm..."; + mes "Oh well, somehow I was able to make one this time with your help,"; + mes "so I guess that it will happen when the time is right."; + next; + mes "[Han Garam]"; + mes "Thank you so much! Please take my Ayam with care,"; + mes "and be proud that you are the owner of Ayam!"; close; - - - case 3: - mes @npcname$; - mes "Goodbye then."; - close; - + } + mes "[Han Garam]"; + mes "...? What? Do you need more time?"; + mes "Can't you just give them to me already?"; + close; + } + else if (moza_korea == 2) { + mes "[Han Garam]"; + mes "To make Ayam, I need"; + mes "^FF0000300 Shining Scale^000000, ^FF00005 Cracked Diamond^000000,"; + mes "^FF00001 Scarlet Dyestuffs^000000, and"; + mes "^FF000050 Soft Silk^000000!"; + next; + mes "[Han Garam]"; + mes "To make Magistrate Hat, I need"; + mes "^FF0000300 Shining Scale^000000, ^FF00005 Cracked Diamond^000000,"; + mes "^FF00001 Black Dyestuffs^000000, and ^FF00001 Slotted Hat^000000!"; + next; + mes "[Han Garam]"; + mes "...That's what I said."; + mes "So, choose a hat, and bring me"; + mes "its materials without missing anything."; + next; + mes "[Han Garam]"; + mes "Ah~ it's been a while since the last time that I felt the Dragon God in me."; + mes "I felt like that I have learned something unworldly."; + close; } + else if (moza_korea == 1) { + mes "[Han Garam]"; + mes "............."; + next; + mes "[Han Garam]"; + mes "............."; + next; + mes "[Han Garam]"; + mes "............."; + next; + mes "[Han Garam]"; + mes "...*Tremble Tremble*...He...He's here...He's here!"; + mes "*Tremble Tremble* I can feel"; + mes "the Dragon God inside of me! Waaah!"; + mes "He is waving his tail, and showing me future!"; + mes "Aaaaaahhhhhhh!"; + next; + misceffect 90; //EF_LORD; + mes "[Han Garam]"; + mes "Waaaahhhh!"; + next; + mes "[Han Garam]"; + mes "............."; + next; + mes "[Han Garam]"; + mes "............."; + next; + mes "[Han Garam]"; + mes "Yes... yes, I can! I can make ^FF0000Ayam^000000"; + mes "and ^FF0000Magistrate Hat^000000 now!"; + mes "Oh, I can see how to make them,"; + mes "I know what I need to make them! Everything is in my vision!"; + mes "I feel like that I am alreadying making one!"; + next; + mes "[Han Garam]"; + mes "To make Ayam, I need"; + mes "^FF0000300 Shining Scale^000000, ^FF00005 Cracked Diamond^000000,"; + mes "^FF00001 Scarlet Dyestuffs^000000, and"; + mes "^FF000050 Soft Silk^000000!"; + next; + mes "[Han Garam]"; + mes "To make Magistrate Hat, I need"; + mes "^FF0000300 Shining Scale^000000, ^FF00005 Cracked Diamond^000000,"; + mes "^FF00001 Black Dyestuffs^000000, and ^FF00001 Slotted Hat^000000!"; + next; + mes "[Han Garam]"; + mes "Anyone who brings these, I will create hat for him!"; + mes "Ahhh~ Dragon God!"; + next; + misceffect 7; //EF_EXIT; + mes "[Han Garam]"; + mes "............."; + next; + mes "[Han Garam]"; + mes "............."; + next; + mes "[Han Garam]"; + mes "Phew... Dragon God has gone now."; + mes "However, I still clearly remember"; + mes "what I need, and how to make the hats."; + mes "So, you don't have to worry about that."; + mes "You know...are they Ayam and Magistrate Hat?"; + next; + mes "[Han Garam]"; + mes "You heard what materials I need, don't you?"; + mes "Choose a hat, and bring me its materials without missing anything."; + next; + set moza_korea,2; + mes "[Han Garam]"; + mes "Okay then, I will be waiting you to come back."; + close; + } + if (countitem(7446) > 6 && countitem(7448) > 6 && countitem(7445) > 6 && countitem(7447) > 6) { + mes "[Han Garam]"; + mes "My name is Han Garam,"; + mes "and I am a proud heir of a renown family... eh?"; + mes "Wait, I feel something mysteriously familiar from you..."; + mes "Hey, do you have 7 Bijous for each of the 4 Bijou colors?"; + next; + mes "[Han Garam]"; + mes "...Wow! This is crazy! You do have them, don't you?"; + mes "Wow, how did you gather all of them? They are so hard to find..."; + next; + mes "[Han Garam]"; + mes "........Umm."; + next; + mes "[Han Garam]"; + mes "Hey, if you don't mind, can I have them?"; + mes "In fact, I am the only traditional hat craftsman"; + mes "in this Rune-Midgarts Kingdom."; + mes "However, I have recently gotten into trouble,"; + mes "and have not been able to focus on my business."; + next; + mes "[Han Garam]"; + mes "The trouble is that I have ran out of those Bijous."; + mes "You know, those colorful beads that you have."; + mes "I could restart my business again,"; + mes "only if I have them...*Sigh*"; + next; + mes "[Han Garam]"; + mes "Can you please let me have them?"; + mes "I will pay you back with one of my proud traditional hats."; + mes "Well, since I am the only one who can make them,"; + mes "in fact, you are not doing a losing business with me, don't you think?"; + next; + mes "[Han Garam]"; + mes "Please? I assure you that I can make traditional hats."; + next; + if (select("Give him the items.:Don't give him the items.") == 1) { + mes "[Han Garam]"; + mes "Wow, wow, thank you so much!"; + mes "As I promised, I will make you a hat in return."; + mes "But, can you wait for a while?"; + mes "To make hat, I have to contact the Dragon God first."; + next; + delitem 7446,7; //Blue_Orb + delitem 7448,7; //Yellow_Orb + delitem 7445,7; //Green_Orb + delitem 7447,7; //Red_Orb + set moza_korea,1; + mes "[Han Garam]"; + mes "...Okay, give me some time to focus."; + close; + } + mes "[Han Garam]"; + mes "Bah, that's your choice."; + mes "If you change your mind, tell me immediately though."; + mes "You should know that"; + mes "those things belong to someone else, not you."; + close; + } + mes "[Han Garam]"; + mes "I am Han Garam, and a heir of a formerly renown family."; + mes "Do you want to know why I say ''formerly renown''?"; + mes "It is because my grandfather lost my family's wealth,"; + mes "and now we are just like other ordinary families, hahahaha!"; + next; + mes "[Han Garam]"; + mes "I have inherited nothing but this traditional hat making skill."; + mes "Even then, it is a quite extraordinary inheritance,"; + mes "since I am the only one in the Rune-Midgarts Kingdom"; + mes "who can make traditional hats."; + next; + mes "[Han Garam]"; + mes "Unfortunately, I haven't been able to"; + mes "exercise my skill because I haven't met with the Dragon God..."; + mes "Eh? What do I mean, you ask?"; + mes "You know what mediums do, right?"; + mes "They receive spirits into their bodies,"; + mes "and communicate with them."; + next; + mes "[Han Garam]"; + mes "So, in my case, a Dragon God comes into my body,"; + mes "and gives me strength and wisdom."; + mes "When my family was wealthy,"; + mes "we had enough invocation materials"; + mes "to summon the Dragon God,"; + mes "but now, as you see,"; + mes "we cannot afford such expensive things."; + next; + mes "[Han Garam]"; + mes "Basically, I may have inherited my family's heirloom,"; + mes "but I can't use it"; + mes "because I cannot afford buying the invocation materials."; + next; + mes "[Han Garam]"; + mes "To summon the Dragon God,"; + mes "I must have ^FF00007 Bijous for each of the 4 Bijou colors^000000."; + mes "^FF0000I need 7 Bijous for each of the Blue, "; + mes "^FF0000Yellow, Green, and Red colors^000000."; + mes "Basically I need total 28 Bijous...umm."; + next; + mes "[Han Garam]"; + mes "As I said earlier, not only they are expensive,"; + mes "but also they are hard to find..."; + mes "*Sigh* I am afraid that my family's heirloom skill"; + mes "might be discontinued at my generation..."; + close; } diff --git a/npc/scripts_athena.conf b/npc/scripts_athena.conf index 504053904..7d539c90e 100644 --- a/npc/scripts_athena.conf +++ b/npc/scripts_athena.conf @@ -175,6 +175,18 @@ npc: npc/kafras/dts_warper.txt //npc: npc/events/whiteday.txt //npc: npc/events/twintowers.txt + +//Novice WoE is a kRO Event, after the event, the scripts were disabled. +//Novice Castles doesn't have real dungeons. They're connected to the common ones. +//So it's better not to uncomment this line. +//npc: npc/events/nguild/nguild_dunsw.txt +//npc: npc/events/nguild/nguild_treas.txt +//npc: npc/events/nguild/nguild_guardians.txt +//npc: npc/events/nguild/nguild_warper.txt +//npc: npc/events/nguild/nguild_ev_agit.txt +//npc: npc/events/nguild/nguild_flags.txt +//npc: npc/events/nguild/nguild_managers.txt +//npc: npc/events/nguild/nguild_kafras.txt // -------------------------------------------------------------- // --------------------------- Others --------------------------- npc: npc/other/pvp.txt @@ -186,4 +198,5 @@ npc: npc/other/marriage.txt npc: npc/other/divorce.txt npc: npc/other/comodo_gambling.txt npc: npc/other/powernpc.txt +npc: npc/other/resetskill.txt // -------------------------------------------------------------- diff --git a/npc/scripts_guild.conf b/npc/scripts_guild.conf index a5a1d531b..11412d06d 100644 --- a/npc/scripts_guild.conf +++ b/npc/scripts_guild.conf @@ -53,15 +53,4 @@ npc: npc/guild/prtg/prtg_kafras.txt npc: npc/guild/prtg/prtg_dunsw.txt npc: npc/guild/prtg/prtg_treas.txt npc: npc/guild/prtg/prtg_guardians.txt -// -- Guild Wars: NGuild -npc: npc/guild/nguild/nguild_ev_agit.txt -npc: npc/guild/nguild/nguild_flags.txt -npc: npc/guild/nguild/nguild_managers.txt -npc: npc/guild/nguild/nguild_kafras.txt -//N Guild doesn't have REAL dungeons. They are connected to the common ones. -//So better don't uncomment this line. -//npc: npc/guild/nguild/nguild_dunsw.txt -npc: npc/guild/nguild/nguild_treas.txt -npc: npc/guild/nguild/nguild_guardians.txt -npc: npc/guild/nguild/nguild_warper.txt // -------------------------------------------------------------- |