1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Pets MaxLoyalty (always happy).

Discussion in 'Script Support' started by Lemke, Mar 30, 2018.

  1. Lemke

    Lemke New Member

    Sep 26, 2015
    Likes Received:
    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!
  2. PyrO

    PyrO Well-Known Member

    Jan 27, 2015
    Likes Received:
    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 (C#):
    1. public int Loyalty { get { return m_Loyalty; } set { m_Loyalty = Math.Min(Math.Max(value, 0), MaxLoyalty); } }
    Code (C#):
    1. public int Loyalty { get { return MaxLoyalty; } set { } }
    • Agree Agree x 1
Similar Threads: Pets MaxLoyalty
Forum Title Date
General Discussion Pets are not permitted in this location Feb 18, 2019
Archived Bug Reports Heat of Battle - two player pets bugs Dec 23, 2018
General Discussion Changing max Gen on pets and evos Nov 19, 2018
Archived Bug Reports Noble Sacrifice on Pets causes inconsistent state Oct 29, 2018
Archived Bug Reports Pets attacking each other in fel Oct 18, 2018
Archived Bug Reports pets without storage have bag icon (EC) Oct 11, 2018
Archived Bug Reports PetStyle1,2,3 Oct 3, 2018