Homunculus Damage

Juan Meissner

New member
Messages
72
Points
0
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?

 
Back
Top