aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorMeji <alvaromegias_46@hotmail.com>2021-10-16 12:15:03 +0200
committerGitHub <noreply@github.com>2021-10-16 12:15:03 +0200
commit11cc5c0d3bd46b5e68bb549625ef9ca7294deb21 (patch)
treeb36f19d80b39158bf4a0cadf38a9398beb08194a /sql/updates
parentd07102a3dabcdde28f1bb2d504a338f705eb3141 (diff)
Core/BattlePets: Misc fixes (#27057)
* Rename WorldPackets::BattlePet::BattlePet::CollarID to WorldPackets::BattlePet::BattlePet::DisplayID * Use the DisplayID field to store the model of the battle pet. If the species has BattlePetSpeciesFlags::RandomDisplay, nothing is stored. Otherwise a random model is chosen from those available * Stored DisplayID in ITEM_MODIFIER_BATTLE_PET_DISPLAY_ID when caging the battle pet (previously the CreatureID was being stored) * Modified SendPlaySpellVisual function to allow sending Target and TargetPosition at the same time * Added SpellVisual when uncaging
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/auth/master/2021_10_16_00_auth.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/updates/auth/master/2021_10_16_00_auth.sql b/sql/updates/auth/master/2021_10_16_00_auth.sql
new file mode 100644
index 00000000000..c0dfb9a29a1
--- /dev/null
+++ b/sql/updates/auth/master/2021_10_16_00_auth.sql
@@ -0,0 +1 @@
+ALTER TABLE `battle_pets` ADD `displayId` int(11) NOT NULL DEFAULT '0' AFTER `breed`;