Yes, you are correct, that belongs in party.cpp, my bad!
1732372780
Make sure you follow the code that was added to all of the scripts if you're also changing source code, this source code change is only to make party give exp within distance of monster killed, it does not perform calculations...