mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
Improve class spell and use trinket
This commit is contained in:
@@ -36,9 +36,9 @@ bool TogglePetSpellAutoCastAction::Execute(Event event)
|
||||
continue;
|
||||
|
||||
bool shouldApply = true;
|
||||
// imp's spell, felhunte's intelligence, ghoul's leap, cat stealth
|
||||
// imp's spell, felhunte's intelligence, cat stealth
|
||||
if (spellId == 4511 || spellId == 1742 || spellId == 54424 || spellId == 57564 || spellId == 57565 ||
|
||||
spellId == 57566 || spellId == 57567 || spellId == 47482 || spellId == 24450)
|
||||
spellId == 57566 || spellId == 57567 || spellId == 24450)
|
||||
{
|
||||
shouldApply = false;
|
||||
}
|
||||
@@ -72,7 +72,7 @@ bool PetAttackAction::Execute(Event event)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// pet->SetReactState(REACT_DEFENSIVE);
|
||||
pet->SetReactState(REACT_PASSIVE);
|
||||
pet->ClearUnitState(UNIT_STATE_FOLLOW);
|
||||
pet->AttackStop();
|
||||
pet->SetTarget(target->GetGUID());
|
||||
|
||||
Reference in New Issue
Block a user