Skip to content
Snippets Groups Projects
Commit 1f52f3dc authored by DarkGod's avatar DarkGod
Browse files

Meteoric Crash stun chance uses spell or mind power, as the damage does

parent 9f1b9721
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ uberTalent{
local target = game.level.map(px, py, Map.ACTOR)
if target then
if target:canBe("stun") then
target:setEffect(target.EFF_STUNNED, 3, {apply_power=src:combatSpellpower()})
target:setEffect(target.EFF_STUNNED, 3, {apply_power=math.max(src:combatSpellpower(), src:combatMindpower())})
else
game.logSeen(target, "%s resists the stun!", target.name:capitalize())
end
......
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