AbilityService.createAbility("ELECTRIC_DASH", KeyCode.R, {
maxProgress = 10,
progressPerUse = 1,
})
AbilityService.enableAbility(MatchService.getHost(), "ELECTRIC_DASH")
Events.UseAbility(function (event)
if (event.abilityName == "ELECTRIC_DASH") then
StatusEffectService.giveEffect(event.entity, StatusEffectType.SPEED_PIE, 1002)
end
end)
Ещё видео!