initial commit

This commit is contained in:
2021-10-24 15:36:18 -04:00
commit b9a5a8fe23
11982 changed files with 220468 additions and 0 deletions

View File

@@ -0,0 +1,64 @@
modifier_ascension_extra_fast = class({})
-----------------------------------------------------------------------------------------
function modifier_ascension_extra_fast:IsHidden()
return false
end
-----------------------------------------------------------------------------------------
function modifier_ascension_extra_fast:IsPurgable()
return false
end
----------------------------------------
function modifier_ascension_extra_fast:OnCreated( kv )
self:OnRefresh( kv )
end
----------------------------------------
function modifier_ascension_extra_fast:OnRefresh( kv )
if self:GetAbility() == nil then
return
end
self.bonus_move_speed = self:GetAbility():GetSpecialValueFor( "bonus_move_speed" )
end
--------------------------------------------------------------------------------
function modifier_ascension_extra_fast:DeclareFunctions()
local funcs =
{
MODIFIER_PROPERTY_MOVESPEED_BONUS_PERCENTAGE,
}
return funcs
end
-----------------------------------------------------------------------------------------
function modifier_ascension_extra_fast:CheckState()
local state =
{
[MODIFIER_STATE_UNSLOWABLE] = true,
}
return state
end
--------------------------------------------------------------------------------
function modifier_ascension_extra_fast:GetEffectName()
return "particles/units/heroes/hero_dark_seer/dark_seer_surge.vpcf"
end
-----------------------------------------------------------------------------
function modifier_ascension_extra_fast:GetModifierMoveSpeedBonus_Percentage( params )
return self.bonus_move_speed
end