Sentropic / SkillAPI-s

A flexible API for easily creating skills and classes with visual skill trees
13 stars 10 forks source link

Skill Cast Whitelist #27

Open DeniedINC opened 3 years ago

DeniedINC commented 3 years ago

Is your feature request related to a problem? Please describe. I currently use click combos and when I right click it activates a combo. This is troublesome because when players right click npcs, want to drop certain items, or sneak without casting they can't. I use 1 click combos so each class has 4 skills that cast with a single button which makes it really fluid. I am limiting my classes to only 4 skills which is tough though.

Describe the solution you'd like I would like the plugin to only listen for click combos while holding certain items, for example,

cast whitelist:

Describe alternatives you've considered Haven't thought of alternatives.

Additional context I feel like this could improve performance as well maybe because it's not always listening for casts? Could check when hotbar changes and start listening if an item in the whitelist is being held. I think that's how it could work not 100% how you would implement it.