@@ -10,9 +10,9 @@ describe("TestAttacks", function()
1010 it (" creates an item and has the correct crit chance" , function ()
1111 assert .are .equals (build .calcsTab .mainOutput .CritChance , 0 )
1212 build .itemsTab :CreateDisplayItemFromRaw ([[
13- New Item
14- Heavy Bow
15- ]] )
13+ New Item
14+ Heavy Bow
15+ ]] )
1616 build .itemsTab :AddDisplayItem ()
1717 runCallback (" OnFrame" )
1818 assert .are .equals (build .calcsTab .mainOutput .CritChance , 5 * build .calcsTab .mainOutput .HitChance / 100 )
@@ -21,10 +21,10 @@ describe("TestAttacks", function()
2121 it (" creates an item and has the correct crit multi" , function ()
2222 assert .are .equals (2 , build .calcsTab .mainOutput .CritMultiplier )
2323 build .itemsTab :CreateDisplayItemFromRaw ([[
24- New Item
24+ New Item
2525 Heavy Bow
2626 25% increased Critical Damage Bonus
27- ]] )
27+ ]] )
2828 build .itemsTab :AddDisplayItem ()
2929 runCallback (" OnFrame" )
3030 assert .are .equals (2 + 0.25 , build .calcsTab .mainOutput .CritMultiplier )
@@ -57,7 +57,7 @@ describe("TestAttacks", function()
5757 end )
5858
5959
60- local integratedEfficenyLoadout = function (modLine )
60+ local integratedEfficiencyLoadout = function (modLine )
6161 -- Activate via custom mod text to simplify testing
6262 build .configTab .input .customMods = modLine
6363 build .configTab :BuildModList ()
@@ -76,26 +76,26 @@ describe("TestAttacks", function()
7676 runCallback (" OnFrame" )
7777 build .skillsTab :PasteSocketGroup (" Falling Thunder 1/0 1\n Ignition 1/0 1\n Discombobulate 1/0 1\n Coursing Current 1/0 1" )
7878 runCallback (" OnFrame" )
79-
79+
8080 build .configTab :BuildModList ()
8181 runCallback (" OnFrame" )
8282 build .calcsTab :BuildOutput ()
8383 runCallback (" OnFrame" )
8484 end
85- it (" correctly calculates increased damage with gemling integrated efficency " , function ()
86- integratedEfficenyLoadout (" skills gain 99% increased damage per socketed red support gem" )
85+ it (" correctly calculates increased damage with gemling integrated efficiency " , function ()
86+ integratedEfficiencyLoadout (" skills gain 99% increased damage per socketed red support gem" )
8787 local incDmg = build .calcsTab .mainEnv .player .activeSkillList [1 ].skillModList :Sum (" INC" , nil , " Damage" )
8888 assert .are .equals (incDmg , 99 )
8989 end )
9090
91- it (" correctly calculates crit chance with gemling integrated efficency " , function ()
92- integratedEfficenyLoadout (" skills gain 99% increased critical hit chance per socketed blue support gem" )
91+ it (" correctly calculates crit chance with gemling integrated efficiency " , function ()
92+ integratedEfficiencyLoadout (" skills gain 99% increased critical hit chance per socketed blue support gem" )
9393 local incCritChance = build .calcsTab .mainEnv .player .activeSkillList [1 ].skillModList :Sum (" INC" , nil , " CritChance" )
9494 assert .are .equals (incCritChance , 99 )
9595 end )
9696
97- it (" correctly calculates increased skill speed with gemling integrated efficency " , function ()
98- integratedEfficenyLoadout (" skills gain 99% increased skill speed per socketed green support gem" )
97+ it (" correctly calculates increased skill speed with gemling integrated efficiency " , function ()
98+ integratedEfficiencyLoadout (" skills gain 99% increased skill speed per socketed green support gem" )
9999 local incSpeed = build .calcsTab .mainEnv .player .activeSkillList [1 ].skillModList :Sum (" INC" , nil , " Speed" )
100100 assert .are .equals (incSpeed , 99 )
101101 end )
0 commit comments