angband/angband — pull request #97 by artes-liberales (2011-10-14 21:27:37+00:00)
Title: #851 Drain EXP should drain XP in proportion to total XP

An object with the flag OF_DRAIN_EXP now drains proportionally to
player exp.

Changes in:
dungeon.c (process_world)

Note: The formula is taken from the lowest possible monster melee drain
in melee2.c. It should drain about 0.2%. It needs to be low because the drain
happens often, about one in ten turns.

Note: No message is displayed, because it would be too much spam with
a message about every 10 turns.

Note: previous behaviour was draining 1 point of exp.