Skip to content
Snippets Groups Projects
Commit 60df3dd3 authored by DarkGod's avatar DarkGod
Browse files

plop

parent 4acf4fe9
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -70,7 +70,8 @@ newTalent{
self:project(tg, x, y, function(px, py)
local target = game.level.map(px, py, Map.ACTOR)
if target and self:reactionToward(target) < 0 and target:canBe("poison") then
local poison = rng.table{target.EFF_SPYDRIC_POISON, target.EFF_INSIDIOUS_POISON, target.EFF_CRIPPLING_POISON, target.EFF_NUMBING_POISON}
local defaults = {target.EFF_SPYDRIC_POISON, target.EFF_INSIDIOUS_POISON, target.EFF_CRIPPLING_POISON, target.EFF_NUMBING_POISON}
local poison = rng.table(self.poisonous_spores_list or defaults)
target:setEffect(poison, 10, {src=self, power=dam/10,
reduce=self:combatTalentLimit(t, 100, 12, 20),
fail=math.ceil(self:combatTalentLimit(t, 100, 6, 10)),
......
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