[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
2023-04-15 13:20:04 -04:00
committed by GitHub
parent 7523c972fa
commit ff40dbc710
4 changed files with 18 additions and 10 deletions
+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;