Lemke

Member
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!
 
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 { } }
 
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 { } }
thank you
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 134 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 86 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 79 Online
    • 190 Peak
  • Insane UO
    Endless Journey
    • Players
    • 77 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 27 Online
    • 85 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 22 Online
    • 48 Peak
  • Arth
    Custom (Modern)
    • Players
    • 22 Online
    • 34 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 21 Online
    • 172 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 17 Online
    • 30 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 17 Online
    • 32 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back