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

Added few sanity checks, higher pitch sounds for child mobs

This commit is contained in:
tenplus1
2020-04-29 15:01:21 +01:00
parent a934d80631
commit 064b59f01d
3 changed files with 90 additions and 40 deletions

View File

@ -399,6 +399,8 @@ This function registers a arrow for mobs with the attack type shoot.
'hit_mob' a function that is called when the arrow hits a mob;
this function should hurt the mob, the parameters are
(self, player)
'hit_object' a function that is called when the arrow hits an object;
this function parameters are (self, player)
'hit_node' a function that is called when the arrow hits a node, the
parameters are (self, pos, node)
'tail' when set to 1 adds a trail or tail to mob arrows