Brynner 34 Posted May 17, 2013 anyone here knows a punching bag script just like on iRO?so i can test my skills to this npc script. thanks in advance. Quote Share this post Link to post Share on other sites
0 mleo1 36 Posted May 18, 2013 use atcommand @monster 1905 "Punching Bag" or use functionmonster Quote Share this post Link to post Share on other sites
0 Brynner 34 Posted May 18, 2013 use atcommand @monster 1905 "Punching Bag" or use function monster how to make it automatically? and automatically restore his life before he got killed? 1 Phriya reacted to this Quote Share this post Link to post Share on other sites
0 mleo1 36 Posted May 18, 2013 (edited) - script Punching Bag -1,{ OnInit: OnDeath: monster "prontera",156,170,"Punching Bag",1905,1,strnpcinfo(3)+"::OnDeath";} or - script Punching Bag -1,{ OnInit: monster "prontera",156,170,"Punching Bag",1905,1,strnpcinfo(3)+"::OnInit";} here you go Edited May 18, 2013 by mleo1 Quote Share this post Link to post Share on other sites
0 mleo1 36 Posted May 18, 2013 (edited) Q> Scripters. How do you get current hp of a mob? Edited May 18, 2013 by mleo1 Quote Share this post Link to post Share on other sites
0 Brynner 34 Posted May 18, 2013 what do you mean by that? Quote Share this post Link to post Share on other sites
0 mleo1 36 Posted May 18, 2013 what do you mean by that? I don't know how haha. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 19, 2013 As long as I know, current HP of a mob cannot be retrieved without modifying the source. There was a mob controller modification for eAthena quite long ago, but don't know whether it never got commited or got committed then removed because it was quite a lot processor-heavy. If I remember well (don't take this as official word) I've read over there that the mob controller moification would be made and supported for Hercules, but this would seriously degrade Hercules' perfomance, so best way to restore this mob's life at the moment is respawning them when they're dead. Quote Share this post Link to post Share on other sites
0 Brynner 34 Posted May 19, 2013 As long as I know, current HP of a mob cannot be retrieved without modifying the source. There was a mob controller modification for eAthena quite long ago, but don't know whether it never got commited or got committed then removed because it was quite a lot processor-heavy. If I remember well (don't take this as official word) I've read over there that the mob controller moification would be made and supported for Hercules, but this would seriously degrade Hercules' perfomance, so best way to restore this mob's life at the moment is respawning them when they're dead. oh ok thanks for that info. so i better to keep the method of respawing mobs when they're dead. Quote Share this post Link to post Share on other sites
anyone here knows a punching bag script just like on iRO?so i can test my skills to this npc script. thanks in advance.
Share this post
Link to post
Share on other sites