Update api.txt

This commit is contained in:
ShadowOfHassen 2024-02-29 20:57:44 +00:00
parent 847b1da2f7
commit f5a9236a86
1 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ functions needed for the mob to work properly which contains the following:
"monster" attacks player or npc on sight.
"npc" walk around and will defend themselves if hit first, they
kill monsters.
'alliance' a string of what aliances the monster has.
'alliance' a string of what aliances the monster has. Default is nil. (They have no alliance)
'hp_min' has the minimum health value the mob can spawn with.
'hp_max' has the maximum health value the mob can spawn with.
'armor' holds strength of mob, 100 is normal, lower is more powerful
@ -111,7 +111,6 @@ functions needed for the mob to work properly which contains the following:
'attack_animals' when true mob will attack animals.
'attack_npcs' when true mob will attack npcs within range.
'attack_players' when true mob will attack players nearby.
'attack_allies' when true mob will attack anyone with the same alliance tab.
'owner_loyal' when true non-docile tamed mobs attack anything player
punches when nearby.
'group_attack' when true has same mob type grouping together to attack