Soooo I know I could have done this completely different but basically what I did was take hp heal and mp heal data from prod (easily accessible online) then plug the tables into a regression analyzer to get equations that best fit the graph. Make sure you don't put your pet's levels above 100 or below 0 (create an if statement if you want just in case). The numbers are not exactly right but it is 1 step closer to prod.
First go to PetHealHP.cs and find the function
Code:
private int CalculateHeal(int level, ref int cooldown)
now just replace the entire function with
Code:
private int CalculateHeal(int level, ref int cooldown)
{
double cd = 10.911 + (-2.109 * Math.Log(level));
double hp = 7.300 * Math.Pow(1.0246, level);
cooldown = (int)(cd*1000);
return (int)hp;
}
Next go to PetHealMP.cs and find the same function and replace it with
Code:
private int CalculateMagicHeal(int level, ref int cooldown)
{
double cd = 10.911 + (-2.109 * Math.Log(level));
double mp = 2.61 - (.1963 * level) + (0.005968 * Math.Pow(level, 2));
cooldown = (int)(cd * 1000);
return (int)mp;
}