PapaZola Posted March 20, 2013 Posted March 20, 2013 hello rA can i request some script db.. im like to make custom mob used skill make player 100% freeze when attacking the mob example mob code 2010 Quote
nanakiwurtz Posted March 20, 2013 Posted March 20, 2013 (edited) OnNPCKillEvent: if (killedrid==2010) { pcblockmove getcharid(3),1; sleep2 5000 pcblockmove getcharid(3),0; } end; What do you mean by "freeze"? Is it to stop the player movement, or is it frozen in ice? Edited March 20, 2013 by nanakiwurtz Quote
PapaZola Posted March 20, 2013 Author Posted March 20, 2013 yeah random skill 100% example ice,sleep,curse or automatic die hahah anyway thanks for reply nanakiwurtz Quote
nanakiwurtz Posted March 20, 2013 Posted March 20, 2013 Just create a custom mob, then set it's skill in mob_skill_db.txt 2010,mycustommob,angry,181,1,10000,0,5000,no,randomtarget,always,0,,,,,,, Quote
PapaZola Posted March 22, 2013 Author Posted March 22, 2013 Just create a custom mob, then set it's skill in mob_skill_db.txt 2010,mycustommob,angry,181,1,10000,0,5000,no,randomtarget,always,0,,,,,,, nanakiwurtz this for make player die when attacking the mob? Quote
nanakiwurtz Posted March 22, 2013 Posted March 22, 2013 No, it's curse attack, you could add another skill to the custom mob, such as freeze, sleep, or what is exactly do you want for the mob? Quote
PapaZola Posted March 22, 2013 Author Posted March 22, 2013 how if want make attack wrong mob player automatic die hee thanks for ure reply Quote
nanakiwurtz Posted March 22, 2013 Posted March 22, 2013 (edited) But honestly, I think it will be easier to script like this: prontera,155,180,3 script Popo 1031,{ areamonster "prontera",150,175,160,185,"Poporing",1031,10,"Popo::OnWrongKill"; areamonster "prontera",150,175,160,185,"Poporing",1031,1,"Popo::OnRightKill"; npctalk "Find the correct Poporing to receive the reward!"; end; OnWrongKill: areamonster "prontera",150,175,160,185,"Poporing",1031,1,"Popo::OnWrongKill"; atcommand "@die"; dispbottom "You kill the wrong Poporing!"; end; OnRightKill: killmonster "prontera","Popo::OnWrongKill",1031; announce strcharinfo(0)+" has killed the right Poporing!",0; getitem 501,1; end; } Edited March 22, 2013 by nanakiwurtz Quote
Question
PapaZola
hello rA can i request some script db..
im like to make custom mob used skill make player 100% freeze when attacking the mob
example mob code 2010
8 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.