mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Auras: Implemented mount equipment
This commit is contained in:
@@ -1194,6 +1194,11 @@ void HotfixDatabaseConnection::DoPrepareStatements()
|
||||
"ReqMapID, PlayerConditionID, FlightCapabilityID FROM mount_capability WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
|
||||
PREPARE_MAX_ID_STMT(HOTFIX_SEL_MOUNT_CAPABILITY, "SELECT MAX(ID) + 1 FROM mount_capability", CONNECTION_SYNCH);
|
||||
|
||||
// MountEquipment.db2
|
||||
PrepareStatement(HOTFIX_SEL_MOUNT_EQUIPMENT, "SELECT ID, Item, BuffSpell, Unknown820, LearnedBySpell FROM mount_equipment"
|
||||
" WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
|
||||
PREPARE_MAX_ID_STMT(HOTFIX_SEL_MOUNT_EQUIPMENT, "SELECT MAX(ID) + 1 FROM mount_equipment", CONNECTION_SYNCH);
|
||||
|
||||
// MountTypeXCapability.db2
|
||||
PrepareStatement(HOTFIX_SEL_MOUNT_TYPE_X_CAPABILITY, "SELECT ID, MountTypeID, MountCapabilityID, OrderIndex FROM mount_type_x_capability"
|
||||
" WHERE (`VerifiedBuild` > 0) = ?", CONNECTION_SYNCH);
|
||||
|
||||
@@ -685,6 +685,9 @@ enum HotfixDatabaseStatements : uint32
|
||||
HOTFIX_SEL_MOUNT_CAPABILITY,
|
||||
HOTFIX_SEL_MOUNT_CAPABILITY_MAX_ID,
|
||||
|
||||
HOTFIX_SEL_MOUNT_EQUIPMENT,
|
||||
HOTFIX_SEL_MOUNT_EQUIPMENT_MAX_ID,
|
||||
|
||||
HOTFIX_SEL_MOUNT_TYPE_X_CAPABILITY,
|
||||
HOTFIX_SEL_MOUNT_TYPE_X_CAPABILITY_MAX_ID,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user