Custom Query (1828 matches)


Show under each result:

Results (70 - 72 of 1828)

Ticket Resolution Summary Owner Reporter
#629 fixed (in master) Acid Immunity doesn't prevent Acid Damage. rickwenzl@…

While wielding Thorin, an Ancient Multi-Hued Dragon breathed Acid and did significant damage to my character. This character also has Taratol and Lightning Immunity works correctly.

Attached is a save file from immediately after the Acid Breath.

#251 fixed (in master) Acid damage of inventory items broken takkaria


In the original code, inven_damage() was called with an argument "perc" that was set to either 1, 2, or 3. In the code, this number was multiplied by 100, then divided by 4 for rods, and then compared to rand_int(10000) to get a chance of destruction of either 1, 2, or 3, or (for rods) 1/4, 1/2, or 3/4 percent. The multiplication by 100 and the test against rand_int(10000) were introduced to prevent rounding errors in the division by 4 when Robert added the extra resistance for rods.

The code to damage instead of destroy weapons and armour was inserted after the multiplication by 100, but the chance (which by now is one of 100, 200, or 300) is tested against rand_int(100) instead of rand_int(10000). I didn't playtest it - but unless I'm very much mistaken, damaging attacks should now ALWAYS succeed in damaging susceptible items.

#1827 fixed (in master) Acquirement can fail to generate egos nckmccnnll

This has been found to be a problem with bounds checking - see

Note: See TracQuery for help on using queries.