Add ability feedback/particles; refactor kits

Introduce centralized AbilityFeedback and AbilityParticles utilities and update language strings. Refactor IceMage: replace old snowball mechanics with an aggressive Ice Spike Burst (cone projectiles, cooldown tracking, config keys) and a defensive snowball barrage with metadata; reorganize config accessors and passive behaviors. Refactor Ninja: add layered sounds/particles for teleport, rewrite smoke aura as an animated BukkitRunnable with visual rotation and enemy effects, and improve lifecycle/scheduling handling. Update en_US.yml with new kit item names, passive labels, and messages.
This commit is contained in:
TDSTOS
2026-04-12 05:38:22 +02:00
parent 8ff4dee6bf
commit 18ee9937f8
5 changed files with 467 additions and 157 deletions

View File

@@ -315,6 +315,7 @@ kits:
- ' '
- 'Select a kit mid-round at any time.'
- 'All kits are available to pick.'
gladiator:
name: '<gradient:dark_gray:gray><bold>Gladiator</bold></gradient>'
lore:
@@ -327,6 +328,7 @@ kits:
description: 'Fight an enemy in a 1v1 above the skies'
messages:
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
goblin:
name: '<gradient:dark_green:gray><bold>Goblin</bold></gradient>'
lore:
@@ -344,6 +346,7 @@ kits:
stole_kit: '<green>You have stolen the kit of your opponent (Kit: <kit>)!</green>'
spawn_bunker: '<green>You have created a bunker around yourself!'
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
icemage:
name: '<gradient:dark_aqua:aqua><bold>IceMage</bold></gradient>'
lore:
@@ -352,14 +355,24 @@ kits:
- 'DEFENSIVE: Summon snowballs and freeze enemies'
items:
snowball:
name: '§bFreeze'
name: '<aqua>❄️ Freeze</aqua>'
description: 'Freeze your enemies by throwing snowballs in all directions'
ice_spike:
name: '<aqua>❄️ Ice Spike Burst</aqua>'
description: 'Right-click: Fire cone of freezing projectiles'
passive:
name: '§bIceStorm'
description: 'Gain speed in cold biomes and give enemies slowness'
aggressive:
name: '<aqua>IceStorm</aqua>'
description: 'Gain speed in cold biomes and give enemies slowness'
defensive:
name: '<aqua>Slowness Proc</aqua>'
description: '33% chance to slow enemies when you hit them'
messages:
shoot_snowballs: '<aqua>You have shot frozen snowballs in all directions!</aqua>'
ability_charged: '<yellow>Your ability has been recharged!</yellow>'
spike_fired: '<aqua>❄️ Spikes fired!</aqua>'
spike_cooldown: '<red>Cooldown: <time>s remaining'
venom:
name: '<gradient:dark_red:red><bold>Venom</bold></gradient>'
lore:
@@ -381,6 +394,7 @@ kits:
shield_activate: '<gray>Your shield of darkness has been activated!</gray>'
shield_break: '<red>Your shield of darkness has broken!</red>'
ability_charged: '<yellow>Your ability has been recharged</yellow>'
rattlesnake:
name: '<gradient:green:dark_green><bold>Rattlesnake</bold></gradient>'
lore:
@@ -402,6 +416,7 @@ kits:
pounce_hit: '<green>Pounce hit <count> target(s)! Poison II applied!</green>'
pounce_miss: '<red>Pounce missed! Nearby enemies were disoriented.</red>'
venom_proc: '<green>Counter Venom triggered!</green>'
armorer:
name: '<gradient:gray:white><bold>Armorer</bold></gradient>'
lore:
@@ -418,6 +433,7 @@ kits:
messages:
armor_upgraded: '<gold>Armor upgraded to tier <tier>!</gold>'
armor_replaced: '<yellow>Broken armor replaced automatically.</yellow>'
voodoo:
name: '<gradient:dark_purple:light_purple><bold>Voodoo</bold></gradient>'
lore:
@@ -444,6 +460,7 @@ kits:
curse_cast: '<light_purple>Cursed <count> enemy(s) for 15 seconds!</light_purple>'
curse_received: '<red>You have been cursed by a Voodoo player!</red>'
ability_charged: '<yellow>Ability recharged!</yellow>'
blackpanther:
name: '<gradient:dark_gray:white><bold>Black Panther</bold></gradient>'
lore:
@@ -465,6 +482,7 @@ kits:
fist_mode_active: '<gray>⚡ Vibranium Fists active for 12 seconds!</gray>'
wakanda_impact: '<white>Wakanda Forever! Hit <count> enemy(s)!</white>'
ability_charged: '<yellow>Ability recharged!</yellow>'
theworld:
name: '<gradient:dark_gray:white><bold>The World</bold></gradient>'
lore:
@@ -492,6 +510,7 @@ kits:
frozen_expired: '<gray>The freeze has worn off.</gray>'
freeze_broken: '<gold>Freeze broken — 5 hits reached!</gold>'
freeze_hits_left: '<aqua>Frozen enemy — <hits> hit(s) remaining.</aqua>'
tesla:
name: '<gradient:yellow:aqua><bold>Tesla</bold></gradient>'
lore:
@@ -551,6 +570,7 @@ kits:
anchor_placed: '<gray>Anchor deployed! Radius: <radius> blocks.'
anchor_destroyed: '<red>⚓ Your anchor was destroyed!'
ability_charged: '<gray>Anchor ready to deploy!'
ninja:
name: '<gradient:dark_gray:white><bold>Ninja</bold></gradient>'
lore:
@@ -562,10 +582,12 @@ kits:
name: '<dark_gray>Smoke Bomb</dark_gray>'
description: 'Enemies in 3-block radius get Blindness + Slowness'
messages:
teleported: '<gray>Teleported behind enemy!'
cooldown: '<red>Teleport on cooldown <time>s'
teleport_cooldown: '<dark_red>Teleport on cooldown <time>s'
no_target: '<red>No recent target! Hit an enemy first.'
target_expired: '<red>Target expired (10 s window).'
target_expired: '<red>Target expired (10s window).'
teleported: '<dark_gray>◆ Teleported behind target'
smoke_activated: '<dark_gray>◆ Smoke aura activated!'
smoke_expired: '<gray>◆ Smoke expired.'
trident:
name: '<gradient:aqua:blue><bold>Trident</bold></gradient>'