From 6ab24b7b020a9b71ae175ebcaa4b9dbe4eee21dc Mon Sep 17 00:00:00 2001 From: Floodkiller Date: Sat, 23 Jun 2018 21:57:16 -0400 Subject: [PATCH] Remove ally/summon XP penalty (in a better way) Instead of messing around with the XP calculations, just set the multiplier on pet damage to be the same as all other forms of player damage. Should be less crashing issues with this version. --- crawl-ref/source/mon-death.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crawl-ref/source/mon-death.cc b/crawl-ref/source/mon-death.cc index ab6dbdb4f7c..110076262b6 100644 --- a/crawl-ref/source/mon-death.cc +++ b/crawl-ref/source/mon-death.cc @@ -700,8 +700,9 @@ int exp_rate(int killer) if (killer == MHITYOU || killer == YOU_FAULTLESS) return 2; + //TODO: Consolidate all of this later now that it all returns the same if (_is_pet_kill(KILL_MON, killer)) - return 1; + return 2; return 0; }