Commit c8120a0d2d6bb46fe3b7d9464980dcbec4fdf67c

Authored by K'van
1 parent dbb550c0

Update demonfire damage type to check for fiery_torment when determining if it s…

…hould hurt or heal demons.
@@ -2594,7 +2594,7 @@ newDamageType{ @@ -2594,7 +2594,7 @@ newDamageType{
2594 state = initState(state) 2594 state = initState(state)
2595 useImplicitCrit(src, state) 2595 useImplicitCrit(src, state)
2596 local target = game.level.map(x, y, Map.ACTOR) 2596 local target = game.level.map(x, y, Map.ACTOR)
2597 - if target and target:attr("demon") then 2597 + if target and (target:attr("demon") and not target:attr("fiery_torment")) then
2598 target:heal(dam, src) 2598 target:heal(dam, src)
2599 return -dam 2599 return -dam
2600 elseif target then 2600 elseif target then