From 39486771b1ecaf6d5aeea3a4ad464bddb7ace197 Mon Sep 17 00:00:00 2001 From: Indyuce Date: Sat, 4 Jun 2022 12:38:27 +0200 Subject: [PATCH] Added NONE skill casting mode --- .../mmocore/skill/cast/SkillCastingMode.java | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/Indyuce/mmocore/skill/cast/SkillCastingMode.java b/src/main/java/net/Indyuce/mmocore/skill/cast/SkillCastingMode.java index 49c85ade..ebc82f10 100644 --- a/src/main/java/net/Indyuce/mmocore/skill/cast/SkillCastingMode.java +++ b/src/main/java/net/Indyuce/mmocore/skill/cast/SkillCastingMode.java @@ -19,17 +19,27 @@ public enum SkillCastingMode { SKILL_BAR(config -> new SkillBar(config)), /** - * + * When entering casting mode you can use the mouse scroller + * to navigate through the entire castable skill list. Then press + * one key to cast the one selected. */ SKILL_SCROLL(config -> new SkillScroller(config)), /** * Initialize your skill combo by pressing some key. *

- * Then press a certain amount of keys to + * Then press a certain key combo. The config can be used + * to map key combos to skill bind slots, for instance LLR + * would cast the 2nd skill but LRL the 3rd one. */ KEY_COMBOS(config -> new KeyCombos(config)), + /** + * Entirely disables skill casting. + */ + NONE(config -> new Listener() { + }); + /** * Not implemented yet. *