v2.2.1: fixed visual bugs with endure, and fixed re-using it
This commit is contained in:
+5
-2
@@ -51,7 +51,10 @@ public class Endure extends ArmorAbility {
|
|||||||
@Override
|
@Override
|
||||||
protected void activate(ClassArmor armor, Hero hero, Integer target) {
|
protected void activate(ClassArmor armor, Hero hero, Integer target) {
|
||||||
|
|
||||||
Buff.prolong(hero, EndureTracker.class, 13f);
|
if (hero.buff(EndureTracker.class) != null){
|
||||||
|
hero.buff(EndureTracker.class).detach();
|
||||||
|
}
|
||||||
|
Buff.prolong(hero, EndureTracker.class, 12f);
|
||||||
|
|
||||||
Combo combo = hero.buff(Combo.class);
|
Combo combo = hero.buff(Combo.class);
|
||||||
if (combo != null){
|
if (combo != null){
|
||||||
@@ -83,7 +86,7 @@ public class Endure extends ArmorAbility {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void tintIcon(Image icon) {
|
public void tintIcon(Image icon) {
|
||||||
super.tintIcon(icon);
|
icon.hardlight(1, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user