mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
make mobs coordinate attacks with all other similar alliances.
This commit is contained in:
parent
12e9c2c6d0
commit
b27c81cea4
1 changed files with 1 additions and 1 deletions
|
@ -2049,7 +2049,7 @@ local monster_attack = function(self)
|
||||||
player = obj.object
|
player = obj.object
|
||||||
name = obj.name or ""
|
name = obj.name or ""
|
||||||
end
|
end
|
||||||
if name == self.name and obj.state == "attack" and obj.attack then
|
if obj.type = self.type and obj.passive == false and obj.state == "attack" and obj.attack then
|
||||||
table.insert(blacklist_attack, obj.attack)
|
table.insert(blacklist_attack, obj.attack)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue