zombiesurvival-evolved/gamemodes/zombiesurvival/entities/entities/status_healdartboost.lua
2014-10-01 20:49:54 -04:00

17 lines
323 B
Lua

AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "status__base"
function ENT:Initialize()
self.BaseClass.Initialize(self)
hook.Add("Move", self, self.Move)
end
function ENT:Move(pl, move)
if pl ~= self:GetOwner() then return end
move:SetMaxSpeed(move:GetMaxSpeed() + 50)
move:SetMaxClientSpeed(move:GetMaxSpeed())
end