Talk:Spell.dbc/EffectApplyAuraName: Difference between revisions

From wowdev
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 6: Line 6:


'''2^value means the value exponentially increased by two, meaning 2^0 is 1, 2^1 = 2, 2^2 = 4, 2^3 = 8, 2^4 = 16, 2^5 = 32, ect'''
'''2^value means the value exponentially increased by two, meaning 2^0 is 1, 2^1 = 2, 2^2 = 4, 2^3 = 8, 2^4 = 16, 2^5 = 32, ect'''
enum CombatRating


     CR_WEAPON_SKILL            = 0,
     CR_WEAPON_SKILL            = 0,
Line 37: Line 35:


'''The second misc value column, which will be 3 columns over, (i.e. if this is your first effect and the rating is in column 111, this value will be 114, column 112 will be 115, and 113 will be 116) will always be the stat it is created FROM, of which the values being:'''
'''The second misc value column, which will be 3 columns over, (i.e. if this is your first effect and the rating is in column 111, this value will be 114, column 112 will be 115, and 113 will be 116) will always be the stat it is created FROM, of which the values being:'''
==enum Stats==


     STAT_STRENGTH                      = 0,
     STAT_STRENGTH                      = 0,

Latest revision as of 21:09, 11 April 2023

Specific Auras - Explained

&AuraEffect::HandleModRatingFromStat, //220 SPELL_AURA_MOD_RATING_FROM_STAT

Each rating number is found in Unit.h, EffectMiscValue = 2^rating and all ratings = -1

2^value means the value exponentially increased by two, meaning 2^0 is 1, 2^1 = 2, 2^2 = 4, 2^3 = 8, 2^4 = 16, 2^5 = 32, ect

   CR_WEAPON_SKILL             = 0,
   CR_DEFENSE_SKILL            = 1,
   CR_DODGE                    = 2,
   CR_PARRY                    = 3,
   CR_BLOCK                    = 4,
   CR_HIT_MELEE                = 5,
   CR_HIT_RANGED               = 6,
   CR_HIT_SPELL                = 7,
   CR_CRIT_MELEE               = 8,
   CR_CRIT_RANGED              = 9,
   CR_CRIT_SPELL               = 10,
   CR_HIT_TAKEN_MELEE          = 11,
   CR_HIT_TAKEN_RANGED         = 12,
   CR_HIT_TAKEN_SPELL          = 13,
   CR_CRIT_TAKEN_MELEE         = 14,
   CR_CRIT_TAKEN_RANGED        = 15,
   CR_CRIT_TAKEN_SPELL         = 16,
   CR_HASTE_MELEE              = 17,
   CR_HASTE_RANGED             = 18,
   CR_HASTE_SPELL              = 19,
   CR_WEAPON_SKILL_MAINHAND    = 20,
   CR_WEAPON_SKILL_OFFHAND     = 21,
   CR_WEAPON_SKILL_RANGED      = 22,
   CR_EXPERTISE                = 23,
   CR_ARMOR_PENETRATION        = 24


The second misc value column, which will be 3 columns over, (i.e. if this is your first effect and the rating is in column 111, this value will be 114, column 112 will be 115, and 113 will be 116) will always be the stat it is created FROM, of which the values being:

   STAT_STRENGTH                      = 0,
   STAT_AGILITY                       = 1,
   STAT_STAMINA                       = 2,
   STAT_INTELLECT                     = 3,
   STAT_SPIRIT                        = 4,






--Crow (talk) 17:15, 28 February 2021 (CET)