Update 'mods/mobs_monster/stormtrooper+variants.lua'

This commit is contained in:
thunderdog1138 2020-03-27 23:17:24 +00:00
parent f76ab4e975
commit 62bf382b51
1 changed files with 3 additions and 2 deletions

View File

@ -5,9 +5,10 @@
-- Stormtrooper
-- TODO: Attack players if they are holding a Jedi Lightsaber
mobs:register_mob("mobs_monster:stormtrooper", {
type = "monster",
type = "npc",
passive = true,
attack_type = "shoot",
attack_players = true,
arrow = "mobs_monster:blaster_red",
shoot_interval = 2,
shoot_offset = 1.5,
@ -15,7 +16,7 @@ mobs:register_mob("mobs_monster:stormtrooper", {
pathfinding = true,
hp_min = 4,
hp_max = 20,
armor = 100,
armor = 70,
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
visual = "mesh",
mesh = "mobs_character.b3d",