Core/Spells: Fixed ErrorCube spell missiles

Port From (https://github.com/TrinityCore/TrinityCore/commit/ce794f3978e853341b2dc0c782e7bda34303b3f8)
This commit is contained in:
hondacrx
2021-11-18 14:30:42 -05:00
parent 83f9cbe66f
commit 9268b931c8
10 changed files with 427 additions and 166 deletions
+15
View File
@@ -2229,4 +2229,19 @@ namespace Framework.Constants
HideUntilLearned = 0x4000,
MatchPlayerHighPetLevel = 0x8000
}
public enum SpellVisualEffectNameType
{
Model = 0,
Item = 1,
Creature = 2,
UnitItemMainHand = 3,
UnitItemOffHand = 4,
UnitItemRanged = 5,
UnitAmmoBasic = 6,
UnitAmmoPreferred = 7,
UnitItemMainHandIgnoreDisarmed = 8,
UnitItemOffHandIgnoreDisarmed = 9,
UnitItemRangedIgnoreDisarmed = 10
}
}
@@ -1928,7 +1928,7 @@ namespace Framework.Constants
{
Unk0 = 0x01, // 0
Unk1 = 0x02, // 1
Unk2 = 0x04, // 2
UsesRangedSlotCosmeticOnly = 0x04, // 2
Unk3 = 0x08, // 3
WaterSpout = 0x10, // 4
Unk5 = 0x20, // 5