Commit 7ca1c50df5577a7e8868929829c1ab8496b3f76d

Authored by DarkGod
2 parents 18e2cde9 c8120a0d

Merge branch 'demon-fire-fix' into 'master'

Update demonfire damage type to check for fiery_torment

Update demonfire damage type to check for fiery_torment when determining if it should hurt or heal demons.

See merge request !716
... ... @@ -2594,7 +2594,7 @@ newDamageType{
2594 2594 state = initState(state)
2595 2595 useImplicitCrit(src, state)
2596 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 2598 target:heal(dam, src)
2599 2599 return -dam
2600 2600 elseif target then
... ...