Add chat listener and fix ability height/fall logic
Add a ChatListener and register it to render chat with rank prefixes/colors. Enforce a maximum knockback altitude (MAX_KNOCKBACK_HEIGHT_Y) and block height-restricted ability use in Blitzcrank and BlackPanther; surface a localized height_restriction message. Add per-kit noFallDamage tracking for BlackPanther and Trident and cancel fall damage for flagged players in the KitEventDispatcher. Improve hitsRequired resolution: CustomGameSettings will treat a hardcoded 0 as an explicit cooldown-only value (never overridden) and the ActiveAbility getter now only accepts positive override values. Misc fixes: allow throwable items (potions/pearls) to bypass active-item handling, tighten ninja last-hit tracking, fix kit item drop detection in GameStateListener, tweak tablist prefix/suffix handling, and bump TheWorld ability cooldown from 20000ms to 25000ms. Also update language entries and minor formatting/cleanup.
This commit is contained in:
@@ -307,6 +307,7 @@ perks:
|
||||
kits:
|
||||
needed_hits: '<gold>⚡ Ability: <white><current>/<required> Hits</white></gold>'
|
||||
ability_charged: '<green><bold>⚡ ABILITY READY!</bold></green>'
|
||||
height_restriction: '<red>⚠ This ability cannot be used at high altitudes!'
|
||||
|
||||
backup:
|
||||
name: '<gradient:gold:#ff841f><bold>Backup</bold></gradient>'
|
||||
@@ -624,8 +625,8 @@ kits:
|
||||
name: '<gradient:gold:yellow><bold>Spielo</bold></gradient>'
|
||||
lore:
|
||||
- ' '
|
||||
- '<gray>AGGRESSIVE: Gambling at the push of a button</gray>'
|
||||
- '<gray>DEFENSIVE: Slot machine - no instant death</gray>'
|
||||
- 'AGGRESSIVE: Gambling at the push of a button'
|
||||
- 'DEFENSIVE: Slot machine - no instant death'
|
||||
items:
|
||||
automat:
|
||||
name: '<gold><bold>Slot Machine</bold></gold>'
|
||||
|
||||
Reference in New Issue
Block a user