Jump to content
  • 0
Brynner

punching bag script like on iRO sakray

Question

8 answers to this question

Recommended Posts

  • 0

use atcommand
 

 

@monster 1905 "Punching Bag" 

 

or use function

monster

Share this post


Link to post
Share on other sites
  • 0

use atcommand

 

 

@monster 1905 "Punching Bag" 

 

or use function

 

monster

how to make it automatically? and automatically restore his life before he got killed?

Share this post


Link to post
Share on other sites
  • 0
-	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 by mleo1

Share this post


Link to post
Share on other sites
  • 0

Q> Scripters. How do you get current hp of a mob?

Edited by mleo1

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.