File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -859,11 +859,11 @@ if addon.class == "DRUID" then
859859 [" aura" ] = 33891 ,
860860 [" group" ] = addon .ExclusiveGroup .Feral ,
861861 },
862- -- Passive: Mastery: Nature's Guardian
863- -- TODO: Get value from tooltip?
862+ -- Passive: Mastery: Nature's Guardian (Bear Form)
864863 {
864+ [" aura" ] = 5487 ,
865865 [" known" ] = 77494 ,
866- [" value " ] = 0.16 ,
866+ [" mastery " ] = true ,
867867 },
868868 -- Buff: Moonkin Form
869869 {
Original file line number Diff line number Diff line change @@ -1166,6 +1166,11 @@ addon.StatModValidators = {
11661166 [" PLAYER_LEVEL_UP" ] = true ,
11671167 },
11681168 },
1169+ mastery = {
1170+ events = {
1171+ [" UNIT_STATS" ] = " player" ,
1172+ },
1173+ },
11691174 meta = {
11701175 validate = function (case )
11711176 return case .meta == equipped_meta_gem
14791484 elseif case .tooltip then
14801485 local aura = StatLogic :GetAuraInfo (case .aura , false , case .exact )
14811486 newValue = aura .tooltip
1487+ elseif case .mastery then
1488+ newValue = GetMasteryEffect () / 100
14821489 end
14831490
14841491 if newValue then
You can’t perform that action at this time.
0 commit comments