Core/Items: Implemented corruption and corruption resistance stats
Port From (https://github.com/TrinityCore/TrinityCore/commit/6533de31005fc9680d9f2b61a4d8ea4958fc8edc)
This commit is contained in:
@@ -1945,4 +1945,10 @@ namespace Framework.Constants
|
||||
|
||||
Max,
|
||||
}
|
||||
|
||||
public enum CorruptionEffectsFlag
|
||||
{
|
||||
None = 0,
|
||||
Disabled = 0x1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,8 +203,8 @@ namespace Framework.Constants
|
||||
CritMeleeRating = 19,
|
||||
CritRangedRating = 20,
|
||||
CritSpellRating = 21,
|
||||
HitTakenMeleeRating = 22,
|
||||
HitTakenRangedRating = 23,
|
||||
Corruption = 22,
|
||||
CorruptionResistance = 23,
|
||||
HitTakenSpellRating = 24,
|
||||
CritTakenMeleeRating = 25,
|
||||
CritTakenRangedRating = 26,
|
||||
@@ -239,15 +239,15 @@ namespace Framework.Constants
|
||||
NatureResistance = 55,
|
||||
ArcaneResistance = 56,
|
||||
PvpPower = 57,
|
||||
CrAmplify = 58,
|
||||
CrMultistrike = 59,
|
||||
CrReadiness = 60,
|
||||
Unused0 = 58,
|
||||
Unused1 = 59,
|
||||
Unused3 = 60,
|
||||
CrSpeed = 61,
|
||||
CrLifesteal = 62,
|
||||
CrAvoidance = 63,
|
||||
CrSturdiness = 64,
|
||||
CrUnused7 = 65,
|
||||
CrCleave = 66,
|
||||
Unused27 = 66,
|
||||
CrUnused9 = 67,
|
||||
CrUnused10 = 68,
|
||||
CrUnused11 = 69,
|
||||
|
||||
@@ -401,8 +401,8 @@ namespace Framework.Constants
|
||||
CritMelee = 8,
|
||||
CritRanged = 9,
|
||||
CritSpell = 10,
|
||||
Multistrike = 11,
|
||||
Readiness = 12,
|
||||
Corruption = 11,
|
||||
CorruptionResistance = 12,
|
||||
Speed = 13,
|
||||
ResilienceCritTaken = 14,
|
||||
ResiliencePlayerDamage = 15,
|
||||
|
||||
@@ -257,6 +257,9 @@ namespace Framework.Database
|
||||
PrepareStatement(HotfixStatements.SEL_CONVERSATION_LINE, "SELECT ID, BroadcastTextID, SpellVisualKitID, AdditionalDuration, NextConversationLineID, " +
|
||||
"AnimKitID, SpeechType, StartAnimation, EndAnimation FROM conversation_line");
|
||||
|
||||
// CorruptionEffects.db2
|
||||
PrepareStatement(HotfixStatements.SEL_CORRUPTION_EFFECTS, "SELECT ID, MinCorruption, Aura, PlayerConditionID, Flags FROM corruption_effects");
|
||||
|
||||
// CreatureDisplayInfo.db2
|
||||
PrepareStatement(HotfixStatements.SEL_CREATURE_DISPLAY_INFO, "SELECT ID, ModelID, SoundID, SizeClass, CreatureModelScale, CreatureModelAlpha, BloodID, " +
|
||||
"ExtendedDisplayInfoID, NPCSoundID, ParticleColorID, PortraitCreatureDisplayInfoID, PortraitTextureFileDataID, ObjectEffectPackageID, " +
|
||||
@@ -1260,6 +1263,8 @@ namespace Framework.Database
|
||||
|
||||
SEL_CONVERSATION_LINE,
|
||||
|
||||
SEL_CORRUPTION_EFFECTS,
|
||||
|
||||
SEL_CREATURE_DISPLAY_INFO,
|
||||
|
||||
SEL_CREATURE_DISPLAY_INFO_EXTRA,
|
||||
|
||||
Reference in New Issue
Block a user