Skip to content

Commit

Permalink
Remove ally/summon XP penalty (in a better way)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Floodkiller committed Jun 24, 2018
1 parent 3b4a0a8 commit 6ab24b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crawl-ref/source/mon-death.cc
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6ab24b7

Please sign in to comment.