Commit c8120a0d2d6bb46fe3b7d9464980dcbec4fdf67c
1 parent
dbb550c0
Update demonfire damage type to check for fiery_torment when determining if it s…
…hould hurt or heal demons.
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -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 | ... | ... |
-
Please register or login to post a comment