mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
cat stealth auto cast off
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user