peacefulcraft-network / TrenchPvP

PeacefulCraft Networks Trench Kit PvP
2 stars 0 forks source link

Action bar tooltips #82

Closed Parsonswy closed 5 years ago

Parsonswy commented 5 years ago

When a player switches weapons, remind them what abilities the thing they're holding has on the action bar. (The thing right above the hot bar that shows cool downs). Just something basic like; Left [Click]: None | Absolute Defense : Right [Click]

See the TrenchAbility cool down code on how to do this as it involves manually constructing bits of a visual component to work. We should probably try and abstract this a bit, maybe into the gamehandle.announcer class so that we can just do a .messageaActionBar(player, string).