HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

XP calculations

10-23-2007, 03:45 PM#1
cohadar
I see hero XP , normal factor, constant factor and bunch of other factors in gameplay constants to set how XP is gained.

But I have no formula based on witch XP is calculated so I cannot really use this setting...

Anyone can point me into right direction?
10-23-2007, 04:18 PM#2
TaintedReality
Quote:
Hero XP Gained - Creep Reduction Table

% that the XP gained is reduced to when the hero kills a creep, as opposed to a regular unit. So if the hero is level 1, instead of 100xp he would get 80. If the hero is level 2, 60, etc. 0 XP is given to level 5 heroes creeping.

Quote:
Hero XP Gained - Hero, Constant Factor
Hero XP Gained - Hero, Level Factor
Hero XP Gained - Hero, Previous Level Factor
Hero XP Gained - Hero, Table

This is how much XP heroes gain from other heroes, based on the dying heroes level. The "Hero, Table" field overrides all others, but if there is no value in the Table the formula is:

(Previous Level XP) * (Previous Level Factor) + (Constant Factor) + (Level Factor) * (Dying Hero Level)

So it goes 100, 120, 160, 220, 300, 400, 500, 600, etc

Quote:
Hero XP Gained - Normal, Constant Factor
Hero XP Gained - Normal, Level Factor
Hero XP Gained - Normal, Previous Level Factor
Hero XP Gained - Normal, Table

Same as above, but for when normal units are killed. Remember that the first value of the Table must be filled in, as the formula depends on the previous level's XP (I forget what the term for that is).

Quote:
Hero XP Gained - Summoned Unit Factor

The fraction of XP given when summoned units are killed. Duh =P.


Quote:
Hero XP Gained - Tier 1 Bonus Factors
....
Hero XP Gained - Tier 9 Bonus Factors

I'm unsure about this one. You probably don't need it anyways.

Quote:
Hero XP Required - Constant Factor
Hero XP Required - Level Factor
Hero XP Required - Previous Level Factor
Hero XP Required - Table

Same as before, but this is how much XP is required per level (duh). Table overrides all.

http://www.battle.net/war3/basics/heroes.shtml
10-23-2007, 05:24 PM#3
cohadar
very nice reply.
+rep for you.
10-23-2007, 07:32 PM#4
vesuvan doppleganger
This information is going to help me greatly in adjusting the gameflow in my mods. +1.