Tags: k21971/EvilHack
Tags
Fix: player riding a steed can now feed their steed by throwing food … …down at them, take two. Commit 408fe0c allowed the player riding a steed to feed it without dismounting by simply throwing the food object down at their steed, as if they were throwing it on the ground. This worked fine for food objects the steed wanted to actually eat. If an object was thrown that the steed didn't want or couldn't eat, that object disappeared permanently, and could then cause a crash on game exit. This commit fixes that bug, now uneaten objects will just land on the floor.
Fix: digesting rings of fire/cold/shock/poison resistance would not c… …onfer any resistance. This bug has most likely existed since the very beginning of EvilHack development when partial resistances were ported over from SporkHack (and this bug exists there as well). Was noticed recently during a game of Hack'EM, which shares a lot of EvilHack code. A fix was made for that variant; the fix here is similar, but not exactly the same. It was pointed out by terrapin that a more elegant fix would be to change a bit in how_resistant() in potion.c from u.uprops[which].intrinsic & (FROMEXPER | FROMRACE | FROMFORM) to u.uprops[which].intrinsic & INTRINSIC, but doing so would break a lot of the functionality of ice traps. So we've made specific cases for each of the rings affected instead. Eating any of these rings has a chance to grant 50% resistance for that type of ring (one third of that for fire res if Draugr race).
Fix: follow up to crash when examining discoveries with '`' in certai… …n cases. NetHack 3.7 also had this bug, and it seems it's been present as far back as version 3.2.0 - the NetHack devteam released the proper fix for this earlier today (git commit 3a9e53a).
Fix: do not allow the Idol of Moloch to be cancelled. The method in which the game tracks the Idol of Moloch having been imbued or not is by assigning it a charge, much like a weapon, or a wand, etc. The flaw in this, is if the Idol is ever cancelled after it's been imbued, the game becomes unwinnable. The proper fix for this would be to assign a flag to the Idol, tracking whether it's been imbued or not. Adding a new flag for this will break saves, so the solution for now is to just prevent the Idol from being cancelled altogether. It can still lose it's blessed/cursed status, but it will still hold on to its 'charge'.
PreviousNext