Code: Select all
newTalent{
name = "Shadowstrike",
type = {"cunning/stealth", 2},
require = cuns_req2,
mode = "passive",
points = 5,
getMultiplier = function(self, t) return self:getTalentLevel(t) / 7 end,
info = function(self, t)
local multiplier = t.getMultiplier(self, t)
return ([[When striking from stealth, hits are automatically criticals if the target does not notice you just before you land the blow.
Shadowstrikes do +%.02f%% damage versus a normal critical hit. Ranged attacks have this bonus reduced by 10%% per square.]]):
format(multiplier * 100)
end,
}