zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/zombieclasses/boss_giga_shadow_child/shared.lua
William Moodhe e9da54c2f9 ZS updates for 2014-2018
Too many changes to list.
2018-05-01 18:32:59 -04:00

29 lines
690 B
Lua

CLASS.Base = "boss_giga_gore_child"
CLASS.Name = "Giga Shadow Child"
CLASS.TranslationName = "class_giga_shadow_child"
CLASS.Description = "description_giga_shadow_child"
CLASS.Help = "controls_giga_shadow_child"
CLASS.Boss = true
CLASS.Health = 2000
CLASS.Speed = 235
CLASS.Points = 35
CLASS.SWEP = "weapon_zs_gigashadowchild"
CLASS.OverrideModel = Model("models/player/skeleton.mdl")
CLASS.NoHideMainModel = true
local string_format = string.format
local math_random = math.random
function CLASS:PlayPainSound(pl)
pl:EmitSound(string_format("ambient/creatures/town_scared_sob%d.wav", math_random(2)), 70, math_random(50, 60))
pl.NextPainSound = CurTime() + 2
return true
end