diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-10-01 09:20:27 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-10-01 09:20:27 +0100 |
commit | e17f8811b1404250185479ae6e20e568e5eaee3e (patch) | |
tree | a6995bc32e8fe8bed88dff5e4c0c8f798d9fe14c /api.txt | |
parent | 6bf6e8fbd86764f5bb3a45a7ce0f17681d9c76da (diff) |
added attack_chance to mob definition
Diffstat (limited to 'api.txt')
-rw-r--r-- | api.txt | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -74,6 +74,7 @@ functions needed for the mob to work properly which contains the following: 'docile_by_day' when true has mobs wandering around during daylight hours and only attacking player at night or when provoked. + 'attack_chance' 0 to 100 chance the mob will attack (default is 5). '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. |