[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Hunter Skills Quests |
---|
| 3 | //===== By: ================================================== |
---|
| 4 | //= Lupus, Reddozen |
---|
| 5 | //===== Current Version: ===================================== |
---|
| 6 | //= 1.3d |
---|
| 7 | //===== Compatible With: ===================================== |
---|
| 8 | //= eAthena Revision 3800+ |
---|
| 9 | //===== Description: ========================================= |
---|
| 10 | //= Temp quests for new skills for 2nd classes |
---|
| 11 | //===== Additional Comments: ================================= |
---|
| 12 | //= 1.0 for fully working skills only [Lupus] |
---|
| 13 | //= 1.1 Added more new skill quests for more classes [Lupus] |
---|
| 14 | //= Somehow eA engine doesn't let you keep learn't skill V_V' |
---|
| 15 | //= 1.2 Added to correct locations, correct NPC's, fixed |
---|
| 16 | //= some of the items required and made them into real |
---|
| 17 | //= quests. [Reddozen] |
---|
| 18 | //= 1.3 Fixed bugs and minor typos. Optimized [Lupus] |
---|
| 19 | //= 1.3a fixed an item ID typo, thx 2Spiritual Kid |
---|
| 20 | //= 1.3b Splitted into different files [DracoRPG] |
---|
| 21 | //= 1.3c Fixed some typos [IVBela] |
---|
| 22 | //= 1.3d Changed NPC Name to the official [Lupus] |
---|
| 23 | //============================================================ |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | //============================================================ |
---|
| 27 | // HUNTER SKILL - PHANTASMIC ARROW |
---|
| 28 | //============================================================ |
---|
| 29 | payon_in02,54,13,7 script Albest 55,{ |
---|
| 30 | mes "[Albest]"; |
---|
| 31 | if(BaseJob!=Job_Hunter) goto L_hunterno; |
---|
| 32 | if(getskilllv("HT_PHANTASMIC")) goto L_alreadyhave; |
---|
| 33 | if(JobLevel<40) goto L_nojob; |
---|
| 34 | |
---|
| 35 | mes "I can teach you a secret"; |
---|
| 36 | mes "technique passed down through"; |
---|
| 37 | mes "my family for generations. My"; |
---|
| 38 | mes "family has guarded this secret"; |
---|
| 39 | mes "for years, but I could teach"; |
---|
| 40 | mes "for a few supplies."; |
---|
| 41 | next; |
---|
| 42 | mes "[Albest]"; |
---|
| 43 | mes "I am running low on on a few"; |
---|
| 44 | mes "things. Here is my list:"; |
---|
| 45 | mes "5 Cursed Rubys"; |
---|
| 46 | mes "5 Harpy's Feathers"; |
---|
| 47 | mes "30 Pet Food"; |
---|
| 48 | next; |
---|
| 49 | |
---|
| 50 | mes "[Albest]"; |
---|
| 51 | mes "Let me check your items."; |
---|
| 52 | next; |
---|
| 53 | |
---|
| 54 | if(countitem(724)<5 || countitem(7115)<5 || countitem(537)<30) goto L_noitems;//Items: Cursed_Ruby, Harpy_Feather, Pet_Food, |
---|
| 55 | delitem 724, 5;//Items: Cursed_Ruby, |
---|
| 56 | delitem 7115, 5;//Items: Harpy_Feather, |
---|
| 57 | delitem 537, 30;//Items: Pet_Food, |
---|
| 58 | |
---|
| 59 | mes "[Albest]"; |
---|
| 60 | mes "I see you have what you need,"; |
---|
| 61 | mes "so I'll teach you my talent."; |
---|
| 62 | skill "HT_PHANTASMIC",1,0; |
---|
| 63 | close; |
---|
| 64 | |
---|
| 65 | L_noitems: |
---|
| 66 | mes "[Albest]"; |
---|
| 67 | mes "You don't have enough items."; |
---|
| 68 | mes "Come back when you have all"; |
---|
| 69 | mes "the required items for me."; |
---|
| 70 | close; |
---|
| 71 | |
---|
| 72 | L_nojob: |
---|
| 73 | mes "Come back when you've Learned"; |
---|
| 74 | mes "more about being a Hunter."; |
---|
| 75 | mes "You need to have at least 40"; |
---|
| 76 | mes "levels as a hunter first."; |
---|
| 77 | close; |
---|
| 78 | |
---|
| 79 | L_alreadyhave: |
---|
| 80 | mes "Ahh, my apprentice, you"; |
---|
| 81 | mes "came to visit me..."; |
---|
| 82 | close; |
---|
| 83 | |
---|
| 84 | L_hunterno: |
---|
| 85 | mes "Is there something I can"; |
---|
| 86 | mes "help you with? I believe"; |
---|
| 87 | mes "you have the wrong old man."; |
---|
| 88 | close; |
---|
| 89 | } |
---|