forked from thunderdog1138/star_wars
Update 'mods/mobs_monster/stormtrooper+variants.lua'
This commit is contained in:
parent
628fad3b80
commit
53875cf06a
|
@ -89,7 +89,7 @@ mobs:register_arrow("mobs_monster:blaster_red", {
|
||||||
visual = "sprite",
|
visual = "sprite",
|
||||||
visual_size = {x = 1, y = 1},
|
visual_size = {x = 1, y = 1},
|
||||||
textures = {"blaster_red.png"},
|
textures = {"blaster_red.png"},
|
||||||
velocity = 30,
|
velocity = 50,
|
||||||
|
|
||||||
hit_player = function(self, player)
|
hit_player = function(self, player)
|
||||||
player:punch(self.object, 1.0, {
|
player:punch(self.object, 1.0, {
|
||||||
|
@ -109,5 +109,9 @@ mobs:register_arrow("mobs_monster:blaster_red", {
|
||||||
|
|
||||||
hit_node = function(self, pos, node)
|
hit_node = function(self, pos, node)
|
||||||
mobs:boom(self, pos, 1, true)
|
mobs:boom(self, pos, 1, true)
|
||||||
end
|
end,
|
||||||
|
|
||||||
|
tail = 1,
|
||||||
|
tail_texture = {"blaster_red.png"},
|
||||||
|
tail_size = 7
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue