1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-10 03:40:24 +02:00

added group_attack in cow,goat,warthog and npc

added group attack if not tamed and type(name) identical
fixed crash if unknow node in function env_damage
This commit is contained in:
2015-07-22 00:11:38 +02:00
parent 69ce8e8266
commit 1020b080aa
5 changed files with 8 additions and 1 deletions

View File

@ -6,6 +6,7 @@ mobs:register_mob("mobs:cow", {
type = "animal",
-- aggressive, does 5 damage to player when threatened
passive = false,
group_attack = true,
attack_type = "dogfight",
damage = 4,
-- health & armor