Commit 5916656d465f14b5e57723d6bdb8c2e7dd796fdc
Merge remote-tracking branch 'upstream/master' into i18n
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -2607,7 +2607,7 @@ newDamageType{ |
2607 | 2607 | useImplicitCrit(src, state) |
2608 | 2608 | local target = game.level.map(x, y, Map.ACTOR) |
2609 | 2609 | |
2610 | - if target and src == target and target.type == "undead" and target.subtype == "ghoul" then | |
2610 | + if target and src == target and ((target.type == "undead" and target.subtype == "ghoul") or (target.descriptor and target.descriptor.subrace == "Ghoul")) then | |
2611 | 2611 | target:setEffect(target.EFF_RETCHED, 1, {}) |
2612 | 2612 | end |
2613 | 2613 | ... | ... |
-
Please register or login to post a comment