Jump to content
  • 0
Sign in to follow this  
Juan Meissner

Homunculus Damage

Question

Hello guys. I need to ask the help of you , I would like to set the src for my homunculus can not attack some monsters , which I will define ids by src , I need to get him to take 0 damage , or miss the attack, also miss the skills .

Could anyone help me with this?

 

 

I have here an example in the damage formula , one that works for the character , not the homunculus , here I make the player hit 1 HP damage these mobs . in the case of homunculus they need to take 0 damage.

			case BL_MOB:;
				struct mob_data *mob = NULL;
				mob = map->id2md(bl->id);

				if (mob->class_ >= 2599 && mob->class_ <= 2610)
					damage = 1;
				if (mob->class_ >= 2372 && mob->class_ <= 2374)
					damage = 1;
				if (mob->class_ >= 1907 && mob->class_ <= 1908)
					damage = 1;

 

Hello guys. I need to ask the help of you , I would like to set the src for my homunculus can not attack some monsters , which I will define ids by src , I need to get him to take 0 damage , or miss the attack, also miss the skills . Could anyone help me with this?

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...
Sign in to follow this  

×
×
  • Create New...

Important Information

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