aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/sh_buff.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/shared/sh_buff.lua')
-rw-r--r--gamemode/shared/sh_buff.lua31
1 files changed, 0 insertions, 31 deletions
diff --git a/gamemode/shared/sh_buff.lua b/gamemode/shared/sh_buff.lua
deleted file mode 100644
index ac46df9..0000000
--- a/gamemode/shared/sh_buff.lua
+++ /dev/null
@@ -1,31 +0,0 @@
---This was probably a mistake
-do return end
-
-local pmeta = FindMetaTable("Player")
-
-pmeta.buffs = {}
-local buffid = 0
-function pmeta:ApplyBuff(buff)
- if self.buffs[buff.type] == nil then
- self.buffs[buff.type] = {}
- end
- local id = buffid
- buffid = buffid + 1
- self.buffs[buff.type][id] = buff
- self.buffs[id] = buff.type
- return id
-end
-
-function pmeta:RemoveBuff(buffid)
- local bufftype = self.buffs[buffid]
- self.buffs[buff.type][buffid] = nil
- self.buffs[buffid] = nil
-end
-
-hook.Add("EntityTakeDamage","arterybuffs",function(ent,info)
-
-end)
-
---[[
- Add buff types here I guess
-]]