diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-19 17:04:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-19 17:04:51 -0300 |
commit | da4388affc8fa3414dafbbea2da15642cd495857 (patch) | |
tree | f9f73d38c8057df9a316fe5dc933474e6a66dcfe /npc | |
parent | ddc3ea3200ede1dc20077059c02e564f77e21ff9 (diff) | |
download | serverdata-da4388affc8fa3414dafbbea2da15642cd495857.tar.gz serverdata-da4388affc8fa3414dafbbea2da15642cd495857.tar.bz2 serverdata-da4388affc8fa3414dafbbea2da15642cd495857.tar.xz serverdata-da4388affc8fa3414dafbbea2da15642cd495857.zip |
Remove old class skills, add new skill 20010 TMW2_SKILLPERMIT (unused)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-0/luca.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/003-0/luca.txt b/npc/003-0/luca.txt index 882ffeead..3c0fd60db 100644 --- a/npc/003-0/luca.txt +++ b/npc/003-0/luca.txt @@ -10,13 +10,13 @@ mesq l("I am the @@ master.", l("Magic Warriors")); if (!MAGIC_LVL) goto L_NoMagic; if (getskilllv(WIZARD_MAGE) && !is_admin()) close; - if (getskilllv(MAGIC_WARRIOR) == 0) goto L_SignUp; + if (getskilllv(TMW2_SKILLPERMIT) == 0) goto L_SignUp; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 0) goto L_Tier2; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER >= 1) goto L_T2_S0; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 0) goto L_Tier2; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER >= 1) goto L_T2_S0; // Sanity check - if (getskilllv(MAGIC_WARRIOR) >= 1) { + if (getskilllv(TMW2_SKILLPERMIT) >= 1) { mesn; mesq l("The Warriors have three other subclasses:"); mesn lg("Paladin"); @@ -81,7 +81,7 @@ L_JoinReq: L_Tier1Ok: // The last argument is duration: 0 - permanent 1- temporary. If omitted, defaults to 1. skill(SM_BASH,1,0); - skill(MAGIC_WARRIOR,1,0); + skill(TMW2_SKILLPERMIT,1,0); mes ""; mesn; mesq l("Here, learn this awesome skill. It is on the skills tab. You can drag it to the shortcut list. Use it to protect people!"); @@ -199,21 +199,21 @@ L_T2_Fail: close; L_T2_S0: - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 1) goto L_T2_S1; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 1) goto L_T2_S1; if (gettimetick(2) > QUEST_ELEVARTEMPO) goto L_T2_Fail; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 2) goto L_T2_S2; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 3) goto L_T2_S3; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 4) goto L_T2_S4; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 5) goto L_T2_S5; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 6) goto L_T2_S6; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER <= 9) goto L_T2_S7; - if (getskilllv(MAGIC_WARRIOR) == 1 && MAGIC_LVL >= 2 && ST_TIER == 10) goto L_T2_Final; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 2) goto L_T2_S2; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 3) goto L_T2_S3; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 4) goto L_T2_S4; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 5) goto L_T2_S5; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 6) goto L_T2_S6; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER <= 9) goto L_T2_S7; + if (getskilllv(TMW2_SKILLPERMIT) == 1 && MAGIC_LVL >= 2 && ST_TIER == 10) goto L_T2_Final; mesc l("Error, error, L_T2_S0 General Error, REPORT ME"); close; L_T2_S1: - //MAGIC_WARRIOR l("Magic Warriors") WIZARD_MAGE + //TMW2_SKILLPERMIT l("Magic Warriors") WIZARD_MAGE mes ""; mesn; mesq l("So, young disciple! I wish I could just chant some gibberish words and that automatically granted you more skills, but alas, that won't work."); @@ -344,7 +344,7 @@ L_T2_S7: L_T2_Final: skill(NV_TRICKDEAD,1,0); skill(SM_PROVOKE, 1, 0); - addtoskill(MAGIC_WARRIOR,2,0); + addtoskill(TMW2_SKILLPERMIT,2,0); getexp 40000, 0; // Yes, 40k experience points. Waw. mesc l(".:: Congratulations! ::."), 2; mesc l("You advanced your tier!"), 2; |