Something like this in the talent? (which didn't work).
Code: Select all
if crit then
if target:checkHit(src:combatSpellpower(), target:combatPhysicalResist(), 0, 95, 15) and target:canBe("stun") then
target:setEffect(target.EFF_STUNNED, 4, {})
else
game.logSeen(target, "%s resists the stun!", target.name:capitalize())
end
end
I've considered something like this in the crit functions but it could turn into a lot to add to Combat. (Some of the Druid ideas depend heavily on this sort of function).
Code: Select all
if crit and self:knowTalent(self.T_CRIT_FOO) then