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

Fix Reproach not proccing talent_on_mind

parent 76948055
No related branches found
No related tags found
1 merge request!5111.6 Misc
......@@ -48,10 +48,10 @@ newTalent{
local damage = self:mindCrit(t.getDamage(self, t))
local spreadFactor = t.getSpreadFactor(self, t)
for i, t in ipairs(table.shuffle(targets)) do
self:project({type="hit", talent=t, x=t.x,y=t.y}, t.x, t.y, DamageType.MIND, { dam=damage, crossTierChance=25 })
for i, t2 in ipairs(table.shuffle(targets)) do
self:project({type="hit", talent=t, x=t2.x,y=t2.y}, t2.x, t2.y, DamageType.MIND, { dam=damage, crossTierChance=25 })
damage = damage * spreadFactor
game.level.map:particleEmitter(t.x, t.y, 1, "reproach", { dx = self.x - t.x, dy = self.y - t.y })
game.level.map:particleEmitter(t2.x, t2.y, 1, "reproach", { dx = self.x - t2.x, dy = self.y - t2.y })
end
game:playSoundNear(self, "talents/fire")
......
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