v3.0.0: fixed timing errors with bless just before alpha-5 release
This commit is contained in:
+2
-1
@@ -70,6 +70,7 @@ public class BlessSpell extends TargetedClericSpell {
|
|||||||
ch.sprite.showStatusWithIcon( CharSprite.POSITIVE, Integer.toString(5 + 5*hero.pointsInTalent(Talent.BLESS)), FloatingText.SHIELDING );
|
ch.sprite.showStatusWithIcon( CharSprite.POSITIVE, Integer.toString(5 + 5*hero.pointsInTalent(Talent.BLESS)), FloatingText.SHIELDING );
|
||||||
hero.busy();
|
hero.busy();
|
||||||
hero.sprite.operate(ch.pos);
|
hero.sprite.operate(ch.pos);
|
||||||
|
hero.spend( 1f );
|
||||||
} else {
|
} else {
|
||||||
Buff.prolong(ch, Bless.class, 5f + 5*hero.pointsInTalent(Talent.BLESS));
|
Buff.prolong(ch, Bless.class, 5f + 5*hero.pointsInTalent(Talent.BLESS));
|
||||||
int totalHeal = 5 + 10*hero.pointsInTalent(Talent.BLESS);
|
int totalHeal = 5 + 10*hero.pointsInTalent(Talent.BLESS);
|
||||||
@@ -87,8 +88,8 @@ public class BlessSpell extends TargetedClericSpell {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hero.sprite.zap(ch.pos);
|
hero.sprite.zap(ch.pos);
|
||||||
|
hero.spendAndNext( 1f );
|
||||||
}
|
}
|
||||||
hero.spend( 1f );
|
|
||||||
|
|
||||||
onSpellCast(tome, hero);
|
onSpellCast(tome, hero);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user