TNT: Damage mobs, knock back players
authorAuke Kok <sofar@foo-projects.org>
Sat, 16 Apr 2016 19:00:17 +0000 (12:00 -0700)
committerparamat <mat.gregory@virginmedia.com>
Tue, 26 Apr 2016 21:33:59 +0000 (22:33 +0100)
commitd6c33da3554051b3e326d3b78ef3012f3746fb3a
tree85bfb5f46c39505b90b664219853e658b3997b64
parent386dcdef06652fc0d9c5223936b1046c9629a86a
TNT: Damage mobs, knock back players

We apply punch damage to mobs caught in the blast radius, as
this code previously only hurt players.

We "move" players back 1 node if they're caught in the blast, and
slightly up. We can't "eject" players due to missing API code to
support that, unfortunately.
mods/tnt/init.lua