isaw4sal3 Posted February 6, 2012 Posted February 6, 2012 I would like to request some script like this, a NPC Quest Script just like in the screen shot, please help me with this thing. thank you so much. Quote
isaw4sal3 Posted May 27, 2012 Author Posted May 27, 2012 how can i add monster? just like? ex. 100 necromancer 100 poring etc. etc. Quote
Rikimaru Posted May 28, 2012 Posted May 28, 2012 (edited) What do you mean with that? Do you want that the Player has to kill 100 Necromancer and 100 Porings first,before he/she get's the item? I don't think that Lunarcast added this function to his Dynamic Shop menu,so the function for a Monster Kill requirement would be like this : NPC HEADER { mes "You have to kill:"; mes "100 Porings..."; mes "100 Fabres..."; mes "and 100 Chonchons"; next; if(PoringKills < 100) goto l_nokills; if(FabreKills < 100) goto l_nokills; if(ChonKills < 100) goto l_nokills; set PoringKills,PoringKills - 100; set FabreKills,FabreKills - 100; set ChonKills,Chonkills - 100; getitem 501,1; close; l_nokills: mes "You didn't kill enough monsters!"; close; OnNPCKillEvent: if(killedrid == 1002) //1002 = Poring { set PoringKills,PoringKills + 1; }else if (killedrid == 1007) //1007 = Fabre { set FabreKills,FabreKills + 1; }else if (killedrid == 1011) //1011 = Chonchon { set ChonKills,ChonKills + 1; } end; } Edited May 28, 2012 by Rikimaru Quote
Question
isaw4sal3
I would like to request some script like this, a NPC Quest Script just like in the screen shot, please help me with this thing. thank you so much.
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.