Ported .Net Core commits:
hondacrx: - Initial commit: Switch to .Net Core 2.0 - Fix build and removed not needed files Fabi: - Updated solution platforms. - Changed folder structure. - Change library target framework to netstandard2.0. - Updated solution platforms again... - Removed windows specific kernel32 function usage (Ctrl-C handler).
This commit is contained in:
@@ -0,0 +1,246 @@
|
||||
/*
|
||||
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace Framework.Constants
|
||||
{
|
||||
public struct SkillConst
|
||||
{
|
||||
public const int MaxPlayerSkills = 128;
|
||||
public const uint MaxSkillStep = 15;
|
||||
}
|
||||
|
||||
public enum SkillType
|
||||
{
|
||||
None = 0,
|
||||
|
||||
Swords = 43,
|
||||
Axes = 44,
|
||||
Bows = 45,
|
||||
Guns = 46,
|
||||
Maces = 54,
|
||||
TwoHandedSwords = 55,
|
||||
Defense = 95,
|
||||
LangCommon = 98,
|
||||
RacialDwarf = 101,
|
||||
LangOrcish = 109,
|
||||
LangDwarven = 111,
|
||||
LangDarnassian = 113,
|
||||
LangTaurahe = 115,
|
||||
DualWield = 118,
|
||||
RacialTauren = 124,
|
||||
RacialOrc = 125,
|
||||
RacialNightElf = 126,
|
||||
FirstAid = 129,
|
||||
Staves = 136,
|
||||
LangThalassian = 137,
|
||||
LangDraconic = 138,
|
||||
LangDemonTongue = 139,
|
||||
LangTitan = 140,
|
||||
LangOldTongue = 141,
|
||||
Survival = 142,
|
||||
HorseRiding = 148,
|
||||
WolfRiding = 149,
|
||||
TigerRiding = 150,
|
||||
RamRiding = 152,
|
||||
Swimming = 155,
|
||||
TwoHandedMaces = 160,
|
||||
Unarmed = 162,
|
||||
Blacksmithing = 164,
|
||||
Leatherworking = 165,
|
||||
Alchemy = 171,
|
||||
TwoHandedAxes = 172,
|
||||
Daggers = 173,
|
||||
Herbalism = 182,
|
||||
GenericDnd = 183,
|
||||
Cooking = 185,
|
||||
Mining = 186,
|
||||
PetImp = 188,
|
||||
PetFelhunter = 189,
|
||||
Tailoring = 197,
|
||||
Engineering = 202,
|
||||
PetSpider = 203,
|
||||
PetVoidwalker = 204,
|
||||
PetSuccubus = 205,
|
||||
PetInfernal = 206,
|
||||
PetDoomguard = 207,
|
||||
PetWolf = 208,
|
||||
PetCat = 209,
|
||||
PetBear = 210,
|
||||
PetBoar = 211,
|
||||
PetCrocolisk = 212,
|
||||
PetCarrionBird = 213,
|
||||
PetCrab = 214,
|
||||
PetGorilla = 215,
|
||||
PetRaptor = 217,
|
||||
PetTallstrider = 218,
|
||||
RacialUndead = 220,
|
||||
Crossbows = 226,
|
||||
Wands = 228,
|
||||
Polearms = 229,
|
||||
PetScorpid = 236,
|
||||
PetTurtle = 251,
|
||||
PetGenericHunter = 270,
|
||||
PlateMail = 293,
|
||||
LangGnomish = 313,
|
||||
LangTroll = 315,
|
||||
Enchanting = 333,
|
||||
Fishing = 356,
|
||||
Skinning = 393,
|
||||
Mail = 413,
|
||||
Leather = 414,
|
||||
Cloth = 415,
|
||||
Shield = 433,
|
||||
FistWeapons = 473,
|
||||
RaptorRiding = 533,
|
||||
MechanostriderPiloting = 553,
|
||||
UndeadHorsemanship = 554,
|
||||
PetBat = 653,
|
||||
PetHyena = 654,
|
||||
PetBirdOfPrey = 655,
|
||||
PetWindSerpent = 656,
|
||||
LangForsaken = 673,
|
||||
KodoRiding = 713,
|
||||
RacialTroll = 733,
|
||||
RacialGnome = 753,
|
||||
RacialHuman = 754,
|
||||
Jewelcrafting = 755,
|
||||
RacialBloodElf = 756,
|
||||
PetEventRemoteControl = 758,
|
||||
LangDraenei = 759,
|
||||
RacialDraenei = 760,
|
||||
PetFelguard = 761,
|
||||
Riding = 762,
|
||||
PetDragonhawk = 763,
|
||||
PetNetherRay = 764,
|
||||
PetSporebat = 765,
|
||||
PetWarpStalker = 766,
|
||||
PetRavager = 767,
|
||||
PetSerpent = 768,
|
||||
Internal = 769,
|
||||
Inscription = 773,
|
||||
PetMoth = 775,
|
||||
Mounts = 777,
|
||||
Companions = 778,
|
||||
PetExoticChimaera = 780,
|
||||
PetExoticDevilsaur = 781,
|
||||
PetGhoul = 782,
|
||||
PetExoticSilithid = 783,
|
||||
PetExoticWorm = 784,
|
||||
PetWasp = 785,
|
||||
PetExoticClefthoof = 786,
|
||||
PetExoticCoreHound = 787,
|
||||
PetExoticSpiritBeast = 788,
|
||||
RacialWorgen = 789,
|
||||
RacialGoblin = 790,
|
||||
LangGilnean = 791,
|
||||
LangGoblin = 792,
|
||||
Archaeology = 794,
|
||||
Hunter = 795,
|
||||
DeathKnight = 796,
|
||||
Druid = 798,
|
||||
Paladin = 800,
|
||||
Priest = 804,
|
||||
PetWaterElemental = 805,
|
||||
PetFox = 808,
|
||||
AllGlyphs = 810,
|
||||
PetDog = 811,
|
||||
PetMonkey = 815,
|
||||
PetShaleSpider = 817,
|
||||
Beetle = 818,
|
||||
AllGuildPerks = 821,
|
||||
PetHydra = 824,
|
||||
Monk = 829,
|
||||
Warrior = 840,
|
||||
Warlock = 849,
|
||||
RacialPandaren = 899,
|
||||
Mage = 904,
|
||||
LangPandarenNeutral = 905,
|
||||
LangPandarenAlliance = 906,
|
||||
LangPandarenHorde = 907,
|
||||
Rogue = 921,
|
||||
Shaman = 924,
|
||||
FelImp = 927,
|
||||
Voidlord = 928,
|
||||
Shivarra = 929,
|
||||
Observer = 930,
|
||||
Wrathguard = 931,
|
||||
AllSpecializations = 934,
|
||||
Runeforging = 960,
|
||||
PetPrimalFireElemental = 962,
|
||||
PetPrimalEarthElemental = 963,
|
||||
WayOfTheGrill = 975,
|
||||
WayOfTheWok = 976,
|
||||
WayOfThePot = 977,
|
||||
WayOfTheSteamer = 978,
|
||||
WayOfTheOven = 979,
|
||||
WayOfTheBrew = 980,
|
||||
ApprenticeCooking = 981,
|
||||
JourneymanCookbook = 982,
|
||||
Porcupine = 983,
|
||||
Crane = 984,
|
||||
WaterStrider = 985,
|
||||
PetExoticQuilen = 986,
|
||||
PetGoat = 987,
|
||||
Basilisk = 988,
|
||||
NoPlayers = 999,
|
||||
Direhorn = 1305,
|
||||
PetPrimalStormElemental = 1748,
|
||||
PetWaterElementalMinorTalentVersion = 1777,
|
||||
PetExoticRylak = 1818,
|
||||
PetRiverbeast = 1819,
|
||||
Unused = 1830,
|
||||
DemonHunter = 1848,
|
||||
Logging = 1945,
|
||||
PetTerrorguard = 1981,
|
||||
PetAbyssal = 1982,
|
||||
PetStag = 1993,
|
||||
TradingPost = 2000,
|
||||
Warglaives = 2152,
|
||||
PetMechanical = 2189,
|
||||
PetAbomination = 2216,
|
||||
}
|
||||
|
||||
public enum SkillState
|
||||
{
|
||||
Unchanged = 0,
|
||||
Changed = 1,
|
||||
New = 2,
|
||||
Deleted = 3
|
||||
}
|
||||
|
||||
public enum SkillCategory : byte
|
||||
{
|
||||
Unk = 0,
|
||||
Attributes = 5,
|
||||
Weapon = 6,
|
||||
Class = 7,
|
||||
Armor = 8,
|
||||
Secondary = 9,
|
||||
Languages = 10,
|
||||
Profession = 11,
|
||||
Generic = 12
|
||||
}
|
||||
|
||||
public enum SkillRangeType
|
||||
{
|
||||
Language, // 300..300
|
||||
Level, // 1..max skill for level
|
||||
Mono, // 1..1, grey monolite bar
|
||||
Rank, // 1..skill for known rank
|
||||
None // 0..0 always
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,567 @@
|
||||
/*
|
||||
* Copyright (C) 2012-2017 CypherCore <http://github.com/CypherCore>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace Framework.Constants
|
||||
{
|
||||
public enum AuraType
|
||||
{
|
||||
Any = -1,
|
||||
|
||||
None = 0,
|
||||
BindSight = 1,
|
||||
ModPossess = 2,
|
||||
PeriodicDamage = 3,
|
||||
Dummy = 4,
|
||||
ModConfuse = 5,
|
||||
ModCharm = 6,
|
||||
ModFear = 7,
|
||||
PeriodicHeal = 8,
|
||||
ModAttackspeed = 9,
|
||||
ModThreat = 10,
|
||||
ModTaunt = 11,
|
||||
ModStun = 12,
|
||||
ModDamageDone = 13,
|
||||
ModDamageTaken = 14,
|
||||
DamageShield = 15,
|
||||
ModStealth = 16,
|
||||
ModStealthDetect = 17,
|
||||
ModInvisibility = 18,
|
||||
ModInvisibilityDetect = 19,
|
||||
ObsModHealth = 20, // 20, 21 Unofficial
|
||||
ObsModPower = 21,
|
||||
ModResistance = 22,
|
||||
PeriodicTriggerSpell = 23,
|
||||
PeriodicEnergize = 24,
|
||||
ModPacify = 25,
|
||||
ModRoot = 26,
|
||||
ModSilence = 27,
|
||||
ReflectSpells = 28,
|
||||
ModStat = 29,
|
||||
ModSkill = 30,
|
||||
ModIncreaseSpeed = 31,
|
||||
ModIncreaseMountedSpeed = 32,
|
||||
ModDecreaseSpeed = 33,
|
||||
ModIncreaseHealth = 34,
|
||||
ModIncreaseEnergy = 35,
|
||||
ModShapeshift = 36,
|
||||
EffectImmunity = 37,
|
||||
StateImmunity = 38,
|
||||
SchoolImmunity = 39,
|
||||
DamageImmunity = 40,
|
||||
DispelImmunity = 41,
|
||||
ProcTriggerSpell = 42,
|
||||
ProcTriggerDamage = 43,
|
||||
TrackCreatures = 44,
|
||||
TrackResources = 45,
|
||||
Unk46 = 46, // Ignore All Gear Test Spells
|
||||
ModParryPercent = 47,
|
||||
Unk48 = 48, // One Periodic Spell
|
||||
ModDodgePercent = 49,
|
||||
ModCriticalHealingAmount = 50,
|
||||
ModBlockPercent = 51,
|
||||
ModWeaponCritPercent = 52,
|
||||
PeriodicLeech = 53,
|
||||
ModHitChance = 54,
|
||||
ModSpellHitChance = 55,
|
||||
Transform = 56,
|
||||
ModSpellCritChance = 57,
|
||||
ModIncreaseSwimSpeed = 58,
|
||||
ModDamageDoneCreature = 59,
|
||||
ModPacifySilence = 60,
|
||||
ModScale = 61,
|
||||
PeriodicHealthFunnel = 62,
|
||||
ModAdditionalPowerCost = 63, // NYI
|
||||
PeriodicManaLeech = 64,
|
||||
ModCastingSpeedNotStack = 65,
|
||||
FeignDeath = 66,
|
||||
ModDisarm = 67,
|
||||
ModStalked = 68,
|
||||
SchoolAbsorb = 69,
|
||||
ExtraAttacks = 70,
|
||||
Unk71 = 71,
|
||||
ModPowerCostSchoolPct = 72,
|
||||
ModPowerCostSchool = 73,
|
||||
ReflectSpellsSchool = 74,
|
||||
ModLanguage = 75,
|
||||
FarSight = 76,
|
||||
MechanicImmunity = 77,
|
||||
Mounted = 78,
|
||||
ModDamagePercentDone = 79,
|
||||
ModPercentStat = 80,
|
||||
SplitDamagePct = 81,
|
||||
WaterBreathing = 82,
|
||||
ModBaseResistance = 83,
|
||||
ModRegen = 84,
|
||||
ModPowerRegen = 85,
|
||||
ChannelDeathItem = 86,
|
||||
ModDamagePercentTaken = 87,
|
||||
ModHealthRegenPercent = 88,
|
||||
PeriodicDamagePercent = 89,
|
||||
Unk90 = 90, // Old ModResistChance
|
||||
ModDetectRange = 91,
|
||||
PreventsFleeing = 92,
|
||||
ModUnattackable = 93,
|
||||
InterruptRegen = 94,
|
||||
Ghost = 95,
|
||||
SpellMagnet = 96,
|
||||
ManaShield = 97,
|
||||
ModSkillTalent = 98,
|
||||
ModAttackPower = 99,
|
||||
AurasVisible = 100,
|
||||
ModResistancePct = 101,
|
||||
ModMeleeAttackPowerVersus = 102,
|
||||
ModTotalThreat = 103,
|
||||
WaterWalk = 104,
|
||||
FeatherFall = 105,
|
||||
Hover = 106,
|
||||
AddFlatModifier = 107,
|
||||
AddPctModifier = 108,
|
||||
AddTargetTrigger = 109,
|
||||
ModPowerRegenPercent = 110,
|
||||
InterceptMeleeRangedAttacks = 111,
|
||||
OverrideClassScripts = 112,
|
||||
ModRangedDamageTaken = 113,
|
||||
ModRangedDamageTakenPct = 114,
|
||||
ModHealing = 115,
|
||||
ModRegenDuringCombat = 116,
|
||||
ModMechanicResistance = 117,
|
||||
ModHealingPct = 118,
|
||||
Unk119 = 119, // Old SharePetTracking
|
||||
Untrackable = 120,
|
||||
Empathy = 121,
|
||||
ModOffhandDamagePct = 122,
|
||||
ModTargetResistance = 123,
|
||||
ModRangedAttackPower = 124,
|
||||
ModMeleeDamageTaken = 125,
|
||||
ModMeleeDamageTakenPct = 126,
|
||||
RangedAttackPowerAttackerBonus = 127,
|
||||
ModPossessPet = 128,
|
||||
ModSpeedAlways = 129,
|
||||
ModMountedSpeedAlways = 130,
|
||||
ModRangedAttackPowerVersus = 131,
|
||||
ModIncreaseEnergyPercent = 132,
|
||||
ModIncreaseHealthPercent = 133,
|
||||
ModManaRegenInterrupt = 134,
|
||||
ModHealingDone = 135,
|
||||
ModHealingDonePercent = 136,
|
||||
ModTotalStatPercentage = 137,
|
||||
ModMeleeHaste = 138,
|
||||
ForceReaction = 139,
|
||||
ModRangedHaste = 140,
|
||||
Unk141 = 141, // Old ModRangedAmmoHaste, Unused Now
|
||||
ModBaseResistancePct = 142,
|
||||
ModRecoveryRate = 143, // NYI
|
||||
SafeFall = 144,
|
||||
ModPetTalentPoints = 145,
|
||||
AllowTamePetType = 146,
|
||||
MechanicImmunityMask = 147,
|
||||
RetainComboPoints = 148,
|
||||
ReducePushback = 149, // Reduce Pushback
|
||||
ModShieldBlockvaluePct = 150,
|
||||
TrackStealthed = 151, // Track Stealthed
|
||||
ModDetectedRange = 152, // Mod Detected Range
|
||||
Unk153 = 153, // Old SplitDamageFlat. Unused 4.3.4
|
||||
ModStealthLevel = 154, // Stealth Level Modifier
|
||||
ModWaterBreathing = 155, // Mod Water Breathing
|
||||
ModReputationGain = 156, // Mod Reputation Gain
|
||||
PetDamageMulti = 157, // Mod Pet Damage
|
||||
AllowTalentSwapping = 158,
|
||||
NoPvpCredit = 159,
|
||||
Unk160 = 160, // Old ModAoeAvoidance. Unused 4.3.4
|
||||
ModHealthRegenInCombat = 161,
|
||||
PowerBurn = 162,
|
||||
ModCritDamageBonus = 163,
|
||||
Unk164 = 164,
|
||||
MeleeAttackPowerAttackerBonus = 165,
|
||||
ModAttackPowerPct = 166,
|
||||
ModRangedAttackPowerPct = 167,
|
||||
ModDamageDoneVersus = 168,
|
||||
Unk169 = 169, // Old ModCritPercentVersus. Unused 4.3.4
|
||||
DetectAmore = 170,
|
||||
ModSpeedNotStack = 171,
|
||||
ModMountedSpeedNotStack = 172,
|
||||
ModRecoveryRate2 = 173, // NYI
|
||||
ModSpellDamageOfStatPercent = 174, // By Defeult Intelect, Dependent From ModSpellHealingOfStatPercent
|
||||
ModSpellHealingOfStatPercent = 175,
|
||||
SpiritOfRedemption = 176,
|
||||
AoeCharm = 177,
|
||||
ModMaxPowerPct = 178, // NYI
|
||||
ModPowerDisplay = 179,
|
||||
ModFlatSpellDamageVersus = 180,
|
||||
Unk181 = 181, // Old ModFlatSpellCritDamageVersus - Possible Flat Spell Crit Damage Versus
|
||||
ModResistanceOfStatPercent = 182,
|
||||
ModCriticalThreat = 183,
|
||||
ModAttackerMeleeHitChance = 184,
|
||||
ModAttackerRangedHitChance = 185,
|
||||
ModAttackerSpellHitChance = 186,
|
||||
ModAttackerMeleeCritChance = 187,
|
||||
ModAttackerRangedCritChance = 188,
|
||||
ModRating = 189,
|
||||
ModFactionReputationGain = 190,
|
||||
UseNormalMovementSpeed = 191,
|
||||
ModMeleeRangedHaste = 192,
|
||||
MeleeSlow = 193,
|
||||
ModTargetAbsorbSchool = 194,
|
||||
ModTargetAbilityAbsorbSchool = 195,
|
||||
ModCooldown = 196, // Only 24818 Noxious Breath
|
||||
ModAttackerSpellAndWeaponCritChance = 197,
|
||||
Unk198 = 198, // Old ModAllWeaponSkills
|
||||
Unk199 = 199, // Old ModIncreasesSpellPctToHit. Unused 4.3.4
|
||||
ModXpPct = 200,
|
||||
Fly = 201,
|
||||
IgnoreCombatResult = 202,
|
||||
PreventInterrupt = 203, // NYI
|
||||
PreventCorpseRelease = 204, // NYI
|
||||
ModChargeCooldown = 205, // NYI
|
||||
ModIncreaseVehicleFlightSpeed = 206,
|
||||
ModIncreaseMountedFlightSpeed = 207,
|
||||
ModIncreaseFlightSpeed = 208,
|
||||
ModMountedFlightSpeedAlways = 209,
|
||||
ModVehicleSpeedAlways = 210,
|
||||
ModFlightSpeedNotStack = 211,
|
||||
ModHonorGainPct = 212,
|
||||
ModRageFromDamageDealt = 213,
|
||||
Unk214 = 214,
|
||||
ArenaPreparation = 215,
|
||||
HasteSpells = 216,
|
||||
ModMeleeHaste2 = 217,
|
||||
Unk218 = 218, // old SPELL_AURA_HASTE_RANGED
|
||||
ModManaRegenFromStat = 219,
|
||||
ModRatingFromStat = 220,
|
||||
ModDetaunt = 221,
|
||||
Unk222 = 222,
|
||||
Unk223 = 223,
|
||||
Unk224 = 224,
|
||||
ModVisibilityRange = 225,
|
||||
PeriodicDummy = 226,
|
||||
PeriodicTriggerSpellWithValue = 227,
|
||||
DetectStealth = 228,
|
||||
ModAoeDamageAvoidance = 229,
|
||||
ModMaxHealth = 230,
|
||||
ProcTriggerSpellWithValue = 231,
|
||||
MechanicDurationMod = 232,
|
||||
ChangeModelForAllHumanoids = 233, // Client-Side Only
|
||||
MechanicDurationModNotStack = 234,
|
||||
ModDispelResist = 235,
|
||||
ControlVehicle = 236,
|
||||
ModSpellDamageOfAttackPower = 237,
|
||||
ModSpellHealingOfAttackPower = 238,
|
||||
ModScale2 = 239,
|
||||
ModExpertise = 240,
|
||||
ForceMoveForward = 241,
|
||||
ModSpellDamageFromHealing = 242,
|
||||
ModFaction = 243,
|
||||
ComprehendLanguage = 244,
|
||||
ModAuraDurationByDispel = 245,
|
||||
ModAuraDurationByDispelNotStack = 246,
|
||||
CloneCaster = 247,
|
||||
ModCombatResultChance = 248,
|
||||
ConvertRune = 249,
|
||||
ModIncreaseHealth2 = 250,
|
||||
ModEnemyDodge = 251,
|
||||
ModSpeedSlowAll = 252,
|
||||
ModBlockCritChance = 253,
|
||||
ModDisarmOffhand = 254,
|
||||
ModMechanicDamageTakenPercent = 255,
|
||||
NoReagentUse = 256,
|
||||
ModTargetResistBySpellClass = 257,
|
||||
OverrideSummonedObject = 258,
|
||||
Unk259 = 259, // Old ModHotPct, Unused 4.3.4
|
||||
ScreenEffect = 260,
|
||||
Phase = 261,
|
||||
AbilityIgnoreAurastate = 262,
|
||||
AllowOnlyAbility = 263,
|
||||
Unk264 = 264,
|
||||
Unk265 = 265,
|
||||
Unk266 = 266,
|
||||
ModImmuneAuraApplySchool = 267,
|
||||
Unk268 = 268, // Old ModAttackPowerOfStatPercent. Unused 4.3.4
|
||||
ModIgnoreTargetResist = 269,
|
||||
ModSchoolMaskDamageFromCaster = 270, // NYI
|
||||
ModSpellDamageFromCaster = 271,
|
||||
IgnoreMeleeReset = 272,
|
||||
XRay = 273,
|
||||
Unk274 = 274, // Old AbilityConsumeNoAmmo, Unused 4.3.4
|
||||
ModIgnoreShapeshift = 275,
|
||||
ModDamageDoneForMechanic = 276,
|
||||
Unk277 = 277, // Old ModMaxAffectedTargets. Unused 4.3.4
|
||||
ModDisarmRanged = 278,
|
||||
InitializeImages = 279,
|
||||
Unk280 = 280, // Old ModArmorPenetrationPct Unused 4.3.4
|
||||
ModGuildReputationGainPct = 281, // NYI
|
||||
ModBaseHealthPct = 282,
|
||||
ModHealingReceived = 283, // Possibly Only For Some Spell Family Class Spells
|
||||
Linked = 284,
|
||||
ModAttackPowerOfArmor = 285,
|
||||
AbilityPeriodicCrit = 286,
|
||||
DeflectSpells = 287,
|
||||
IgnoreHitDirection = 288,
|
||||
PreventDurabilityLoss = 289,
|
||||
ModCritPct = 290,
|
||||
ModXpQuestPct = 291,
|
||||
OpenStable = 292,
|
||||
OverrideSpells = 293,
|
||||
PreventRegeneratePower = 294,
|
||||
Unk295 = 295,
|
||||
SetVehicleId = 296,
|
||||
BlockSpellFamily = 297,
|
||||
Strangulate = 298,
|
||||
Unk299 = 299,
|
||||
ShareDamagePct = 300,
|
||||
SchoolHealAbsorb = 301,
|
||||
Unk302 = 302,
|
||||
ModDamageDoneVersusAurastate = 303,
|
||||
ModFakeInebriate = 304,
|
||||
ModMinimumSpeed = 305,
|
||||
Unk306 = 306,
|
||||
HealAbsorbTest = 307,
|
||||
ModCritChanceForCaster = 308,
|
||||
ModResilience = 309, // NYI
|
||||
ModCreatureAoeDamageAvoidance = 310,
|
||||
Unk311 = 311,
|
||||
AnimReplacementSet = 312,
|
||||
Unk313 = 313, // Not Used In 4.3.4 - Related To Mounts
|
||||
PreventResurrection = 314,
|
||||
UnderwaterWalking = 315,
|
||||
PeriodicHaste = 316, // Not Used In 4.3.4 (Name From 3.3.5a)
|
||||
ModSpellPowerPct = 317,
|
||||
Mastery = 318,
|
||||
ModMeleeHaste3 = 319,
|
||||
ModRangedHaste2 = 320,
|
||||
ModNoActions = 321,
|
||||
InterfereTargetting = 322,
|
||||
Unk323 = 323, // Not Used In 4.3.4
|
||||
Unk324 = 324, // Spell Critical Chance (Probably By School Mask)
|
||||
Unk325 = 325, // Not Used In 4.3.4
|
||||
PhaseGroup = 326, // Phase Related
|
||||
Unk327 = 327, // Not Used In 4.3.4
|
||||
TriggerSpellOnPowerPct = 328,
|
||||
ModPowerGainPct = 329, // Nyi
|
||||
CastWhileWalking = 330,
|
||||
ForceWeather = 331,
|
||||
OverrideActionbarSpells = 332,
|
||||
OverrideActionbarSpellsTriggered = 333, // Spells cast with this override have no cast time or power cost
|
||||
ModBlind = 334, // Nyi
|
||||
Unk335 = 335,
|
||||
ModFlyingRestrictions = 336, // Nyi
|
||||
ModVendorItemsPrices = 337,
|
||||
ModDurabilityLoss = 338,
|
||||
IncreaseSkillGainChance = 339, // Nyi
|
||||
ModResurrectedHealthByGuildMember = 340, // Increases Health Gained When Resurrected By A Guild Member By X
|
||||
ModSpellCategoryCooldown = 341,
|
||||
ModMeleeRangedHaste2 = 342,
|
||||
ModMeleeDamageFromCaster = 343,
|
||||
ModAutoattackDamage = 344,
|
||||
BypassArmorForCaster = 345,
|
||||
EnableAltPower = 346, // Nyi
|
||||
ModSpellCooldownByHaste = 347,
|
||||
DepositBonusMoneyInGuildBankOnLoot = 348, // Nyi
|
||||
ModCurrencyGain = 349,
|
||||
ModGatheringItemsGainedPercent = 350, // Nyi
|
||||
Unk351 = 351,
|
||||
Unk352 = 352,
|
||||
ModCamouflage = 353, // Nyi
|
||||
Unk354 = 354, // Restoration Shaman Mastery - Mod Healing Based On Target'S Health (Less = More Healing)
|
||||
ModCastingSpeed = 355, // NYI
|
||||
Unk356 = 356, // Arcane Mage Mastery - Mod Damage Based On Current Mana
|
||||
EnableBoss1UnitFrame = 357,
|
||||
WorgenAlteredForm = 358,
|
||||
Unk359 = 359,
|
||||
ProcTriggerSpellCopy = 360, // Procs The Same Spell That Caused This Proc (Dragonwrath, Tarecgosa'S Rest)
|
||||
OverrideAutoattackWithMeleeSpell = 361, // NYI
|
||||
Unk362 = 362, // Not Used In 4.3.4
|
||||
ModNextSpell = 363, // Used By 101601 Throw Totem - Causes The Client To Initialize Spell Cast With Specified Spell
|
||||
Unk364 = 364, // Not Used In 4.3.4
|
||||
MaxFarClipPlane = 365, // Overrides Client'S View Distance Setting To Max("Fair", CurrentSetting) And Turns Off Terrain Display
|
||||
OverrideSpellPowerByApPct = 366, // Sets Spellpower Equal To % Of Attack Power, Discarding All Other Bonuses (From Gear And Buffs)
|
||||
OverrideAutoattackWithRangedSpell = 367, // NYI
|
||||
Unk368 = 368, // Not Used In 4.3.4
|
||||
EnablePowerBarTimer = 369,
|
||||
SetFairFarClip = 370, // Overrides Client'S View Distance Setting To Max("Fair", CurrentSetting)
|
||||
Unk371 = 371,
|
||||
Unk372 = 372,
|
||||
ModSpeedNoControl = 373, // NYI
|
||||
ModifyFallDamagePct = 374,
|
||||
Unk375 = 375,
|
||||
ModCurrencyGainFromSource = 376, // NYI
|
||||
CastWhileWalking2 = 377, // NYI
|
||||
Unk378 = 378,
|
||||
Unk379 = 379,
|
||||
ModGlobalCooldownByHaste = 380, // Allows melee abilities to benefit from haste GCD reduction
|
||||
Unk381 = 381,
|
||||
ModPetStatPct = 382, // NYI
|
||||
IgnoreSpellCooldown = 383,
|
||||
Unk384 = 384,
|
||||
ChanceOverrideAutoattackWithSpellOnSelf = 385,// NYI (with triggered spell cast by the initial caster?)
|
||||
Unk386 = 386,
|
||||
Unk387 = 387,
|
||||
ModTaxiFlightSpeed = 388,
|
||||
Unk389 = 389,
|
||||
Unk390 = 390,
|
||||
Unk391 = 391,
|
||||
Unk392 = 392,
|
||||
Unk393 = 393,
|
||||
ShowConfirmationPrompt = 394,
|
||||
AreaTrigger = 395, // NYI
|
||||
TriggerSpellOnPowerAmount = 396,
|
||||
Unk397 = 397,
|
||||
Unk398 = 398,
|
||||
Unk399 = 399,
|
||||
ModSkill2 = 400,
|
||||
Unk401 = 401,
|
||||
ModOverridePowerDisplay = 402,
|
||||
OverrideSpellVisual = 403,
|
||||
OverrideAttackPowerBySpPct = 404,
|
||||
ModRatingPct = 405, // NYI
|
||||
KeyboundOverride = 406, // NYI
|
||||
ModFear2 = 407,
|
||||
Unk408 = 408,
|
||||
CanTurnWhileFalling = 409,
|
||||
Unk410 = 410,
|
||||
ModMaxCharges = 411,
|
||||
Unk412 = 412,
|
||||
Unk413 = 413,
|
||||
Unk414 = 414,
|
||||
Unk415 = 415,
|
||||
ModCooldownByHasteRegen = 416,
|
||||
ModGlobalCooldownByHasteRegen = 417,
|
||||
ModMaxPower = 418, // NYI
|
||||
ModBaseManaPct = 419,
|
||||
ModBattlePetXpPct = 420,
|
||||
ModAbsorbEffectsAmountPct = 421, // NYI
|
||||
Unk422 = 422,
|
||||
Unk423 = 423,
|
||||
Unk424 = 424,
|
||||
Unk425 = 425,
|
||||
Unk426 = 426,
|
||||
ScalePlayerLevel = 427, // NYI
|
||||
Unk428 = 428,
|
||||
Unk429 = 429,
|
||||
PlayScene = 430,
|
||||
ModOverrideZonePvpType = 431, // NYI
|
||||
Unk432 = 432,
|
||||
Unk433 = 433,
|
||||
Unk434 = 434,
|
||||
Unk435 = 435,
|
||||
ModEnvironmentalDamageTaken = 436, // NYI
|
||||
ModMinimumSpeedRate = 437,
|
||||
PreloadPhase = 438, // NYI
|
||||
Unk439 = 439,
|
||||
ModMultistrikeDamage = 440, // NYI
|
||||
ModMultistrikeChance = 441, // NYI
|
||||
ModReadiness = 442, // NYI
|
||||
ModLeech = 443, // NYI
|
||||
Unk444 = 444,
|
||||
Unk445 = 445,
|
||||
Unk446 = 446,
|
||||
ModXpFromCreatureType = 447,
|
||||
Unk448 = 448,
|
||||
Unk449 = 449,
|
||||
Unk450 = 450,
|
||||
OverridePetSpecs = 451,
|
||||
Unk452 = 452,
|
||||
ChargeRecoveryMod = 453,
|
||||
ChargeRecoveryMultiplier = 454,
|
||||
ModRoot2 = 455,
|
||||
ChargeRecoveryAffectedByHaste = 456,
|
||||
ChargeRecoveryAffectedByHasteRegen = 457,
|
||||
IgnoreDualWieldHitPenalty = 458,
|
||||
IgnoreMovementForces = 459,
|
||||
ResetCooldownsOnDuelStart = 460,
|
||||
Unk461 = 461,
|
||||
ModHealingAndAbsorbFromCaster = 462, // NYI
|
||||
ConvertCritRatingPctToParryRating = 463, // NYI
|
||||
ModAttackPowerOfBonusArmor = 464, // NYI
|
||||
ModBonusArmor = 465, // NYI
|
||||
ModBonusArmorPct = 466,
|
||||
ModStatBonusPct = 467,
|
||||
TriggerSpellOnHealthPct = 468,
|
||||
ShowConfirmationPromptWithDifficulty = 469,
|
||||
Unk470 = 470,
|
||||
ModVersatility = 471, // NYI
|
||||
Unk472 = 472,
|
||||
PreventDurabilityLossFromCombat = 473,
|
||||
Unk474 = 474,
|
||||
AllowUsingGameobjectsWhileMounted = 475,
|
||||
ModCurrencyGainLooted = 476,
|
||||
Unk477 = 477,
|
||||
Unk478 = 478,
|
||||
Unk479 = 479,
|
||||
Unk480 = 480,
|
||||
ConvertConsumedRune = 481,
|
||||
Unk482 = 482,
|
||||
SuppressTransforms = 483, // NYI
|
||||
Unk484 = 484,
|
||||
Unk485 = 485,
|
||||
Unk486 = 486,
|
||||
Unk487 = 487,
|
||||
Unk488 = 488,
|
||||
Unk489 = 489,
|
||||
Unk490 = 490,
|
||||
Unk491 = 491,
|
||||
Total = 492
|
||||
}
|
||||
|
||||
public enum AuraEffectHandleModes
|
||||
{
|
||||
Default = 0x0,
|
||||
Real = 0x01, // Handler Applies/Removes Effect From Unit
|
||||
SendForClient = 0x02, // Handler Sends Apply/Remove Packet To Unit
|
||||
ChangeAmount = 0x04, // Handler Updates Effect On Target After Effect Amount Change
|
||||
Reapply = 0x08, // Handler Updates Effect On Target After Aura Is Reapplied On Target
|
||||
Stat = 0x10, // Handler Updates Effect On Target When Stat Removal/Apply Is Needed For Calculations By Core
|
||||
Skill = 0x20, // Handler Updates Effect On Target When Skill Removal/Apply Is Needed For Calculations By Core
|
||||
SendForClientMask = (SendForClient | Real), // Any Case Handler Need To Send Packet
|
||||
ChangeAmountMask = (ChangeAmount | Real), // Any Case Handler Applies Effect Depending On Amount
|
||||
ChangeAmountSendForClientMask = (ChangeAmountMask | SendForClientMask),
|
||||
RealOrReapplyMask = (Reapply | Real)
|
||||
}
|
||||
|
||||
// Diminishing Returns Types
|
||||
public enum DiminishingReturnsType
|
||||
{
|
||||
None = 0, // this spell is not diminished, but may have its duration limited
|
||||
Player = 1, // this spell is diminished only when applied on players
|
||||
All = 2 // this spell is diminished in every case
|
||||
}
|
||||
|
||||
// Diminishing Return Groups
|
||||
public enum DiminishingGroup
|
||||
{
|
||||
None = 0,
|
||||
Root = 1,
|
||||
Stun = 2,
|
||||
Incapacitate = 3,
|
||||
Disorient = 4,
|
||||
Silence = 5,
|
||||
AOEKnockback = 6,
|
||||
Taunt = 7,
|
||||
LimitOnly = 8,
|
||||
|
||||
Max
|
||||
}
|
||||
|
||||
public enum DiminishingLevels
|
||||
{
|
||||
Level1 = 0,
|
||||
Level2 = 1,
|
||||
Level3 = 2,
|
||||
Immune = 3,
|
||||
Level4 = 3,
|
||||
TauntImmune = 4
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user