mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
cat stealth auto cast off
This commit is contained in:
parent
b82a4db59a
commit
176b6f2bf1
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user