скинь весь код способности не изменённый, и я скажу что не так.

local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
local __TS__Decorate = ____lualib.__TS__Decorate
local __TS__SourceMapTraceBack = ____lualib.__TS__SourceMapTraceBack
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["8"] = 1,["9"] = 1,["10"] = 1,["11"] = 1,["12"] = 1,["13"] = 3,["14"] = 4,["15"] = 3,["16"] = 4,["18"] = 4,["19"] = 5,["20"] = 3,["21"] = 7,["22"] = 8,["23"] = 9,["24"] = 7,["25"] = 12,["26"] = 13,["27"] = 14,["28"] = 15,["29"] = 16,["30"] = 16,["31"] = 16,["32"] = 16,["33"] = 16,["34"] = 16,["35"] = 16,["36"] = 16,["37"] = 16,["38"] = 16,["39"] = 16,["40"] = 28,["41"] = 30,["42"] = 31,["43"] = 31,["44"] = 31,["45"] = 31,["46"] = 31,["47"] = 31,["48"] = 31,["49"] = 31,["50"] = 31,["51"] = 32,["52"] = 34,["53"] = 35,["55"] = 12,["56"] = 39,["57"] = 40,["58"] = 39,["59"] = 4,["60"] = 3,["61"] = 4,["63"] = 4,["64"] = 44,["65"] = 45,["66"] = 44,["67"] = 45,["69"] = 45,["70"] = 46,["71"] = 47,["72"] = 44,["73"] = 49,["74"] = 50,["75"] = 49,["76"] = 53,["77"] = 54,["78"] = 53,["79"] = 57,["80"] = 58,["81"] = 57,["82"] = 61,["83"] = 62,["84"] = 61,["85"] = 65,["86"] = 66,["87"] = 67,["88"] = 68,["89"] = 69,["91"] = 65,["92"] = 73,["93"] = 74,["94"] = 75,["95"] = 76,["96"] = 77,["98"] = 73,["99"] = 81,["100"] = 82,["101"] = 81,["102"] = 88,["103"] = 89,["104"] = 88,["105"] = 92,["106"] = 93,["107"] = 92,["108"] = 96,["109"] = 97,["110"] = 96,["111"] = 100,["112"] = 101,["113"] = 100,["114"] = 45,["115"] = 44,["116"] = 45,["118"] = 45});
local ____exports = {}
local ____dota_ts_adapter = require("lib.dota_ts_adapter")
local BaseAbility = ____dota_ts_adapter.BaseAbility
local BaseModifier = ____dota_ts_adapter.BaseModifier
local registerAbility = ____dota_ts_adapter.registerAbility
local registerModifier = ____dota_ts_adapter.registerModifier
____exports.fast_shoot = __TS__Class()
local fast_shoot = ____exports.fast_shoot
fast_shoot.name = "fast_shoot"
__TS__ClassExtends(fast_shoot, BaseAbility)
function fast_shoot.prototype.____constructor(self, ...)
BaseAbility.prototype.____constructor(self, ...)
self.ParticleCast = "particles/units/heroes/hero_lycan/lycan_howl_cast.vpcf"
end
function fast_shoot.prototype.Precache(self, context)
PrecacheResource("particle", "particles/units/heroes/hero_lycan/lycan_howl_buff.vpcf", context)
PrecacheResource("particle", "particles/units/heroes/hero_lycan/lycan_howl_cast.vpcf", context)
end
function fast_shoot.prototype.OnSpellStart(self)
local caster = self:GetCaster()
local Radius = self:GetSpecialValueFor("radius")
local Duration = self:GetSpecialValueFor("duration")
local Units = FindUnitsInRadius(
caster:GetTeamNumber(),
caster:GetAbsOrigin(),
nil,
Radius,
DOTA_UNIT_TARGET_TEAM_FRIENDLY,
DOTA_UNIT_TARGET_CREEP + DOTA_UNIT_TARGET_HERO,
DOTA_UNIT_TARGET_FLAG_NONE,
FIND_ANY_ORDER,
false
)
EmitSoundOn("lexa", caster)
local fx = ParticleManager:CreateParticle(self.ParticleCast, PATTACH_ABSORIGIN_FOLLOW, caster)
ParticleManager:SetParticleControlEnt(
fx,
1,
caster,
PATTACH_POINT_FOLLOW,
"attach_mouth",
caster:GetAbsOrigin(),
true
)
ParticleManager:ReleaseParticleIndex(fx)
for ____, unit in ipairs(Units) do
unit:AddNewModifier(caster, self, ____exports.modifier_fast_shoot.name, {duration = Duration})
end
end
function fast_shoot.prototype.ProcsMagicStick(self)
return true
end
fast_shoot = __TS__Decorate(
{registerAbility(nil)},
fast_shoot
)
____exports.fast_shoot = fast_shoot
____exports.modifier_fast_shoot = __TS__Class()
local modifier_fast_shoot = ____exports.modifier_fast_shoot
modifier_fast_shoot.name = "modifier_fast_shoot"
__TS__ClassExtends(modifier_fast_shoot, BaseModifier)
function modifier_fast_shoot.prototype.____constructor(self, ...)
BaseModifier.prototype.____constructor(self, ...)
self.MovementSpeed = 0
self.AttackSpeed = 0
end
function modifier_fast_shoot.prototype.IsHidden(self)
return false
end
function modifier_fast_shoot.prototype.IsDebuff(self)
return false
end
function modifier_fast_shoot.prototype.IsPurgable(self)
return true
end
function modifier_fast_shoot.prototype.IsPurgeException(self)
return true
end
function modifier_fast_shoot.prototype.OnCreated(self, params)
local ability = self:GetAbility()
if ability ~= nil then
self.MovementSpeed = ability:GetSpecialValueFor("move_speed")
self.AttackSpeed = ability:GetSpecialValueFor("attack_speed")
end
end
function modifier_fast_shoot.prototype.OnRefresh(self, params)
local ability = self:GetAbility()
if ability ~= nil then
self.MovementSpeed = ability:GetSpecialValueFor("move_speed")
self.AttackSpeed = ability:GetSpecialValueFor("attack_speed")
end
end
function modifier_fast_shoot.prototype.DeclareFunctions(self)
return {MSnpDuEevDmwWhp6pcMBrQeQtGp2mdWKVqjVNSTANT, MSnpDuEevDmwWhp6pcMBrQeQtGp2mdWKVqjVCONSTANT}
end
function modifier_fast_shoot.prototype.GetModifierMoveSpeedBonus_Constant(self)
return self.MovementSpeed
end
function modifier_fast_shoot.prototype.GetModifierAttackSpeedBonus_Constant(self)
return self.AttackSpeed
end
function modifier_fast_shoot.prototype.GetEffectAttachType(self)
return PATTACH_ABSORIGIN_FOLLOW
end
function modifier_fast_shoot.prototype.GetEffectName(self)
return "particles/units/heroes/hero_lycan/lycan_howl_buff.vpcf"
end
modifier_fast_shoot = __TS__Decorate(
{registerModifier(nil)},
modifier_fast_shoot
)
____exports.modifier_fast_shoot = modifier_fast_shoot
return ____exports