Exploding spheres cause real explosions
Despite active explosion attacks being called explosions in-game, they only affected a single target, and were handled differently from actual explosions. Make them do an actual explosion instead. This should make spheres more interesting and inspire different tactics handling them. Because spheres deal more damage on average and can destroy items in their explosions, their difficulty has been increased slightly. Polyselfed hero exploding won't cause elemental damage to their own gear. Originally from xNetHack by copperwater <aosdict@gmail.com>.
This commit is contained in:
@@ -1753,8 +1753,11 @@ domove_core(void)
|
||||
|
||||
nomul(0);
|
||||
if (explo) {
|
||||
struct attack *attk;
|
||||
/* no monster has been attacked so we have bypassed explum() */
|
||||
wake_nearto(u.ux, u.uy, 7 * 7); /* same radius as explum() */
|
||||
if ((attk = attacktype_fordmg(g.youmonst.data, AT_EXPL, AD_ANY)))
|
||||
explum((struct monst *) 0, attk);
|
||||
u.mh = -1; /* dead in the current form */
|
||||
rehumanize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user