zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_strengthshot/init.lua

10 lines
217 B
Lua
Raw Permalink Normal View History

INC_SERVER()
SWEP.Primary.Projectile = "projectile_strengthdart"
SWEP.Primary.ProjVelocity = 2000
function SWEP:EntModify(ent)
ent:SetSeeked(self:GetSeekedPlayer() or nil)
ent.BuffDuration = self.BuffDuration
end