1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

add self.attack_patience to add custom times, add self.attack nil check to pathfinding

This commit is contained in:
tenplus1
2023-11-06 07:56:18 +00:00
parent ac5486cc58
commit 9e27f45663
2 changed files with 9 additions and 3 deletions

View File

@ -103,6 +103,8 @@ functions needed for the mob to work properly which contains the following:
hours and only attacking player at night or when
provoked.
'attack_chance' 0 to 100 chance the mob will attack (default is 5).
'attack_patience' Time in seconds before mob gives up attacking if
player isn't seen (Defaults to 11).
'attack_monsters' when true mob will attack monsters.
'attack_animals' when true mob will attack animals.
'attack_npcs' when true mob will attack npcs within range.