[1] | 1 | //===== eAthena Script ======================================= |
---|
| 2 | //= Imitation of Dumpling Festival |
---|
| 3 | //===== By =================================================== |
---|
| 4 | //= Massdriller |
---|
| 5 | //===== Version ============================================== |
---|
| 6 | //= 1.01 |
---|
| 7 | //===== Compatible With ====================================== |
---|
| 8 | //= eAthena 0.52+ |
---|
| 9 | //===== Description ========================================== |
---|
| 10 | //= A complete redering of the Dumpling Festival. |
---|
| 11 | //===== Comments ============================================= |
---|
| 12 | //= Ver 1.0- Duplicate of MRO's Dumpling Event |
---|
| 13 | //= 1.01 fixed bugs [Lupus] |
---|
| 14 | //============================================================ |
---|
| 15 | |
---|
| 16 | payon,93,81,4 script Exorcist Master Fahae 834,{ |
---|
| 17 | |
---|
| 18 | mes "[Exorcist Master Fahae]"; |
---|
| 19 | mes "Greetings young warrior, I'm the Exorcist Master Fahae."; |
---|
| 20 | mes "I have been tracking the elusive Bacsojin for some time."; |
---|
| 21 | next; |
---|
| 22 | mes "[Exorcist Master Fahae]"; |
---|
| 23 | mes "I feel it is time I let another warrior try to complete"; |
---|
| 24 | mes "my quest. I have some items to assist you in my quest."; |
---|
| 25 | next; |
---|
| 26 | menu "I wish to buy",-, "No thanks",M_FIN; |
---|
| 27 | |
---|
| 28 | mes "[Exorcist Master Fahae]"; |
---|
| 29 | mes "I have 2 items which might become useful to you."; |
---|
| 30 | next; |
---|
| 31 | menu "Realgar Wine",-, "Exorcize Herb",M_HERB; |
---|
| 32 | |
---|
| 33 | mes "[Exorcist Master Fahae]"; |
---|
| 34 | mes "How many do you require?"; |
---|
| 35 | mes "You may only buy 5 at one time."; |
---|
| 36 | mes "Each costs 20000z."; |
---|
| 37 | mes "(Type in 0 to cancel)"; |
---|
| 38 | next; |
---|
| 39 | input @input; |
---|
| 40 | if(@input==0) close; |
---|
| 41 | if(@input>5) goto L_SORRY; |
---|
| 42 | if(Zeny< @input*20000) goto L_NOZENY; |
---|
| 43 | set Zeny,Zeny-20000*@input; |
---|
| 44 | getitem 682,@input; |
---|
| 45 | mes "[Exorcist Master Fahae]"; |
---|
| 46 | mes "Here you go, I hope you may succeed in my quest."; |
---|
| 47 | close; |
---|
| 48 | |
---|
| 49 | L_SORRY: |
---|
| 50 | mes "[Exorcist Master Fahae]"; |
---|
| 51 | mes "You must not be stingy, it is the path of God to be honest."; |
---|
| 52 | close; |
---|
| 53 | |
---|
| 54 | M_FIN: |
---|
| 55 | mes "[Exorcist Master Fahae]"; |
---|
| 56 | mes "The path of fully venquishing evil is far, help me in the way of God."; |
---|
| 57 | close; |
---|
| 58 | |
---|
| 59 | M_HERB: |
---|
| 60 | mes "[Exorcist Master Fahae]"; |
---|
| 61 | mes "How many do you require?"; |
---|
| 62 | mes "You may only buy 5 at one time."; |
---|
| 63 | mes "Each costs 10000z."; |
---|
| 64 | mes "(Type in 0 to cancel)"; |
---|
| 65 | next; |
---|
| 66 | input @input; |
---|
| 67 | if(@input==0) close; |
---|
| 68 | if(@input>5) goto L_SORRY; |
---|
| 69 | if(Zeny< @input*10000) goto L_NOZENY; |
---|
| 70 | set Zeny,Zeny-10000*@input; |
---|
| 71 | getitem 683,@input; |
---|
| 72 | mes "[Exorcist Master Fahae]"; |
---|
| 73 | mes "Here you go, I hope you may succeed in my quest."; |
---|
| 74 | close; |
---|
| 75 | |
---|
| 76 | L_NOZENY: |
---|
| 77 | mes "[Exorcist Master Fahae]"; |
---|
| 78 | mes "Money doesn't bring joy to everyone, but we need it to support the temple and myself. Please, try to kill some monsters and take their drops."; |
---|
| 79 | close; |
---|
| 80 | } |
---|
| 81 | |
---|
| 82 | ////////////////////////////////////////////// |
---|
| 83 | // Monster Spawning /\Secial only for event.// |
---|
| 84 | ////////////////////////////////////////////// |
---|
| 85 | |
---|
| 86 | // ~Dumpling~ |
---|
| 87 | gef_fild00,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 88 | gef_fild07,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 89 | gef_fild04,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 90 | gef_fild00,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 91 | prt_fild06,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 92 | prt_fild01,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 93 | prt_fild05,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 94 | prt_fild08,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 95 | pay_fild04,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 96 | moc_fild02,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 97 | pay_fild01,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 98 | pay_fild07,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 99 | moc_fild03,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 100 | pay_fild06,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 101 | pay_fild05,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 102 | pay_fild02,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 103 | pay_fild09,0,0,0,0 monster Dumpling 1520,20,60000,66000 |
---|
| 104 | |
---|
| 105 | // ~Bacsojin~ |
---|
| 106 | moc_fild03,0,0,0,0 monster Bacsojin 1518,1,60000,66000 |
---|
| 107 | |
---|
| 108 | // ~Chung E~ |
---|
| 109 | moc_fild03,0,0,0,0 monster Chung E 1519,1,60000,66000 |
---|
| 110 | moc_fild13,0,0,0,0 monster Chung E 1519,1,60000,66000 |
---|
| 111 | pay_fild01,0,0,0,0 monster Chung E 1519,1,60000,66000 |
---|