File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -553,4 +553,21 @@ describe("TetsItemMods", function()
553553 assert .are_not .equals (64 , build .calcsTab .mainOutput .Armour )
554554 runCallback (" OnFrame" )
555555 end )
556+
557+ it (" Heralds apply exposure with Heraldry" , function ()
558+ build .skillsTab :PasteSocketGroup (" Arc 20/0 Default 1\n Herald of Thunder 20/0 Default 1\n " )
559+ runCallback (" OnFrame" )
560+
561+ assert .are .equals (0.5 , build .calcsTab .mainOutput .LightningEffMult )
562+
563+ build .configTab .input .customMods = [[
564+ Nearby Enemies have Cold Exposure while you are affected by Herald of Ice
565+ Nearby Enemies have Fire Exposure while you are affected by Herald of Ash
566+ Nearby Enemies have Lightning Exposure while you are affected by Herald of Thunder
567+ ]]
568+ build .configTab :BuildModList ()
569+ runCallback (" OnFrame" )
570+
571+ assert .are .equals (0.6 , build .calcsTab .mainOutput .LightningEffMult )
572+ end )
556573end )
You can’t perform that action at this time.
0 commit comments