Files
Dota-Zombie-Invasion/scripts/vscripts/arsenal/items/boots.lua
T
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_boots_swift_boots = __TS__Class()
local modifier_arsenal_boots_swift_boots = ____exports.modifier_arsenal_boots_swift_boots
modifier_arsenal_boots_swift_boots.name = "modifier_arsenal_boots_swift_boots"
modifier_arsenal_boots_swift_boots.____file_path = "scripts/vscripts/arsenal/items/boots.lua"
__TS__ClassExtends(modifier_arsenal_boots_swift_boots, BaseModifier)
function modifier_arsenal_boots_swift_boots.prototype.IsHidden(self)
return false
end
function modifier_arsenal_boots_swift_boots.prototype.IsPurgable(self)
return false
end
function modifier_arsenal_boots_swift_boots.prototype.RemoveOnDeath(self)
return false
end
function modifier_arsenal_boots_swift_boots.prototype.GetTexture(self)
return "item_boots"
end
function modifier_arsenal_boots_swift_boots.prototype.DeclareFunctions(self)
return {MODIFIER_PROPERTY_MOVESPEED_BONUS_CONSTANT}
end
function modifier_arsenal_boots_swift_boots.prototype.GetModifierMoveSpeedBonus_Constant(self)
return 35
end
modifier_arsenal_boots_swift_boots = __TS__Decorate(
modifier_arsenal_boots_swift_boots,
modifier_arsenal_boots_swift_boots,
{registerModifier(nil)},
{kind = "class", name = "modifier_arsenal_boots_swift_boots"}
)
____exports.modifier_arsenal_boots_swift_boots = modifier_arsenal_boots_swift_boots
____exports.modifier_arsenal_boots_phase_treads = __TS__Class()
local modifier_arsenal_boots_phase_treads = ____exports.modifier_arsenal_boots_phase_treads
modifier_arsenal_boots_phase_treads.name = "modifier_arsenal_boots_phase_treads"
modifier_arsenal_boots_phase_treads.____file_path = "scripts/vscripts/arsenal/items/boots.lua"
__TS__ClassExtends(modifier_arsenal_boots_phase_treads, BaseModifier)
function modifier_arsenal_boots_phase_treads.prototype.IsHidden(self)
return false
end
function modifier_arsenal_boots_phase_treads.prototype.IsPurgable(self)
return false
end
function modifier_arsenal_boots_phase_treads.prototype.RemoveOnDeath(self)
return false
end
function modifier_arsenal_boots_phase_treads.prototype.GetTexture(self)
return "item_phase_boots"
end
function modifier_arsenal_boots_phase_treads.prototype.DeclareFunctions(self)
return {MODIFIER_PROPERTY_MOVESPEED_BONUS_CONSTANT, MODIFIER_PROPERTY_PREATTACK_BONUS_DAMAGE}
end
function modifier_arsenal_boots_phase_treads.prototype.GetModifierMoveSpeedBonus_Constant(self)
return 50
end
function modifier_arsenal_boots_phase_treads.prototype.GetModifierPreAttack_BonusDamage(self)
return 15
end
modifier_arsenal_boots_phase_treads = __TS__Decorate(
modifier_arsenal_boots_phase_treads,
modifier_arsenal_boots_phase_treads,
{registerModifier(nil)},
{kind = "class", name = "modifier_arsenal_boots_phase_treads"}
)
____exports.modifier_arsenal_boots_phase_treads = modifier_arsenal_boots_phase_treads
return ____exports