zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_medicgun/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
296 B
Lua

INC_SERVER()
SWEP.Primary.Projectile = "projectile_healdart"
SWEP.Primary.ProjVelocity = 2000
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