Since ToME is a single-player game, it makes sense that any hostile creatures killed during play (even if they lose their last few HP from a trap or beam attack from a monster behind them) should still give the player full experience. Maybe I'm incorrect about this happening, but I do remember having a random unique finished off by the mummy lord behind it using an attack rune, and I didn't get even 1% xp change when for similar monsters I had got 3-10%+ before that (lvl 11 killing lvl 30-35 monsters).
I don't know how to use debug commands or how to turn on verbose combat messages, but if there's an easy way to do this (without being cheatery) that would be handy
