• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Possible to make npc vulnerable?

Guxi

Developer
Joined
Mar 17, 2012
Messages
128
Reaction score
12
Location
Croatia
I was wondering if it's possible to make npc vulnerable.

If you wonder why i'm asking that it's because i need a creature that will attack only players level above 150 and to make it invunerable for players -150.

So i thought it would be easier to make npc for that, since i don't know how to make monsters with custom behaviour :p


Thanks in advance!
 
npc.h:
Lua:
		bool isImmune(CombatType_t) const {return true;}
		bool isImmune(ConditionType_t) const {return true;}
 
Back
Top