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

tweak mob damage function, add {fire=1} weapon damage check

This commit is contained in:
TenPlus1
2018-09-05 10:33:17 +01:00
parent 082bf0cf86
commit 9737bde6fb
2 changed files with 75 additions and 95 deletions

View File

@ -148,6 +148,7 @@ functions needed for the mob to work properly which contains the following:
'chance' chance of drop, 1 for always, 2 for 1-in-2 chance etc.
'min' minimum number of items dropped, set to 0 for rare drops.
'max' maximum number of items dropped.
Note: If weapon has {fire=1} damage group set then cooked items will drop.
'visual' holds the look of the mob you wish to create:
'cube' looks like a normal node