Skip to content
Snippets Groups Projects
Commit 5713c44b authored by DarkGod's avatar DarkGod
Browse files

Stone Vines now correctly check for mindpower instead of just willpower to apply debuff

parent a17548ba
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -46,7 +46,7 @@ newTalent{
-- Randomly take targets
local tg = {type="hit", range=self:getTalentRange(t), talent=t}
local a, id = rng.table(tgts)
local hit, chance = a:checkHit(self:combatTalentStatDamage(t, "wil", 5, 110), a:combatPhysicalResist(), 0, 95, 5)
local hit, chance = a:checkHit(self:combatMindpower(), a:combatPhysicalResist(), 0, 95, 5)
if a:canBe("pin") and hit then
local turns, dam, arcanedam = t.getValues(self, t)
a:setEffect(a.EFF_STONE_VINE, turns, {dam=dam, arcanedam = arcanedam, src=self, free=rad+4, free_chance=100-chance})
......
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