From e17f8811b1404250185479ae6e20e568e5eaee3e Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 1 Oct 2018 09:20:27 +0100 Subject: added attack_chance to mob definition --- api.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'api.txt') diff --git a/api.txt b/api.txt index 126de42..f6b8d48 100644 --- a/api.txt +++ b/api.txt @@ -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. -- cgit v1.2.3