zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_medicrifle/init.lua
William Moodhe e9da54c2f9 ZS updates for 2014-2018
Too many changes to list.
2018-05-01 18:32:59 -04:00

12 lines
298 B
Lua

INC_SERVER()
SWEP.Primary.Projectile = "projectile_medicrifle"
SWEP.Primary.ProjVelocity = 3500
function SWEP:EntModify(ent)
local owner = self:GetOwner()
ent:SetSeeked(self:GetSeekedPlayer() or nil)
ent.Heal = self.Heal * (owner.MedDartEffMul or 1)
ent.BuffDuration = self.BuffDuration
end