Skip to content
Snippets Groups Projects
Commit f0d5f12d authored by Chris Davidson's avatar Chris Davidson
Browse files

Revise Dirty Fighting

- No longer forces unarmed

- Duration fixed to 4
parent 518164fe
No related branches found
No related tags found
1 merge request!5111.6 Misc
......@@ -34,14 +34,14 @@ newTalent{
no_npc_use = true,
target = function(self, t) return {type="hit", range=self:getTalentRange(t)} end,
getDamage = function(self, t) return self:combatTalentWeaponDamage(t, 1.5, 2.1) end,
getDuration = function(self, t) return math.floor(self:combatTalentLimit(t, 10, 4, 8)) end,
getDuration = function(self, t) return 4 end,
getPower = function(self, t) return math.floor(self:combatTalentScale(t, 5, 25)) end,
speed = "weapon",
action = function(self, t)
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 hitted = self:attackTarget(target, nil, t.getDamage(self, t), true, true)
local hitted = self:attackTarget(target, nil, t.getDamage(self, t), true)
if hitted then
target:setEffect(target.EFF_DIRTY_FIGHTING, t.getDuration(self, t), {power=t.getPower(self,t)})
end
......@@ -52,7 +52,7 @@ newTalent{
local damage = t.getDamage(self, t)
local duration = t.getDuration(self, t)
local power = t.getPower(self,t)
return ([[You make a low blow against a sensitive point on the target, dealing %d%% unarmed damage. If your attack hits, the target is left reeling and vulnerable, reducing their physical save by %d and their stun, blind, confusion and pin immunities to 50%% of normal for %d turns.
return ([[You make a low blow against a sensitive point on the target, dealing %d%% weapon damage. If your attack hits, the target is left reeling and vulnerable, reducing their physical save by %d and their stun, blind, confusion and pin immunities to 50%% of normal for %d turns.
This effect bypasses saves.]]):
format(100 * damage, power, duration)
end,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment