cat stealth auto cast off

This commit is contained in:
Yunfan Li
2023-08-24 22:04:58 +08:00
parent b82a4db59a
commit 176b6f2bf1

View File

@@ -29,10 +29,10 @@ bool TogglePetSpellAutoCastAction::Execute(Event event) {
if (spellInfo->IsPassive()) if (spellInfo->IsPassive())
continue; continue;
// imp's spell, felhunte's intelligence, ghoul's leap // imp's spell, felhunte's intelligence, ghoul's leap, cat stealth
if (spellId == 4511 || spellId == 1742 || if (spellId == 4511 || spellId == 1742 ||
spellId == 54424 || spellId == 57564 || spellId == 57565 || spellId == 57566 || spellId == 57567 || spellId == 54424 || spellId == 57564 || spellId == 57565 || spellId == 57566 || spellId == 57567 ||
spellId == 47482) { spellId == 47482 || spellId == 24450) {
pet->ToggleAutocast(spellInfo, false); pet->ToggleAutocast(spellInfo, false);
} else { } else {
pet->ToggleAutocast(spellInfo, true); pet->ToggleAutocast(spellInfo, true);