v0.9.2a: removed a leftover TODO from combo
This commit is contained in:
parent
771a028419
commit
5b083c2b7b
|
@ -184,7 +184,7 @@ public class Combo extends Buff implements ActionIndicator.Action {
|
|||
SLAM (4, 0xFFCCFF00),
|
||||
PARRY (6, 0xFFFFFF00),
|
||||
CRUSH (8, 0xFFFFCC00),
|
||||
FURY (10, 0xFFFF0000); //TODO can currently input other actions while attacking with fury
|
||||
FURY (10, 0xFFFF0000);
|
||||
|
||||
public int comboReq, tintColor;
|
||||
|
||||
|
@ -404,7 +404,8 @@ public class Combo extends Buff implements ActionIndicator.Action {
|
|||
case FURY:
|
||||
count--;
|
||||
//fury attacks as many times as you have combo count
|
||||
if (count > 0 && enemy.isAlive() && (wasAlly || enemy.alignment != target.alignment)){
|
||||
if (count > 0 && enemy.isAlive() && hero.canAttack(enemy) &&
|
||||
(wasAlly || enemy.alignment != target.alignment)){
|
||||
target.sprite.attack(enemy.pos, new Callback() {
|
||||
@Override
|
||||
public void call() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user