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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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