Pets MaxLoyalty (always happy).

Lemke

Gold Donator
Silver Donator
Sep 26, 2015
32
4
37
hello guys!
Just looking to get some pets always wonderfully happy,its possible?
I was looking on Basecreature.cs and see some loyalty points,but dont know how to change correclty.
Any ideas?Thank you!
 

PyrO

Well-Known Member
Jan 27, 2015
1,074
76
There are 2 ways.

First the cleaner one.
You would go through the files and look for every Loyality of creatures that get reduced. Wich you can turn into an comment or remove.

Second, faster but a little dirtier
you would go to basecreature.cs and change
Code:
public int Loyalty { get { return m_Loyalty; } set { m_Loyalty = Math.Min(Math.Max(value, 0), MaxLoyalty); } }
to
Code:
public int Loyalty { get { return MaxLoyalty; } set { } }
 
  • Like
Reactions: Lemke