Skip to content
Snippets Groups Projects
Commit ffb91c56 authored by Eric Wykoff's avatar Eric Wykoff
Browse files

Paradox Spell Modifier now affects spell durations (rounds down)

parent 18e62698
No related branches found
No related tags found
No related merge requests found
......@@ -186,12 +186,19 @@ end
-- Extension Spellbinding
getExtensionModifier = function(self, t, value)
local pm = getParadoxModifier(self)
local mod = 1
local p = self:isTalentActive(self.T_EXTENSION)
if p and p.talent == t.id then
mod = mod + self:callTalent(self.T_EXTENSION, "getPower")
end
-- paradox modifier rounds down
value = math.floor(valeu * pm)
-- extension modifier rounds up
value = math.ceil(value * mod)
return value
end
......
......@@ -86,15 +86,16 @@ newTalent{
local spellpower = getParadoxSpellpower(self, t)
local after_will, will_modifier, sustain_modifier = self:getModifiedParadox()
local anomaly = self:paradoxFailChance()
return ([[Use to set your preferred Paradox. While resting or waiting you'll adjust your Paradox towards this number over %d turns.
return ([[Use to set your preferred Paradox. While resting or waiting you'll adjust your Paradox towards this number over %d turns.
Your Paradox modifier is factored into the duration and spellpower of all chronomancy spells.
Preferred Paradox : %d
Spellpower Modifier : %d%%
Preferred Paradox : %d
Paradox Modifier : %d%%
Spellpower for Chronomancy : %d
Willpower Paradox Modifier : -%d
Paradox Sustain Modifier : +%d
Total Modifed Paradox : %d
Current Anomaly Chance : %d%%]]):format(duration, preference, sp_modifier, spellpower, will_modifier, sustain_modifier, after_will, anomaly)
Paradox Sustain Modifier : +%d
Total Modifed Paradox : %d
Current Anomaly Chance : %d%%]]):format(duration, preference, sp_modifier, spellpower, will_modifier, sustain_modifier, after_will, anomaly)
end,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment