Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb0d2ed2b96c314ea144b3524195ae96878e0079)
This commit is contained in:
@@ -2557,4 +2557,19 @@ namespace Framework.Constants
|
||||
WhiteHit = 0x01, // enchant shall only proc off white hits (not abilities)
|
||||
Limit60 = 0x02 // enchant effects shall be reduced past lvl 60
|
||||
}
|
||||
|
||||
public enum MountResult
|
||||
{
|
||||
InvalidMountee = 0,
|
||||
TooFarAway = 1,
|
||||
AlreadyMounted = 2,
|
||||
NotMountable = 3,
|
||||
NotYourPet = 4,
|
||||
Other = 5,
|
||||
Looting = 6,
|
||||
RaceCantMount = 7,
|
||||
Shapeshifted = 8,
|
||||
ForcedDismount = 9,
|
||||
Ok = 10 // never sent
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user