From 4a963ca20bdbb1743e25614dcfe451e19f5cc096 Mon Sep 17 00:00:00 2001 From: AntumDeluge Date: Thu, 1 Jun 2017 13:03:21 -0700 Subject: [PATCH] [spidermob] Update to Git patch 091d305: https://github.com/AntumDeluge/mtmod-spidermob/tree/091d305 --- README.md | 2 +- mods/mobiles/aggressive/spidermob/api.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 252ad6ff..6257ed07 100644 --- a/README.md +++ b/README.md @@ -544,7 +544,7 @@ The game includes the mods from the default [minetest_game](https://github.com/m [patch.signs_lib]: https://github.com/AntumDeluge/mtmod-signs_lib/tree/fe46611 [patch.snowdrift]: https://github.com/AntumDeluge/mtmod-snowdrift/tree/1b9da4f [patch.spawneggs]: https://github.com/AntumDeluge/mtmod-spawneggs/tree/b47f49f -[patch.spidermob]: https://github.com/AntumDeluge/mtmod-spidermob/tree/7f2e77d +[patch.spidermob]: https://github.com/AntumDeluge/mtmod-spidermob/tree/091d305 [patch.technic]: https://github.com/AntumDeluge/mtmod-technic/tree/661c23d [patch.trash_can]: https://github.com/AntumDeluge/mtmod-trash_can/tree/5a92bf4 [patch.unifieddyes]: https://github.com/AntumDeluge/mtmod-unifieddyes/tree/0e575d9 diff --git a/mods/mobiles/aggressive/spidermob/api.lua b/mods/mobiles/aggressive/spidermob/api.lua index 72adee8b..6e369b72 100644 --- a/mods/mobiles/aggressive/spidermob/api.lua +++ b/mods/mobiles/aggressive/spidermob/api.lua @@ -701,7 +701,7 @@ function spidermob:register_mob(name, def) local p = pos p.y = p.y + self.blood_offset - minetest.add_particlespawner( + minetest.add_particlespawner({ 5, --blood_amount, --amount 0.25, --time {x=p.x-0.2, y=p.y-0.2, z=p.z-0.2}, --minpos @@ -716,7 +716,7 @@ function spidermob:register_mob(name, def) 1, --maxsize false, --collisiondetection self.blood_texture --texture - ) + }) end -- knock back effect, adapted from blockmen's pyramids mod