From ebef13629a9ff260cdb5890130a851b0762fe492 Mon Sep 17 00:00:00 2001 From: majochem Date: Tue, 26 Aug 2025 18:01:37 +0200 Subject: [PATCH] Fix typo "unscaleable" to "unscalable" --- docs/modSyntax.md | 2 +- src/Data/ModCache.lua | 2 +- src/Modules/ModParser.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/modSyntax.md b/docs/modSyntax.md index 4e60ea2f3b..4524b7a2ee 100644 --- a/docs/modSyntax.md +++ b/docs/modSyntax.md @@ -60,7 +60,7 @@ Often a mod will only apply under certain conditions, apply multiple times based * effectEnemyCond: Specify a condition so this mod applies to the enemy when that condition is fulfilled * effectStackVar: Multiplies the mod by this variable (usually another mod) * modCond: Apply the mod when the actor has this condition - * unscaleable: boolean that determines whether this buff can be scaled by buff effect + * unscalable: boolean that determines whether this buff can be scaled by buff effect * DistanceRamp: A rare type that is used on skills and effects that do different things at different distances from the character * ramp: Numbers to multiply the mod by at different distances. e.g. `ramp = {{35,0},{70,1}}` means the mod does nothing at 35 units, but has its full value at 70 units. * ModFlagOr: Used when you only need one ModFlag to match, e.g. `["with axes or swords"] = { flags = ModFlag.Hit, tag = { type = "ModFlagOr", modFlags = bor(ModFlag.Axe, ModFlag.Sword) } },` needs `Hit`, but can use either of the other two flags diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index 8715ff8d74..a3a2108cc7 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -2146,7 +2146,7 @@ c["4% increased Block chance"]={{[1]={flags=0,keywordFlags=0,name="BlockChance", c["4% increased Cast Speed"]={{[1]={flags=16,keywordFlags=0,name="Speed",type="INC",value=4}},nil} c["4% increased Cast Speed for each different Non-Instant Spell you've Cast Recently"]={{[1]={[1]={type="Multiplier",var="NonInstantSpellCastRecently"},flags=16,keywordFlags=0,name="Speed",type="INC",value=4}},nil} c["4% increased Energy Shield per Power Charge"]={{[1]={[1]={type="Multiplier",var="PowerCharge"},flags=0,keywordFlags=0,name="EnergyShield",type="INC",value=4}},nil} -c["4% increased Magnitude of Unholy Might Buffs you grant per 100 maximum Mana"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={[1]={effectName="BlackenedHeart",effectType="Aura",type="GlobalEffect",unscaleable=true},mod={[1]={actor="parent",div=100,stat="Mana",type="PerStat"},flags=0,keywordFlags=0,name="Multiplier:UnholyMightMagnitude",type="BASE",value=4}}}},nil} +c["4% increased Magnitude of Unholy Might Buffs you grant per 100 maximum Mana"]={{[1]={flags=0,keywordFlags=0,name="ExtraAura",type="LIST",value={[1]={effectName="BlackenedHeart",effectType="Aura",type="GlobalEffect",unscalable=true},mod={[1]={actor="parent",div=100,stat="Mana",type="PerStat"},flags=0,keywordFlags=0,name="Multiplier:UnholyMightMagnitude",type="BASE",value=4}}}},nil} c["4% increased Movement Speed"]={{[1]={flags=0,keywordFlags=0,name="MovementSpeed",type="INC",value=4}},nil} c["4% increased Movement Speed if you've Killed Recently"]={{[1]={[1]={type="Condition",var="KilledRecently"},flags=0,keywordFlags=0,name="MovementSpeed",type="INC",value=4}},nil} c["4% increased Movement Speed if you've cast a Mark Spell Recently"]={{[1]={[1]={type="Condition",var="CastMarkRecently"},flags=0,keywordFlags=0,name="MovementSpeed",type="INC",value=4}},nil} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index c7dfe89791..58f752d8da 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -2841,7 +2841,7 @@ local specialModList = { -- Lich ["your life cannot change while you have energy shield"] = { flag("EternalLife") }, ["while you are not on low mana, you and allies in your presence have unholy might"] = { mod("ExtraAura", "LIST", { mod = flag("Condition:UnholyMight")}, { type = "Condition", var = "LowMana", neg = true }) }, - ["(%d+)%% increased magnitude of unholy might buffs you grant per (%d+) maximum mana"] = function(num, _, num2) return { mod("ExtraAura", "LIST", { mod = mod("Multiplier:UnholyMightMagnitude", "BASE", num, { type = "PerStat", stat = "Mana", div = tonumber(num2), actor = "parent"}), { type = "GlobalEffect", effectName = "BlackenedHeart", effectType = "Aura", unscaleable = true}}) } end, + ["(%d+)%% increased magnitude of unholy might buffs you grant per (%d+) maximum mana"] = function(num, _, num2) return { mod("ExtraAura", "LIST", { mod = mod("Multiplier:UnholyMightMagnitude", "BASE", num, { type = "PerStat", stat = "Mana", div = tonumber(num2), actor = "parent"}), { type = "GlobalEffect", effectName = "BlackenedHeart", effectType = "Aura", unscalable = true}}) } end, ["non%-channelling spells cost an additional (%d+)%% of maximum energy shield"] = function(num) return { mod("ESCostBase", "BASE", 1, nil, 0, KeywordFlag.Spell, { type = "PercentStat", percent = num, stat = "EnergyShield" }, { type = "SkillType", skillType = SkillType.Channel, neg = true } )} end, ["non%-channelling spells consume a power charge if able to deal (%d+)%% more damage"] = function(num) return { mod("Damage", "MORE", num, nil, 0,KeywordFlag.Spell, { type = "SkillType", skillType = SkillType.Channel, neg = true }, { type = "MultiplierThreshold", var = "RemovablePowerCharge", threshold = 1 })} end, ["no inherent mana regeneration"] = { flag("Condition:NoInherentManaRegen") },