mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-01-19 16:57:20 +07:00
Added note on possible use of SQ mode
This commit is contained in:
parent
5adc3e84e4
commit
c9c5ee346b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user