Example Repro:

1. Spawn a Clockwerk, two allied Heroes, and one enemy Hero. Do not level them.

2. Level Rocket Flare, enable -wtf for convenience.

3. Position Clockwerk outside of 1200 exp range, and both allied Heroes next to the enemy Hero.

4. Kill the enemy Hero with Rocket Flare acquiring the last hit.

Result: Clockwerk receives 33 exp; each allied hero receives 138 exp.

Expected: Clockwerk receives 100 exp; each allied hero receives 155 exp.

Explanation: In DotA 1, there are two components of exp: hardcoded and triggered exp.

Hardcoded exp follows the pattern 100/120/160/220 for killing a hero levels 1-4, then 300/400/500/600... for heroes level 5+. This is shared fully between Heroes in 1200 range.

Triggered, or "bonus" exp follows the following pattern:

This formula is applied directly to allied Heroes in 1200 range (with a little discrepancy... I will assume Icefrog was just misinformed here).

However, kills outside of 1200 exp range do NOT cause the killing Hero to receive or even affect exp distribution to Heroes inside this radius. Instead, a killing Hero outside of 1200 exp range SHOULD simply be awarded a full quantity of the hardcoded exp without taking it from their allies within exp range. Thus, Clockwerk should receive 100 exp for killing a level 1 hero, and his allies within exp range should each receive a share of 50 exp plus 90+15 bonus exp, totaling 155 exp. The current interaction is that Clockwerk takes only a share of the hardcoded exp, reducing his allies' exp gain as well. Bonus exp is awarded correctly.

1. Spawn a Clockwerk, two allied Heroes, and one enemy Hero. Do not level them.

2. Level Rocket Flare, enable -wtf for convenience.

3. Position Clockwerk outside of 1200 exp range, and both allied Heroes next to the enemy Hero.

4. Kill the enemy Hero with Rocket Flare acquiring the last hit.

Result: Clockwerk receives 33 exp; each allied hero receives 138 exp.

Expected: Clockwerk receives 100 exp; each allied hero receives 155 exp.

Explanation: In DotA 1, there are two components of exp: hardcoded and triggered exp.

Hardcoded exp follows the pattern 100/120/160/220 for killing a hero levels 1-4, then 300/400/500/600... for heroes level 5+. This is shared fully between Heroes in 1200 range.

Triggered, or "bonus" exp follows the following pattern:

- 1 Hero: 120+20*LevelOfDyingHero
- 2 Heroes: 90+15*LevelOfDyingHero
- 3 Heroes: 30+7*LevelOfDyingHero
- 4 Heroes: 20+5*LevelOfDyingHero
- 5 Heroes: 15+4*LevelOfDyingHero

This formula is applied directly to allied Heroes in 1200 range (with a little discrepancy... I will assume Icefrog was just misinformed here).

However, kills outside of 1200 exp range do NOT cause the killing Hero to receive or even affect exp distribution to Heroes inside this radius. Instead, a killing Hero outside of 1200 exp range SHOULD simply be awarded a full quantity of the hardcoded exp without taking it from their allies within exp range. Thus, Clockwerk should receive 100 exp for killing a level 1 hero, and his allies within exp range should each receive a share of 50 exp plus 90+15 bonus exp, totaling 155 exp. The current interaction is that Clockwerk takes only a share of the hardcoded exp, reducing his allies' exp gain as well. Bonus exp is awarded correctly.

## Comment