root/npc/events/nguild/nguild_warper.txt @ 1

Revision 1, 3.5 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]1//===== eAthena Script =======================================
2//= Novice's Guild Castles War of Emperium Usher NPC
3//===== By: ==================================================
4//= Lupus
5//===== Current Version: =====================================
6//= 1.7
7//===== Compatible With: =====================================
8//= eAthena 1+ with eaclass(); RO Episode 4+
9//===== Description: =========================================
10//=
11//===== Additional Comments: =================================
12//= Now you have access to 4 N Guild castles. They don't have
13//= dungeons. And 2nd Classes can't seize these Castles.
14//= These new castles need a new strategy. It would bring some
15//= fun and live to your game.
16//= NOTE: If your Guild Master is 2nd class, then he could
17//=     rule the Castles and gather Treasure Boxes after WoE
18//= 1.1 Now 2nd classes can't enter NC place at all
19//= 1.2 Restricted access of SG/SL. On warp clear some
20//=     unallowed buffs [Lupus]
21//= 1.3 Restricted TK,High classes >=90 BaseLevel,
22//=     updated list of unallowed buffs [Lupus]
23//= 1.4 Restricted it to 80 Base Level [Lupus]
24//= 1.5 According to official info: 1 Treasure Chest per Castle
25//= 1.6 Only 1st Class < 60 BaseLevel Players can participate
26//= 1.7 Guilds with Emergency Call or with 9+ skill points
27//=             can't take part in NWoE. [Lupus]
28//=     TODO: The official entrance is in Izlude.
29//============================================================
30
31
32prontera,146,163,6      script  Novice Castles  729,{
33        mes "[Cita]";
34        if(getcharid(2)!=0){
35                if(getgdskilllv(getcharid(2),10013)){
36                        mes "I see... your guild has Emergency Call mastered.";
37                        mes "You cannot enter the Novice Castle area.";
38                        emotion e_hmm;
39                        emotion e_wah,1;
40                        close;
41                }
42                if(
43                        getgdskilllv(getcharid(2),10000) +
44                        getgdskilllv(getcharid(2),10001) +
45                        getgdskilllv(getcharid(2),10002) +
46                        getgdskilllv(getcharid(2),10003) +
47                        getgdskilllv(getcharid(2),10004) +
48                        getgdskilllv(getcharid(2),10005) +
49                        getgdskilllv(getcharid(2),10006) +
50                        getgdskilllv(getcharid(2),10007) +
51                        getgdskilllv(getcharid(2),10008) +
52                        getgdskilllv(getcharid(2),10009) +
53                        getgdskilllv(getcharid(2),10010) +
54                        getgdskilllv(getcharid(2),10011) +
55                        getgdskilllv(getcharid(2),10012) +
56                        getgdskilllv(getcharid(2),10013) +
57                        getgdskilllv(getcharid(2),10014) > 9
58                ){
59                        mes "I see... your guild has Emergency Call mastered.";
60                        mes "You cannot enter the Novice Castle area.";
61                        emotion e_hmm;
62                        emotion e_wah,1;
63                        close;
64                }
65        } else {
66                mes "^FF0000You have to enter a guild to be able to hit Emperium!^000000";
67        }
68        mes "I'm a new usher of Novice Castles.";
69        next;
70        if( !(eaclass()&(EAJL_2|EAJL_UPPER)) && BaseLevel<60 )
71                menu "Warp me to Novice Castles",M_WARP,"Cancel",-;
72
73        mes "[Cita]";
74        mes "I'm sorry, you can't enter the sacred Novice Castles place.";
75        emotion e_sry;
76        close;
77
78M_WARP:
79        //remove several unallowed buffs
80        sc_end SC_ASSUMPTIO;
81        sc_end SC_IMPOSITIO;
82        sc_end SC_SUFFRAGIUM;
83        sc_end SC_MAGNIFICAT;
84        sc_end SC_WEAPONPERFECTION;
85        sc_end SC_GOSPEL;
86        sc_end SC_BASILICA;
87        sc_end SC_MAGICPOWER;
88        sc_end SC_MARIONETTE;
89        sc_end SC_MARIONETTE2;
90        sc_end SC_DEVOTION;
91        sc_end SC_SACRIFICE;
92        sc_end SC_MAXOVERTHRUST;
93        sc_end SC_SPIRIT;
94        warp "n_castle",102,93+rand(14);
95        close;
96}
97
98
99n_castle,102,107,5      script  Cita    729,{
100        mes "[Cita]";
101        mes "Hello, "+ strcharinfo(0) +". Can I help you?";
102        next;
103        menu "Warp me to Prontera!",-,"Cancel",LEnd;
104       
105                warp "prontera",155,177+rand(5);
106                close;
107        LEnd:
108                mes "[Cita]";
109                mes "Ok.";
110                close;
111}
Note: See TracBrowser for help on using the browser.