Does Crit Mult do anything for Summons?
Moderator: Moderator
Does Crit Mult do anything for Summons?
I know summons can crit, but I was wondering if they get more buffs if your crit mult is higher?
Re: Does Crit Mult do anything for Summons?
Code: Select all
str=15 + (fake and mp or self:mindCrit(mp)) * 2 * self:combatTalentScale(t, 0.2, 1, 0.75) + self:combatTalentScale(t, 2, 10, 0.75),
dex=15 + (fake and mp or self:mindCrit(mp)) * 2 * self:combatTalentScale(t, 0.2, 1, 0.75) + self:combatTalentScale(t, 2, 10, 0.75),
Just uses the basic mindCrit function which uses critmult as it does with all other crits.
A little bit of a starters guide written by yours truly here.
Re: Does Crit Mult do anything for Summons?
Thanks Micbran!
I don't know what to make of "fake and mp" but the fact that it's there at all is helpful. The question behind the question was "would using FEM to wield 3 Crystal Edged weapons make summons stronger" and the answer appears to be yes (which is a green light for the "smash Oozemancer, Summoner, FEM, and Projection together in an Adventurer build.")
I don't know what to make of "fake and mp" but the fact that it's there at all is helpful. The question behind the question was "would using FEM to wield 3 Crystal Edged weapons make summons stronger" and the answer appears to be yes (which is a green light for the "smash Oozemancer, Summoner, FEM, and Projection together in an Adventurer build.")
Re: Does Crit Mult do anything for Summons?
The construction is a variant on the C-like ternary operator, and the actual statement is:Snarvid wrote:Thanks Micbran!
I don't know what to make of "fake and mp"
Code: Select all
fake and mp or self:mindCrit(mp)
'And' has higher precedence, so resolves first. It doesn't resolve to a boolean in Lua, instead, it resolves to the second argument if the first argument is non-nil-non-false, otherwise it resolves to the first argument.
'Or' also doesn't resolve to a boolean, instead, it resolves to first argument if the first argument is non-nil-non-false, otherwise it resolves to the second argument.
Since we're passing mp as a parameter, it's probably not nil or false, so this resolves as:
Did we pass fake as true? If so, the first argument to the 'or' operator resolves down to mp. Since mp is never meant to be false, the 'or' operator will resolve to mp without calling self:mindCrit(mp). So, if this is a fake call to the function, just return the normal 'expectation' stat for the summon without any code overhead.
If we pass fake as false, the first statement resolves to false, and "false or self:mindCrit(mp)" resolves to the second argument, calling self:mindCrit(mp). So if this is a real call to the function, meaning we're actually summoning something, then we roll for mindcrit and resolve out the critical multiplier accordingly.
A summoner with 280% critical multiplier is going to get a pretty terrifying fire drake...
Re: Does Crit Mult do anything for Summons?
Wow, thanks for the explanation.
I don't think I can manage 280, but triple Crystal Edges is +45%, so that's a start. Mostly I'm just jealous of playing on Insane and the terrifying power of War Hounds the computer is able to throw at me...
I don't think I can manage 280, but triple Crystal Edges is +45%, so that's a start. Mostly I'm just jealous of playing on Insane and the terrifying power of War Hounds the computer is able to throw at me...