Add new perks and register them
Introduce five new perks (Berserker, Evasion, Gourmet, Last Stand, Momentum) with implementations and translations. SpeedHG.kt was updated to import and register these perks. en_US.yml was extended with display names, lore and messages for each perk. Brief mechanics: - Berserker: increased melee damage below a health threshold. - Evasion: chance to dodge projectiles (arrow/snowball/egg) with visual/sound feedback. - Gourmet: grants short Regeneration I + Speed I when consuming mushroom stew. - Last Stand: grants Resistance II + Absorption I when damage drops health below threshold (with cooldown). - Momentum: awards Speed I after sprinting continuously for a configured duration; removed on combat or stopping sprint.
This commit is contained in:
@@ -306,6 +306,46 @@ perks:
|
||||
- '<gold>Golden Apple</gold> <gray>at the corpse.</gray>'
|
||||
message: '<gold>🍎 Scavenged a Golden Apple!</gold>'
|
||||
|
||||
last_stand:
|
||||
name: '<gradient:white:red><bold>Last Stand</bold></gradient>'
|
||||
lore:
|
||||
- ' '
|
||||
- '<gray>Taking damage below <red>3 hearts</red></gray>'
|
||||
- '<gray>grants <white>Resistance II</white> + <yellow>Absorption I</yellow> (4s).</gray>'
|
||||
- '<dark_gray>(60 s cooldown)</dark_gray>'
|
||||
message: '<red>🛡 Last Stand! <white>Resistance II</white> + <yellow>Absorption I</yellow> active!</red>'
|
||||
|
||||
momentum:
|
||||
name: '<gradient:aqua:white><bold>Momentum</bold></gradient>'
|
||||
lore:
|
||||
- ' '
|
||||
- '<gray>Sprint for 4 seconds without</gray>'
|
||||
- '<gray>combat to gain <yellow>Speed I</yellow>.</gray>'
|
||||
message: '<yellow>💨 Momentum! <white>Speed I</white> active!</yellow>'
|
||||
|
||||
gourmet:
|
||||
name: '<gradient:green:gold><bold>Gourmet</bold></gradient>'
|
||||
lore:
|
||||
- ' '
|
||||
- '<gray>Consuming soup grants</gray>'
|
||||
- '<green>Regen I</green> <gray>+</gray> <yellow>Speed I</yellow> <gray>for 2 s.</gray>'
|
||||
message: '<green>🍲 Gourmet! <white>Regen I</white> + <yellow>Speed I</yellow> for 2 seconds!</green>'
|
||||
|
||||
berserker:
|
||||
name: '<gradient:dark_red:red><bold>Berserker</bold></gradient>'
|
||||
lore:
|
||||
- ' '
|
||||
- '<gray>Below <red>4 hearts</red>: deal</gray>'
|
||||
- '<red>15% more</red> <gray>melee damage.</gray>'
|
||||
|
||||
evasion:
|
||||
name: '<gradient:aqua:dark_aqua><bold>Evasion</bold></gradient>'
|
||||
lore:
|
||||
- ' '
|
||||
- '<gray>15% chance to dodge</gray>'
|
||||
- '<gray>incoming projectiles.</gray>'
|
||||
message: '<aqua>💨 Evaded! The projectile missed you!</aqua>'
|
||||
|
||||
kits:
|
||||
needed_hits: '<gold>⚡ Ability: <white><current>/<required> Hits</white></gold>'
|
||||
ability_charged: '<green><bold>⚡ ABILITY READY!</bold></green>'
|
||||
|
||||
Reference in New Issue
Block a user