[Cleanup] Utilize IsTaunting(), SetPetPower(), SetPetType(), and SetTaunting() (#3275)

* [Cleanup] Utilize SetPetPower() in zone/pets.cpp

# Notes
- This wasn't used before.

* Utilize other methods.

* Update special_attacks.cpp
This commit is contained in:
Alex King authored and GitHub committed 2023-04-15 13:20:04 -04:00
1 parent 7523c972fa
commit ff40dbc710
4 files changed
+18 -10

No files matched your search

+2 -2
View File
@@ -380,8 +380,8 @@ Mob::Mob(
spellbonuses.AssistRange = -1;
SetPetID(0);
SetOwnerID(0);
typeofpet = petNone; // default to not a pet
petpower = 0;
SetPetType(petNone); // default to not a pet
SetPetPower(0);
held = false;
gheld = false;
nocast = false;