Fixed issue #837 &838 about key combos being offset of 1 skill slot.

This commit is contained in:
Ka0rX 2023-05-29 09:23:22 +01:00
parent 0acff060eb
commit 4812a48b3c

View File

@ -112,7 +112,7 @@ public class KeyCombos implements SkillCastingListener {
// Hash current combo and check // Hash current combo and check
if (casting.combos.getCombos().containsKey(casting.current)) { if (casting.combos.getCombos().containsKey(casting.current)) {
final int spellSlot = casting.combos.getCombos().get(casting.current) - 1; final int spellSlot = casting.combos.getCombos().get(casting.current);
playerData.leaveSkillCasting(); playerData.leaveSkillCasting();
// Cast spell // Cast spell