mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
30 lines
1.2 KiB
Lua
30 lines
1.2 KiB
Lua
--[[
|
|
| This file was obtained through the combined efforts
|
|
| of Madbluntz & Plymouth Antiquarian Society.
|
|
|
|
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
|
| Maloy, DrPepper10 @ RIP, Atle!
|
|
|
|
|
| Visit for more: https://plymouth.thetwilightzone.ru/
|
|
--]]
|
|
|
|
AddCSLuaFile("shared.lua")
|
|
include('shared.lua')
|
|
/*-----------------------------------------------
|
|
*** Copyright (c) 2012-2023 by DrVrej, All rights reserved. ***
|
|
No parts of this code or any of its contents may be reproduced, copied, modified or adapted,
|
|
without the prior written consent of the author, unless otherwise indicated for stand-alone materials.
|
|
-----------------------------------------------*/
|
|
ENT.Model = {"models/vj_hlr/hl1/bullsquid_dreamcast.mdl"} -- The game will pick a random model from the table when the SNPC is spawned | Add as many as you want
|
|
ENT.StartHealth = 90
|
|
|
|
---------------------------------------------------------------------------------------------------------------------------------------------
|
|
function ENT:MultipleMeleeAttacks()
|
|
if math.random(1, 2) == 1 then
|
|
self.AnimTbl_MeleeAttack = {ACT_MELEE_ATTACK1}
|
|
self.MeleeAttackDamage = 38
|
|
else
|
|
self.AnimTbl_MeleeAttack = {ACT_MELEE_ATTACK2}
|
|
self.MeleeAttackDamage = 27
|
|
end
|
|
end |