From c9c5ee346b3ca4e4c81af74689aa4c8c0efa0995 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Thu, 28 Mar 2019 16:43:28 -0700 Subject: [PATCH] Added note on possible use of SQ mode --- core/src/com/riiablo/entity/Entity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/com/riiablo/entity/Entity.java b/core/src/com/riiablo/entity/Entity.java index 0fbc0bdb..4da9a3fe 100644 --- a/core/src/com/riiablo/entity/Entity.java +++ b/core/src/com/riiablo/entity/Entity.java @@ -761,6 +761,9 @@ public abstract class Entity implements Animation.AnimationListener { final Skills.Entry skill = Riiablo.files.skills.get(spell); byte tm = mode; byte newMode = type.getMode(skill.anim); + // FIXME: NOTE: I'm think SQ (sequence) used by player spells are hard-coded and indicate + // something like cast + wait. It's possible this is used to block the player + // from using other spells, or somehow resetting the cooldown. if (newMode == -1) newMode = type.getMode("SC"); boolean changed = sequence(newMode, getNeutralMode()); if (!changed) return false;