Thread:ThePokegeek5000/@comment-36575600-20181008165902/@comment-31984232-20181009000246

this.earnXP=function(e){this.age=this.maxXP?(this.age<a.maxAge?(this.age++,this.XP=0,this.maxXP*=1.2):this.XP=this.maxXP,this.upgradePoints++,m.send(this.id,"16",this.upgradePoints,this.upgrAge),m.send(this.id,"15",this.XP,l.fixTo(this.maxXP,1),this.age)):m.send(this.id,"15",this.XP))},

and in a mass variable defining.

So XP per level is 300 for age 1 to 2, and each level it multiplies by 1.2, so for 2-3, it is 360