Skip to content
Snippets Groups Projects
Commit 5f3ee2af authored by Mr Frog's avatar Mr Frog
Browse files

added SFX to Willful Strike

parent ea456a55
No related branches found
No related tags found
1 merge request!689Doomed stuff
......@@ -129,6 +129,7 @@ newTalent{
local damage = t.getDamage(self, t) * power
local knockback = t.getKnockback(self, t)
t.forceHit(self, t, target, self.x, self.y, damage, knockback, 7, power, 10)
game:playSoundNear(self, "actions/punch" .. tostring(rng.range(2, 4)))
return true
end,
passives = function(self, t, p)
......@@ -365,4 +366,4 @@ newTalent{
In addition, your ability to channel force with this talent increases all critical damage by %d%% (currently: %d%%)
Damage increases with your Mindpower.]]):tformat(duration, hits, chance, hits+1, self:getTalentRange(t), damDesc(self, DamageType.PHYSICAL, damage), knockback, t.critpower(self, t), self.combat_critical_power or 0)
end,
}
}
\ No newline at end of file
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