From e33f275c899fd84114172f5819a642ed00b3bef2 Mon Sep 17 00:00:00 2001 From: Shibari <ShibariTOME@Gmail.com> Date: Mon, 13 Feb 2017 18:08:11 -0500 Subject: [PATCH] - Increase radius on Toxic Death and make it always spread --- game/modules/tome/data/talents/cunning/poisons.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/game/modules/tome/data/talents/cunning/poisons.lua b/game/modules/tome/data/talents/cunning/poisons.lua index 1318e0b952..2349dc8419 100644 --- a/game/modules/tome/data/talents/cunning/poisons.lua +++ b/game/modules/tome/data/talents/cunning/poisons.lua @@ -105,14 +105,13 @@ newTalent{ points = 5, mode = "passive", require = cuns_req2, - getRadius = function(self, t) return math.floor(self:combatTalentLimit(t, 10, 1, 2.7)) end, - getChance = function(self, t) return self:combatTalentLimit(t, 50, 10, 25) end, + getRadius = function(self, t) return math.floor(self:combatTalentLimit(t, 10, 1, 5)) end, on_kill = function(self, t, target) local poisons = {} local to_spread = 0 for k, v in pairs(target.tmp) do local e = target.tempeffect_def[k] - if e.subtype.poison and v.src == self and rng.percent(t.getChance(self, t)) then + if e.subtype.poison and v.src == self then print("[Toxic Death] spreading poison", k, target.x, target.y) poisons[k] = target:copyEffect(k) poisons[k]._from_toxic_death = true to_spread = to_spread + 1 @@ -135,7 +134,7 @@ newTalent{ end end, info = function(self, t) - return ([[When you kill a creature, all of your poisons affecting it will have a %d%% chance to spread to foes in a radius of %d.]]):format(t.getChance(self, t), t.getRadius(self, t)) + return ([[When you kill a creature, all of your poisons affecting it will spread to foes in a radius of %d.]]):format(t.getRadius(self, t)) end, } -- GitLab