[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
+1 -1
View File
@@ -162,7 +162,7 @@ NPC::NPC(const NPCType *npc_type_data, Spawn2 *in_respawn, const glm::vec4 &posi
size = 15;
}
taunting = false;
SetTaunting(false);
proximity = nullptr;
copper = 0;
silver = 0;