View Single Post
  #13  
Old 01-31-2010, 08:05 PM
dashcunning dashcunning is offline
Approved Member
 
Join Date: Jan 2010
Posts: 29
Default

After fiddling with addon_pet.lua and with the help of this post, I've come up with the following:

Code:
experience gained = (xpskill*(1+xpbonusskill+xpbonusmedal)+.017*enemykilledldr)*(1+xpbonusskill)*(herolvl/petlvl)*(enemyldr/heroldr)*herotype*.5
xpskill is experience of the dragon skill, as given in the OP (they are indeed correct)
xpbonusskill is the bonus from the training skill, 0/.2/.4/.6 for skill levels 0/1/2/3
xpbonusmedal is the bonus from the dragonslayer medal, 0/.1/.3/.5 for medal levels 0/1/2/3
enemykilledldr is the total leadership of the number of enemies killed by the skill, Ball of Lightning does NOT count for this
herolvl is the level of your hero
petlvl is the level of your pet
enemyldr is the total leadership of the enemy army at the time the skill is used
heroldr is the total leadership of your army at the time the skill is used
the leadership ratio is always 1 for the first skill use and can never be greater than 1
herotype is 1/.9/.7 for warrior/paladin/mage


A few observations:

Difficulty has nothing to directly do with experience gained, only how much you need to level. The info at the start of a new game is misleading and not even correct anyhow. It should be 200%/100%/87%/77% if you wanted to view it that way.

The training skill affects the experience twice, essentially it is a 44%/96%/156% bonus (not exactly but close enough).

The dragonslayer medal only affects the base experience of the skill and not that gained from doing damage.

Last edited by dashcunning; 01-31-2010 at 11:08 PM. Reason: formatting
Reply With Quote