Partially implement “Sniper Duel” achievement
This commit is contained in:
parent
edf3204393
commit
1fc98d74b9
5 changed files with 22 additions and 2 deletions
|
@ -23,6 +23,7 @@ mcl_throwing.shoot_arrow = function(arrow_item, pos, dir, yaw, shooter, power, d
|
|||
local le = obj:get_luaentity()
|
||||
le._shooter = shooter
|
||||
le._damage = damage
|
||||
le._startpos = pos
|
||||
minetest.sound_play("mcl_throwing_bow_shoot", {pos=pos})
|
||||
if shooter ~= nil then
|
||||
if obj:get_luaentity().player == "" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue