 __  ____  _  _ ______ 
|  |/  (_)| || ||  ___|
|  /  / _ | || || |__ __  __ _ __
|    < | || || ||  __|\ \/ /| '_ \
|  \  \| || || || |___ >  < | (_) |
|__|\__|_||_||_||_____/_/\_\|  __/
 _____  _____ __  __        | |_ 
|  __ \/ __  |  \/  |       |_| |
| |  | \/ / /| \  / | ___   __| |
| |  | | / / | |\/| |/ _ \ / _  |
| |__| |/ /__| |  | | (_) | (_) |
|_____//_____|_|  |_|\___/ \____|
 ____  _             _       
|  _ \| |           (_)      
| (_) | |_   _  __ _ _ _ __  
|  __/| | | | |/ _` | | `_ \ 
| |   | | |_| | (_) | | | | |
|_|   |_|\__,_|\__, |_|_| |_|
                __/ |        
               |___/         

Version 1.0 - 23/4/5

This plugin is made for the D2Mod system, so you will need to have it installed in your Diablo II directory, or in your mod folder.

What does this plugin do?	

This plugin replaces the current experience calculations with a customisable table. This gives you full control over the experience penalty incurred by killing monsters whose levels are too different from yours.

>>-<_D2Mod Installation_>-<<
1) Insert this line into the [D2Mod] section of D2Mod.ini:

	KillExp=KillExp.dll

if you do not have this line already, add it as well

	NewTxt=NewTxt.dll

2) Put KillExp.dll in the same directory as the D2Mod ini file (either Diablo II directory or mod directory). Likewise if you do not have NewTxt.dll, place it in the same directory.

3) Put the KillExp.txt in your excel folder.

>>-<_Usage_>-<<

There are 4 files in this plugin.
KillExp.dll
Readme-KillExp1.0.txt
KillExp.txt
NewTxt.dll

>>-- KillExp.txt --<<

There are 44 Columns in KillExp.txt, but they're mostly repetitive

*Difference       - This column is a reference value, it refers to the Difference in player and monster levels
amaVsWeakMon      - If playing an Amazon in Normal, killing a monster who has a lower level than you.
amaVsStrongMon    - If playing an Amazon in Normal, killing a monster who has a higher level than you.
amaVsWeakMon(N)   - If playing an Amazon in Nightmare, killing a monster who has a lower level than you.
amaVsStrongMon(N) - If playing an Amazon in Nightmare, killing a monster who has a higher level than you.
amaVsWeakMon(H)   - If playing an Amazon in Hell, killing a monster who has a lower level than you.
amaVsStrongMon(H) - If playing an Amazon in Hell, killing a monster who has a higher level than you.
... same concept for all the other classes
*eol              - Standard 0 column. This prevent an EOL error.

>>-<_Filling the txt file_>-<<

You can have as many rows as you like, but in the case that the player and monster level difference is greater than the defined values, the last row will be used for penalty calculation.

To give 100% experience for a specific difference, put 1024. This means that 512 will give you half experience and 2048 will give you double.

I've put a sample in KillExp.txt which is 'similar' to the original, but doesn't chop the experience off completely at 10 but later. It features a smoother downscale but it stops at the original max D2 penalties.

>>-<_Special Configurations_>-<<

1) 100% Exp all the time
The request in the original thread that started this plugin was to have 100% experience throughout all level differences. This is very easy to accomplish here. You only need 1 line in the KillExp.txt, and set all values to 1024. Since any level difference greater than the last defined row (0 level difference) will revert to it, all differences will use the same line and you will receive 100% experience all the time.

2) Well, your own special configuration
The simplicity of the txt file is that you get to use Excel (which I did) to mess with values to get whatever curve you like. Different values for Normal, Nightmare and Hell means that you can actively discourage people from leap frogging into Nightmare or Hell to leech experience. The min values that I have in the sample KillExp are the original D2 minimums, but you're free to change to your preferences.

>>-<_To Do_>-<<

Do you think there are more checks that should or could be done? I had thought of doing checks for specific items, but realised there is already a experience altering property. So use that instead.

If you've any other suggestions, post in the forum. Enjoy :)

-------------

Thanks for trying this plug-in out. If there are any bugs or queries, PM me in the Keep.

Cheers,
RicFaith

Acknowledgements:
pmpch & Myhrginoc - They were masterminding the thread in which I took my offsets from. Thanks for breaking the location down nicely for us!