diff --git a/game/modules/tome/data/gfx/particles/apply_poison.lua b/game/modules/tome/data/gfx/particles/apply_poison.lua index ea651d7279c17769b803c4285a055dc7399bad7d..9c63473bc25d0b9a5015b827f83c193f8ed200dc 100644 --- a/game/modules/tome/data/gfx/particles/apply_poison.lua +++ b/game/modules/tome/data/gfx/particles/apply_poison.lua @@ -17,7 +17,7 @@ -- Nicolas Casalini "DarkGod" -- darkgod@te4.org -base_size = 32 +base_size = 64 toback = false can_shift = true @@ -27,13 +27,13 @@ return { generator = function() local dir = math.rad(90) local r = rng.range(18, 22) local dirchance = rng.chance(2) - local x = rng.range(-10, 10) - local y = -4 + math.abs(math.sin(x / 16) * 8) + local x = rng.range(-6, 6) + x * 64 + local y = rng.range(-6, -2) + y * 64 return { trail = 2, life = 32, - size = rng.range(3, 6), sizev = 0, sizea = -0.008, + size = rng.range(6, 12), sizev = 0, sizea = -0.016, x = x, xv = 0, xa = 0, y = y, yv = 0.2, ya = 0.04, diff --git a/game/modules/tome/data/talents/cunning/poisons.lua b/game/modules/tome/data/talents/cunning/poisons.lua index a48272defc0ef756cbd5a36885863435733ab448..48729b401d9b65bde200d0fa1cf4ace75a9a2be9 100644 --- a/game/modules/tome/data/talents/cunning/poisons.lua +++ b/game/modules/tome/data/talents/cunning/poisons.lua @@ -86,6 +86,8 @@ newTalent{ end, activate = function(self, t) local ret = {} + local h1x, h1y = self:attachementSpot("hand1", true) if h1x then self:talentParticles(ret, {type="apply_poison", args={x=h1x, y=h1y}}) end + local h2x, h2y = self:attachementSpot("hand2", true) if h2x then self:talentParticles(ret, {type="apply_poison", args={x=h2x, y=h2y}}) end self:talentParticles(ret, {type="apply_poison", args={}}) return ret end,