ID:178452
 
ok i want to make a mob that u can't attack at all. how would i do that? i'm thinking i need a Var for that but i don't know.

Thanks
Alienman22774 wrote:
ok i want to make a mob that u can't attack at all. how would i do that? i'm thinking i need a Var for that but i don't know.

That all depends on how you handle attacks in your game. If all your mobs had a proc "get_hit()," for example, you could simply override the proc for that mob. Or if you're going off of "Click()," simply override that for the mob.

How do you define an attack?
In response to Skysaw
i use "Take Damage" and "attack" is the veb to attack i want it to be so even if u click attack by the mob the mob doesn't take the damage
In response to Alienman22774
Alienman22774 wrote:
i use "Take Damage" and "attack" is the veb to attack i want it to be so even if u click attack by the mob the mob doesn't take the damage

mob
proc
take_damage()
// do damage routines here
//

mob/unattackable // invulnerable mob
take_damage() // proc is overridden, so nothing happens