Break invis for AA casts

This commit is contained in:
Michael Cook (mackal) 2016-06-30 21:59:50 -04:00
parent bcec9501b7
commit 860ee81a38

View File

@ -1179,6 +1179,7 @@ void Client::ActivateAlternateAdvancementAbility(int rank_id, int target_id) {
cooldown = 0;
}
CommonBreakInvisible();
// Bards can cast instant cast AAs while they are casting another song
if(spells[rank->spell].cast_time == 0 && GetClass() == BARD && IsBardSong(casting_spell_id)) {
if(!SpellFinished(rank->spell, entity_list.GetMob(target_id), ALTERNATE_ABILITY_SPELL_SLOT, spells[rank->spell].mana, -1, spells[rank->spell].ResistDiff, false)) {