π Pet Levels Closer to Prod Tutorial [Fabiano Source]
So I haven't seen anywhere on the forums where anybody has tried to edit the pet's heal and magic heal per levels. I haven't gotten it quite down where they gain the stats per levels but I made it so that the max level is the max hp for that level. If I'm confusing you I mean, level 70 rare pet, 40 heal instead of 69 now and so forth. Uncommon max is 23 heal, 8 magic heal. You get the point. This is only for players who want it to be more like the prod leveling system. I didn't have a problem with the one Ossimc had but I just wanted to mess with it. The only thing is that the divine pets say they heal 69 and magic heal 33 but they just do it at a faster rate. I couldn't figure out how to make the divine 90, 45 yet at level 100.
Here is the code for the hp:
(replace this code with the code that looks similar in wServer>logic>behaviors>PetBehaviors>PetHealHp.cs)
And replace this code in the bottom of the file PetHealMp.cs:
If anyone needs any further help or instructions installing this code please just let me know. Thanks all and I hope you enjoyed this if you needed or wanted it. 
Here is the code for the hp:
(replace this code with the code that looks similar in wServer>logic>behaviors>PetBehaviors>PetHealHp.cs)
Code:
private int CalculateHeal(int level, ref int cooldown)
{
if (Enumerable.Range(0, 30).Contains(level))
{
cooldown = 6000;
return 10;
}
if (Enumerable.Range(30, 20).Contains(level))
{
cooldown = 5000;
return 13;
}
if (Enumerable.Range(50, 20).Contains(level))
{
cooldown = 4000;
return 23;
}
if (Enumerable.Range(70, 20).Contains(level))
{
cooldown = 3000;
return 40;
}
if (!Enumerable.Range(90, 11).Contains(level)) throw new Exception("Invalid PetLevel");
{
cooldown = 1500;
return 69;
}
if (!Enumerable.Range(100, 11).Contains(level)) throw new Exception("Invalid PetLevel");
cooldown = 500;
return 90;
Code:
private int CalculateMagicHeal(int level, ref int cooldown)
{
if (Enumerable.Range(0, 30).Contains(level))
{
cooldown = 6000;
return 1;
}
else if (Enumerable.Range(30, 20).Contains(level))
{
cooldown = 5000;
return 3;
}
else if (Enumerable.Range(50, 20).Contains(level))
{
cooldown = 4000;
return 8;
}
else if (Enumerable.Range(70, 20).Contains(level))
{
cooldown = 3000;
return 17;
}
else if (Enumerable.Range(90, 11).Contains(level))
{
cooldown = 1500;
return 33;
}
else if (Enumerable.Range(100, 1).Contains(level))
{
cooldown = 500;
return 45;
}
throw new Exception("Invalid PetLevel");


