1
0
鏡像自 https://codeberg.org/tenplus1/mobs_redo.git 已同步 2026-01-08 18:05:22 +01:00

added specific_attack flag for special mob attacks

此提交包含在:
TenPlus1
2016-09-05 19:47:08 +01:00
父節點 046204cf9a
當前提交 b63317bc21
共有 3 個檔案被更改,包括 28 行新增3023 行删除

查看文件

@@ -25,6 +25,7 @@ This functions registers a new mob as a Minetest entity.
'attacks_monsters' usually for npc's to attack monsters in area
'group_attack' true to defend same kind of mobs from attack in area
'attack_animals' true for monster to attack animals as well as player and npc's
'attack_specific' has a table of entity names that monsters can attack {"player", "mobs_animal:chicken"}
'hp_min' minimum health
'hp_max' maximum health (mob health is randomly selected between both)
'physical' same is in minetest.register_entity()