killing pets by displacing them into traps

A user pointed out that you lose pacifism conduct if you kill your
pet by displacing it into a trap but you don't gain any experience in
the process.  Make this consistent with killing monsters in other ways:
if you get blamed for it then you should also get credit for it.

     Probably minliquid() and mintrap() should take another argument so
they can call killed() instead of mondead() when necessary, but I didn't
go to that much effort....
This commit is contained in:
nethack.rankin
2004-08-17 01:29:47 +00:00
parent e16edb7fb7
commit 10eea7710d
2 changed files with 23 additions and 8 deletions
+1
View File
@@ -48,6 +48,7 @@ fractured boulders or statues produced inconsistent object settings on the
resulting rocks
really fix rolling boulder bug C340-18, the previous "fix" reversed the test
monster throwing greased weapon has same chance for slip/misfire as player
killing a pet by displacing it into a trap now yields experience
Platform- and/or Interface-Specific Fixes