[1.4.5] Shattering Blow

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
ibanix
Wyrmic
Posts: 244
Joined: Thu May 23, 2013 12:25 am

[1.4.5] Shattering Blow

#1 Post by ibanix »

I'm not clear if this is a bug or not, but I can't figure it out.

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,
Ok, so I've got that the damage should be 80-140%. But the actual action applied doesn't seem to match this:

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)
That looks a lot like 100-150%.
Please help with the ToME wiki!

Post Reply