summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-18 16:10:44 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-18 16:10:44 +0000
commitdb1009ffad9090e5e9f067136acaaa69875b561c (patch)
tree69177f8dff415c6b6add3aaa17971610cdccb493
parent92af24a6cad29368bef742c612700496238a7113 (diff)
downloadhercules-db1009ffad9090e5e9f067136acaaa69875b561c.tar.gz
hercules-db1009ffad9090e5e9f067136acaaa69875b561c.tar.bz2
hercules-db1009ffad9090e5e9f067136acaaa69875b561c.tar.xz
hercules-db1009ffad9090e5e9f067136acaaa69875b561c.zip
Guilds with Emergency Call skill mastered or with 9+ skill points can't take part in Novice Castles WoE.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9877 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/Changelog.txt3
-rw-r--r--npc/guild/nguild/nguild_warper.txt40
2 files changed, 41 insertions, 2 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index 951e85959..689537081 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -26,6 +26,9 @@ KarLaeda
Date Added
======
+2007/02/19
+ * Guilds with Emergency Call skill mastered or with 9+ skill points [Lupus]
+ can't take part in Novice Castles WoE.
2007/02/16
* Updated the Dancer job quest to attach a player to the main timer script.
* Updated WoE scripts since the "guardian" script command no longer has a
diff --git a/npc/guild/nguild/nguild_warper.txt b/npc/guild/nguild/nguild_warper.txt
index c59edbacb..56cc22155 100644
--- a/npc/guild/nguild/nguild_warper.txt
+++ b/npc/guild/nguild/nguild_warper.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= Lupus
//===== Current Version: =====================================
-//= 1.6
+//= 1.7
//===== Compatible With: =====================================
//= eAthena 1+ with eaclass(); RO Episode 4+
//===== Description: =========================================
@@ -23,13 +23,49 @@
//= 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.gat,146,163,6 script Novice Castles 729,{
mes "[Cita]";
- mes "Hey! I'm a new usher of Novice Castles.";
+ if(getcharid(2)!=0){
+ if(getgdskilllv(getcharid(2),10013)){
+ mes "I see... your guild has Emergency Call mastered.";
+ mes "You can't enter the Novice Caste 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 can't enter the Novice Caste 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",-;