1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
local STAT_DESCRIPTIONS = {
[ STAT_HEALTH_MAX ] = SI_STAT_TOOLTIP_HEALTH_MAX ,
[ STAT_HEALTH_REGEN_IDLE ] = SI_STAT_TOOLTIP_HEALTH_REGENERATION_IDLE ,
[ STAT_HEALTH_REGEN_COMBAT ] = SI_STAT_TOOLTIP_HEALTH_REGENERATION_COMBAT ,
[ STAT_MAGICKA_MAX ] = SI_STAT_TOOLTIP_MAGICKA_MAX ,
[ STAT_MAGICKA_REGEN_IDLE ] = SI_STAT_TOOLTIP_MAGICKA_REGENERATION_IDLE ,
[ STAT_MAGICKA_REGEN_COMBAT ] = SI_STAT_TOOLTIP_MAGICKA_REGENERATION_COMBAT ,
[ STAT_STAMINA_MAX ] = SI_STAT_TOOLTIP_STAMINA_MAX ,
[ STAT_STAMINA_REGEN_IDLE ] = SI_STAT_TOOLTIP_STAMINA_REGENERATION_IDLE ,
[ STAT_STAMINA_REGEN_COMBAT ] = SI_STAT_TOOLTIP_STAMINA_REGENERATION_COMBAT ,
[ STAT_SPELL_POWER ] = SI_STAT_TOOLTIP_SPELL_POWER ,
[ STAT_SPELL_PENETRATION ] = SI_STAT_TOOLTIP_SPELL_PENETRATION ,
[ STAT_SPELL_CRITICAL ] = SI_STAT_TOOLTIP_SPELL_CRITICAL ,
[ STAT_ATTACK_POWER ] = SI_STAT_TOOLTIP_ATTACK_POWER ,
[ STAT_PHYSICAL_PENETRATION ] = SI_STAT_TOOLTIP_PHYSICAL_PENETRATION ,
[ STAT_CRITICAL_STRIKE ] = SI_STAT_TOOLTIP_CRITICAL_STRIKE ,
[ STAT_PHYSICAL_RESIST ] = SI_STAT_TOOLTIP_PHYSICAL_RESIST ,
[ STAT_SPELL_RESIST ] = SI_STAT_TOOLTIP_SPELL_RESIST ,
[ STAT_CRITICAL_RESISTANCE ] = SI_STAT_TOOLTIP_CRITICAL_RESISTANCE ,
[ STAT_POWER ] = SI_STAT_TOOLTIP_POWER ,
[ STAT_MITIGATION ] = SI_STAT_TOOLTIP_MITIGATION ,
[ STAT_SPELL_MITIGATION ] = SI_STAT_TOOLTIP_SPELL_MITIGATION ,
[ STAT_ARMOR_RATING ] = SI_STAT_TOOLTIP_ARMOR_RATING ,
[ STAT_WEAPON_AND_SPELL_DAMAGE ] = SI_STAT_TOOLTIP_WEAPON_POWER ,
}
return statEntry
end
end
end
end
end
end
end
return GetPlayerStat ( self . statType , STAT_BONUS_OPTION_APPLY_BONUS , STAT_SOFT_CAP_OPTION_APPLY_SOFT_CAP )
end
if ( statType == STAT_CRITICAL_STRIKE or statType == STAT_SPELL_CRITICAL ) then
local USE_MINIMUM = true
else
end
end
if pendingBonusAmount and pendingBonusAmount > 0 then -- We don't show any attribute stat increases while in battle leveled zones because
self . control . pendingBonus : SetHidden ( isBattleLeveled ) -- it doesn't make any sense based on how battle leveling now works
else
end
if statChanged then
end
end
end
if statEntry then
local statType = statEntry . statType
end
end
end
end |