NetHack icon indicating copy to clipboard operation
NetHack copied to clipboard

Anti-magic field instakill

Open CorentinDeBoisset opened this issue 4 years ago • 12 comments

Since https://github.com/NetHack/NetHack/commit/5ad45fc696448422b1daeda76d3f8b62361d9392#diff-7082a9350bde90bd8e3daddae93a3d3e461c326ed51767fb26b9d62bb1a7fc2cR1977 anti-magic fields remove as many HP as they would have PW in case the player has magic resistance. However, for high-level Wizards, it's quite common to have 400PW and only 150HP, meaning stepping on an anti-magic field can quite easily instakill.

CorentinDeBoisset avatar Jun 14 '21 20:06 CorentinDeBoisset

Same for priests which usually have higher Pw than HP.

stenno avatar Jun 14 '21 22:06 stenno

Perhaps multiply drain if being used for HP by maxHP/max(1,maxPW)?

actual-nh avatar Jun 15 '21 19:06 actual-nh

@copperwater: Perhaps consider this fix for xNetHack?

actual-nh avatar Jul 11 '21 02:07 actual-nh

Added to the xnethack backlog but this is one of those things I think will get fixed upstream before I get to it.

copperwater avatar Aug 04 '21 11:08 copperwater

Added to the xnethack backlog but this is one of those things I think will get fixed upstream before I get to it.

I can submit a PR if you like; not sure when, of course...

actual-nh avatar Aug 12 '21 22:08 actual-nh

Is something going to be done about this? I actually lost this way the other day. Just instant death in the mines with 40+/50 HP (I believe) on a level 8 wizard. And it sounds like the chance of instant death actually increases as you gain levels? I can't really imagine enjoying the style of gameplay required to deal with this (searching every square multiple times for the entire game, I assume).

dolio avatar May 17 '22 04:05 dolio

Devteam, please address this, or at the very least state your intentions so we're not left wondering. The anti-magic field damage change is ridiculous. I field several complaints about it every week, either on IRC or via email - having to repeatedly reply with 'there's nothing I can do' is starting to get old.

k21971 avatar May 26 '22 12:05 k21971

Just adding my voice here to say that this definitely needs some sort of fix. Apart from being an extremely unfair way to die, this punishes Wizards and Priests an inordinate amount.

NullCGT avatar May 26 '22 13:05 NullCGT

I suppose 1:1 tradeoff of HP to Pw wouldn't be fair even if it wouldn't kill you outright. Simply because losing all HP means DYWYPI, but if you lost almost all Pw, it's still possible to deal with it somehow (e.g. fallback to non-magic gear).

I mean, if you'll lose 95% HP during fighting, it would be still very unfair, especially if you're surrounded.

ostrosablin avatar May 26 '22 13:05 ostrosablin

As of this morning, xNetHack addresses it with this approach: anti-magic fields don't deal HP damage at all. Instead, if you have anti-magic gear on you, the gear amplifies the effect of the anti-magic trap, causing a greater magic drain and a guaranteed loss of 1 max Pw point.

I'm not sure why the HP damage when magic resistant was considered "useful for play balance". If the intended balance was to have a trap with a greater punishment for people who have a good extrinsic, then the xNetHack approach still accomplishes that.

copperwater avatar May 26 '22 18:05 copperwater

Another one bites the dust :( https://au.hardfought.org/userdata/M/Moult/nethack/dumplog/1657362154.nh.html

Moult avatar Jul 11 '22 12:07 Moult

CorentinDeBoisset you can close this issue, see commit 5c7c9d10ae7984667b533bb7038616dc81346a0f

k21971 avatar Jul 13 '22 12:07 k21971