[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Hypnotist |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= L0ne_W0lf |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.0 |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena SVN |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= [Aegis conversion] |
---|
| 11 | //= Permenent first class, base level 40 and under skill resetter. |
---|
| 12 | //= First Class characters and expanded classes only. |
---|
| 13 | //= Baby Classes and First Class trans can't use this service. |
---|
| 14 | //===== Additional Comments: ================================= |
---|
| 15 | //= 1.0 First version. [L0ne_W0lf] |
---|
| 16 | //============================================================ |
---|
| 17 | prontera,146,232,4 script Hypnotist#2 124,{ |
---|
| 18 | mes "[Hypnotist]"; |
---|
| 19 | mes "Greetings, adventurer."; |
---|
| 20 | mes "I'm a member of the Hypnotist"; |
---|
| 21 | mes "Academy sent here to Prontera"; |
---|
| 22 | mes "to provide Skill Reset services"; |
---|
| 23 | mes "to certain First Class characters for a really good price: free!"; |
---|
| 24 | next; |
---|
| 25 | mes "[Hypnotist]"; |
---|
| 26 | mes "Although I offer unlimited"; |
---|
| 27 | mes "skill resets for now, I have"; |
---|
| 28 | mes "two conditions that must be"; |
---|
| 29 | mes "fulfilled. First, you must be"; |
---|
| 30 | mes "lower than ^FF0000Base Level 40^000000."; |
---|
| 31 | next; |
---|
| 32 | mes "[Hypnotist]"; |
---|
| 33 | mes "Second, you must be a"; |
---|
| 34 | mes "^FF0000Swordman, Acolyte, Mage,"; |
---|
| 35 | mes "Thief, Archer, Merchant,"; |
---|
| 36 | mes "Taekwon Boy, Taekwon Girl, Gunslinger and Ninja^000000"; |
---|
| 37 | mes "Job character to qualify."; |
---|
| 38 | mes "Now, do you have any questions?"; |
---|
| 39 | next; |
---|
| 40 | switch(select("Skill Reset?:I want a Skill Reset:Nothing")) { |
---|
| 41 | |
---|
| 42 | case 1: |
---|
| 43 | mes "[Hypnotist]"; |
---|
| 44 | mes "Skill Resets allow adventuers"; |
---|
| 45 | mes "to redistribute their Skill"; |
---|
| 46 | mes "Points if they are unhappy"; |
---|
| 47 | mes "with their current skills."; |
---|
| 48 | next; |
---|
| 49 | mes "[Hypnotist]"; |
---|
| 50 | mes "Before proceeding with"; |
---|
| 51 | mes "a Skill Reset, you must"; |
---|
| 52 | mes "reduce all of the weight"; |
---|
| 53 | mes "of all carried items on your"; |
---|
| 54 | mes "character to 0. You can put"; |
---|
| 55 | mes "extra items in Kafra Storage."; |
---|
| 56 | next; |
---|
| 57 | mes "[Hypnotist]"; |
---|
| 58 | mes "Ah, it's also important"; |
---|
| 59 | mes "to remove your ^FF0000Pushcart^000000"; |
---|
| 60 | mes "if you have one equipped."; |
---|
| 61 | mes "Otherwise, hypnosis won't"; |
---|
| 62 | mes "work, or will backfire..."; |
---|
| 63 | close; |
---|
| 64 | |
---|
| 65 | case 2: |
---|
| 66 | mes "[Hypnotist]"; |
---|
| 67 | mes "Are you sure that you"; |
---|
| 68 | mes "want to proceed with"; |
---|
| 69 | mes "my ^FF0000Skill Reset^000000 service?"; |
---|
| 70 | next; |
---|
| 71 | if (select("Yes:Cancel") == 1) { |
---|
| 72 | if (BaseLevel > 40) { |
---|
| 73 | mes "[Hypnotist]"; |
---|
| 74 | mes "I'm sorry, but characters"; |
---|
| 75 | mes "with Base Levels higher"; |
---|
| 76 | mes "than 40 are ineligible for the"; |
---|
| 77 | mes "Skill Reset service I provide."; |
---|
| 78 | close; |
---|
| 79 | } |
---|
| 80 | if ((Class > 0 && Class < 7 && Upper == 0) || (Class == Job_Gunslinger) || (Class == Job_Ninja) || (Class == Job_Taekwon)) { |
---|
| 81 | if (checkcart()) { |
---|
| 82 | mes "[Hypnotist]"; |
---|
| 83 | mes "Oh! Please remove your"; |
---|
| 84 | mes "Pushcart before proceeding"; |
---|
| 85 | mes "with the Skill Reset service."; |
---|
| 86 | mes "Thanks for cooperating~"; |
---|
| 87 | close; |
---|
| 88 | } |
---|
| 89 | if (Weight) { |
---|
| 90 | mes "[Hypnotist]"; |
---|
| 91 | mes "If you're here for my Skill"; |
---|
| 92 | mes "Reset service, please"; |
---|
| 93 | mes "remember that you can't"; |
---|
| 94 | mes "reset your skills until the"; |
---|
| 95 | mes "^FF0000weight of your carried items in"; |
---|
| 96 | mes "your Inventory is reduced to 0^000000."; |
---|
| 97 | next; |
---|
| 98 | mes "[Hypnotist]"; |
---|
| 99 | mes "Why don't you place your"; |
---|
| 100 | mes "things into the Kafra Storage"; |
---|
| 101 | mes "for now? That way, you can"; |
---|
| 102 | mes "safely keep all of your goods."; |
---|
| 103 | close; |
---|
| 104 | } |
---|
| 105 | mes "[Hypnotist]"; |
---|
| 106 | mes "Thank you for using"; |
---|
| 107 | mes "my Skill Redistribution"; |
---|
| 108 | mes "services. Oh, and best"; |
---|
| 109 | mes "of luck to you on your"; |
---|
| 110 | mes "travels, adventurer."; |
---|
| 111 | ResetSkill; |
---|
| 112 | close; |
---|
| 113 | } |
---|
| 114 | mes "[Hypnotist]"; |
---|
| 115 | mes "I'm sorry, but your"; |
---|
| 116 | mes "Job Class doesn't qualify"; |
---|
| 117 | mes "for the Skill Reset service"; |
---|
| 118 | mes "that I provide. I can only"; |
---|
| 119 | mes "offer Skill Resets to the"; |
---|
| 120 | mes "following Jobs..."; |
---|
| 121 | next; |
---|
| 122 | mes "[Hypnotist]"; |
---|
| 123 | mes "^FF0000Swordman, Acolyte,"; |
---|
| 124 | mes "Mage, Thief, Archer,"; |
---|
| 125 | mes "Merchant, Taekwon"; |
---|
| 126 | mes "Boy, Taekwon Girl, Gunslinger and Ninja^000000."; |
---|
| 127 | close; |
---|
| 128 | } |
---|
| 129 | mes "[Hypnotist]"; |
---|
| 130 | mes "Thank you, and good"; |
---|
| 131 | mes "luck on your adventures."; |
---|
| 132 | mes "Please travel in safety~"; |
---|
| 133 | close; |
---|
| 134 | |
---|
| 135 | case 3: |
---|
| 136 | mes "[Hypnotist]"; |
---|
| 137 | mes "Thank you, and good"; |
---|
| 138 | mes "luck on your adventures."; |
---|
| 139 | mes "Please travel in safety~"; |
---|
| 140 | close; |
---|
| 141 | } |
---|
| 142 | |
---|
| 143 | } |
---|