So for Shattering Blow (Technique / Strength of the Berserker), the description has:
Code: Select all
info = function(self, t)
return ([[Hits the target with your weapon, doing %d%% damage. If the attack hits, the target's armour and saves are reduced by %d for %d turns.
Also if the target is protected by a temporary damage shield there is %d%% chance to shatter it.
Armor reduction chance increases with your Physical Power.]])
:format(100 * self:combatTalentWeaponDamage(t, 0.8, 1.4), t.getArmorReduc(self, t), t.getDuration(self, t), t.getShatter(self, t))
end,
Code: Select all
action = function(self, t)
local weapon = self:hasTwoHandedWeapon()
if not weapon then return nil end
local tg = self:getTalentTarget(t)
local x, y, target = self:getTarget(tg)
if not target or not self:canProject(tg, x, y) then return nil end
local speed, hit = self:attackTargetWith(target, weapon.combat, nil, self:combatTalentWeaponDamage(t, 1, 1.5)