37 lines
908 B
Lua
Executable File
37 lines
908 B
Lua
Executable File
modifier_item_2014_damage_aura_effect = class({})
|
|
|
|
local public = modifier_item_2014_damage_aura_effect
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
function public:IsDebuff()
|
|
return false
|
|
end
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
function public:IsHidden()
|
|
return true
|
|
end
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
function public:IsPurgable()
|
|
return false
|
|
end
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
function public:OnCreated(kv)
|
|
if IsServer() then
|
|
self:GetParent():AddDamageOutgoingAll(15, "thtd_item_2014_bonus")
|
|
end
|
|
end
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
function public:OnDestroy(kv)
|
|
if IsServer() then
|
|
self:GetParent():AddDamageOutgoingAll("thtd_item_2014_bonus")
|
|
end
|
|
end |