Files
2026-05-29 15:11:31 +07:00

73 lines
3.2 KiB
Lua

local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
local __TS__Decorate = ____lualib.__TS__Decorate
local ____exports = {}
local ____dota_ts_adapter = require("lib.dota_ts_adapter")
local BaseModifier = ____dota_ts_adapter.BaseModifier
local registerModifier = ____dota_ts_adapter.registerModifier
____exports.modifier_arsenal_helmet_leather_cap = __TS__Class()
local modifier_arsenal_helmet_leather_cap = ____exports.modifier_arsenal_helmet_leather_cap
modifier_arsenal_helmet_leather_cap.name = "modifier_arsenal_helmet_leather_cap"
modifier_arsenal_helmet_leather_cap.____file_path = "scripts/vscripts/arsenal/items/helmet.lua"
__TS__ClassExtends(modifier_arsenal_helmet_leather_cap, BaseModifier)
function modifier_arsenal_helmet_leather_cap.prototype.IsHidden(self)
return false
end
function modifier_arsenal_helmet_leather_cap.prototype.IsPurgable(self)
return false
end
function modifier_arsenal_helmet_leather_cap.prototype.RemoveOnDeath(self)
return false
end
function modifier_arsenal_helmet_leather_cap.prototype.GetTexture(self)
return "item_helm_of_iron_will"
end
function modifier_arsenal_helmet_leather_cap.prototype.DeclareFunctions(self)
return {MODIFIER_PROPERTY_HEALTH_REGEN_CONSTANT}
end
function modifier_arsenal_helmet_leather_cap.prototype.GetModifierConstantHealthRegen(self)
return 3
end
modifier_arsenal_helmet_leather_cap = __TS__Decorate(
modifier_arsenal_helmet_leather_cap,
modifier_arsenal_helmet_leather_cap,
{registerModifier(nil)},
{kind = "class", name = "modifier_arsenal_helmet_leather_cap"}
)
____exports.modifier_arsenal_helmet_leather_cap = modifier_arsenal_helmet_leather_cap
____exports.modifier_arsenal_helmet_arcane_circlet = __TS__Class()
local modifier_arsenal_helmet_arcane_circlet = ____exports.modifier_arsenal_helmet_arcane_circlet
modifier_arsenal_helmet_arcane_circlet.name = "modifier_arsenal_helmet_arcane_circlet"
modifier_arsenal_helmet_arcane_circlet.____file_path = "scripts/vscripts/arsenal/items/helmet.lua"
__TS__ClassExtends(modifier_arsenal_helmet_arcane_circlet, BaseModifier)
function modifier_arsenal_helmet_arcane_circlet.prototype.IsHidden(self)
return false
end
function modifier_arsenal_helmet_arcane_circlet.prototype.IsPurgable(self)
return false
end
function modifier_arsenal_helmet_arcane_circlet.prototype.RemoveOnDeath(self)
return false
end
function modifier_arsenal_helmet_arcane_circlet.prototype.GetTexture(self)
return "item_helm_of_the_dominator"
end
function modifier_arsenal_helmet_arcane_circlet.prototype.DeclareFunctions(self)
return {MODIFIER_PROPERTY_MANA_BONUS, MODIFIER_PROPERTY_MANA_REGEN_CONSTANT}
end
function modifier_arsenal_helmet_arcane_circlet.prototype.GetModifierManaBonus(self)
return 250
end
function modifier_arsenal_helmet_arcane_circlet.prototype.GetModifierConstantManaRegen(self)
return 3
end
modifier_arsenal_helmet_arcane_circlet = __TS__Decorate(
modifier_arsenal_helmet_arcane_circlet,
modifier_arsenal_helmet_arcane_circlet,
{registerModifier(nil)},
{kind = "class", name = "modifier_arsenal_helmet_arcane_circlet"}
)
____exports.modifier_arsenal_helmet_arcane_circlet = modifier_arsenal_helmet_arcane_circlet
return ____exports