Fix spelling errors (#5237)

This commit is contained in:
Nightblade
2022-12-09 16:13:13 +11:00
committed by GitHub
parent 81d715f0b5
commit c0f3202a56
6 changed files with 14 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ describe("TetsItemMods", function()
end)
it("Varnarustra works with nightblade", function()
it("Varunastra works with nightblade", function()
build.itemsTab:CreateDisplayItemFromRaw([[Varunastra
Vaal Blade
League: Perandus
@@ -40,7 +40,7 @@ describe("TetsItemMods", function()
assert.are_not.equals(nonElusiveCritMult, build.calcsTab.mainOutput.CritMultiplier)
end)
it("Varnarustra works with close combat support", function()
it("Varunastra works with close combat support", function()
build.itemsTab:CreateDisplayItemFromRaw([[Varunastra
Vaal Blade
League: Perandus

View File

@@ -471,7 +471,7 @@ function ModStoreClass:EvalMod(mod, cfg)
if tag.varList then
for _, var in pairs(tag.varList) do
if tag.neg and allOneH and allOneH["Added"..var] ~= nil then
-- Varunastra adds all using weapon conditions and that causes this condition to fail when it shoouldn't
-- Varunastra adds all using weapon conditions and that causes this condition to fail when it shouldn't
-- if the condition was added by Varunastra then ignore, otherwise return as the tag condition is not satisfied
if not allOneH["Added"..var] then
return

View File

@@ -145,7 +145,7 @@ return {
},
[15]={
list=false,
name="ManuallyCasted",
name="ManuallyCast",
refTo="",
type="Bool",
width=100
@@ -3102,7 +3102,7 @@ return {
},
[27]={
list=true,
name="MonterMods",
name="MonsterMods",
refTo="Mods",
type="Key",
width=300
@@ -4677,7 +4677,7 @@ return {
},
MicrotransactionCombineFormula={
},
MicrotransactionCombineForumula={
MicrotransactionCombineFormula={
},
MicrotransactionCursorVariations={
},
@@ -4969,7 +4969,7 @@ return {
[24]={
list=true,
name="",
refTo="Modtype",
refTo="ModType",
type="Key",
width=150
},
@@ -7156,7 +7156,7 @@ return {
},
QuestRewards={
},
QuestStateCalcuation={
QuestStateCalculation={
},
QuestStateCalculation={
},
@@ -7202,7 +7202,7 @@ return {
},
RogueExiles={
},
Rulesets={
RuleSets={
},
RunicCircles={
},

View File

@@ -3247,7 +3247,7 @@ function calcs.offence(env, actor, activeSkill)
end
end
local basePercent = skillData.bleedBasePercent or data.misc.BleedPercentBase
-- overstacking bleed stacks increases the chance a critical bleed is present
-- over-stacking bleed stacks increases the chance a critical bleed is present
local ailmentCritChance = 100 * (1 - m_pow(1 - output.CritChance / 100, bleedStacks))
local baseVal = calcAilmentDamage("Bleed", ailmentCritChance, sourceHitDmg, sourceCritDmg) * basePercent / 100 * output.RuthlessBlowBleedEffect * output.FistOfWarAilmentEffect * globalOutput.AilmentWarcryEffect
if baseVal > 0 then
@@ -3703,7 +3703,7 @@ function calcs.offence(env, actor, activeSkill)
}
end
end
-- overstacking ignite stacks increases the chance a critical ignite is present
-- over-stacking ignite stacks increases the chance a critical ignite is present
local ailmentCritChance = 100 * (1 - m_pow(1 - output.CritChance / 100, igniteStacks))
local baseVal = calcAilmentDamage("Ignite", ailmentCritChance, sourceHitDmg, sourceCritDmg) * data.misc.IgnitePercentBase * output.FistOfWarAilmentEffect * globalOutput.AilmentWarcryEffect
if baseVal > 0 then

View File

@@ -527,7 +527,7 @@ Huge sets the radius to 11.
enemyModList:NewMod("AvoidElementalAilments", "BASE", val, "Config")
end
end },
{ var = "enemyCanAvoidnonElementalAilment", type = "list", label = "Enemy avoid Poision and Bleed:", tooltip = "'Impervious'", list = {{val=0,label="None"},{val=20,label="20% (Low tier)"},{val=35,label="35% (Mid tier)"},{val=50,label="50% (High tier)"}}, apply = function(val, modList, enemyModList)
{ var = "enemyCanAvoidNonElementalAilment", type = "list", label = "Enemy avoid Poison and Bleed:", tooltip = "'Impervious'", list = {{val=0,label="None"},{val=20,label="20% (Low tier)"},{val=35,label="35% (Mid tier)"},{val=50,label="50% (High tier)"}}, apply = function(val, modList, enemyModList)
if val ~= 0 then
enemyModList:NewMod("AvoidPoison", "BASE", val, "Config")
enemyModList:NewMod("AvoidBleed", "BASE", val, "Config")

View File

@@ -667,7 +667,7 @@ local function loadJewelFile(jewelTypeName)
--- Code for compressing existing data if it changed
if jewelType == 1 then
ConPrintf("GV needs to be split manualy")
ConPrintf("GV needs to be split manually")
else
local compressedFileData = Deflate(jewelData)
local file = assert(io.open(scriptPath .. "Data/TimelessJewelData/" .. jewelTypeName .. ".zip", "wb+"))
@@ -793,7 +793,7 @@ data.nodeIDList = LoadModule("Data/TimelessJewelData/NodeIndexMapping")
data.timelessJewelLUTs = { }
-- this runs if the "size" key is missing from nodeIDList and attempts to rebuild all jewel LUTs and the nodeIDList
-- note this should only run in dev mode
if not data.nodeIDList.size and launch.devMode then -- this doesnt rebuilt the list with the correct sizes, likly an issue with lua indexing from 1 instead of 0, but cbf debugging so just generated the index mapping in c#
if not data.nodeIDList.size and launch.devMode then -- this doesn't rebuilt the list with the correct sizes, likely an issue with lua indexing from 1 instead of 0, but cbf debugging so just generated the index mapping in c#
ConPrintf("Error NodeIndexMapping file empty")
data.nodeIDList = { { index = 0, rebuildLUT = 1 } }
for _, jewelType in ipairs({2, 3, 4, 5}) do