Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Modules/CalcPerform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ local function doActorAttribsConditions(env, actor)
end
if not modDB:Flag(nil, "NoStrengthAttributeBonuses") then
if not modDB:Flag(nil, "NoStrBonusToLife") then
if modDB:Flag(nil, "HalvesLifeFromStrength") then
inherentAttributeMultiplier = inherentAttributeMultiplier * 0.5
end
modDB:NewMod("Life", "BASE", output.Str * 2 * inherentAttributeMultiplier, "Strength")
end
end
Expand Down
1 change: 1 addition & 0 deletions src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2131,6 +2131,7 @@ local specialModList = {
mod("SpellSuppressionChance", "OVERRIDE", 0, "Acrobatics"),
},
["maximum chance to dodge spell hits is (%d+)%%"] = function(num) return { mod("SpellDodgeChanceMax", "OVERRIDE", num, "Acrobatics") } end,
["halves the amount of life granted by strength"] = { flag("HalvesLifeFromStrength")},
["dexterity provides no bonus to evasion rating"] = { flag("NoDexBonusToEvasion") },
["dexterity provides no inherent bonus to evasion rating"] = { flag("NoDexBonusToEvasion") },
["your hits can't be evaded"] = { flag("CannotBeEvaded") },
Expand Down