1. You can either change HitsMax in Mobile.cs in the core (this would change the max Hit Points cap for all mobiles), or you can simple override the HitsMax property in PlayerMobile and allow a higher cap for players only.
2. Mobile.cs search: private static int m_MaxPlayerResistance = 70;
Can you tell me the specific needs of the HitsMax location? I am confused, hope you can list the script let me reference, thanks!1. You can either change HitsMax in Mobile.cs in the core (this would change the max Hit Points cap for all mobiles), or you can simply override the HitsMax property in PlayerMobile and allow a higher cap for players only.
2. Mobile.cs search: private static int m_MaxPlayerResistance = 70;
Can you tell me the specific needs of the HitsMax location? I am confused, hope you can list the script let me reference, thanks!
[CommandProperty(AccessLevel.GameMaster)]
public virtual int HitsMax { get { return 50 + (Str / 2); } }
Code:[CommandProperty(AccessLevel.GameMaster)] public virtual int HitsMax { get { return 50 + (Str / 2); } }
Change 50 + (Str / 2) to whatever you'd like.
Yes, I was talking about the number of followers.By "Pets carry number" I'm guessing you mean FollowersMax? That's also in Mobile.cs. You can override it in PlayerMobile if you change the declaration to virtual.
I think the other image is DCI? That version of the gump is new to me so I apologize (I use a 7.0.18.0 client). If it's DCI, then that can be altered in the CheckHit method in BaseWeapon.cs.
HitsMax { get { return 200); } }
Again, this will make all Mobiles on your shard cap at 200 (to my knowledge, though I haven't tried/tested it). You'll most certainly break gameplay by doing this if true, and I'd strongly suggest not - or at least testing it thoroughly before using it on a live server. The same goes for raising resistance caps to or over 100.
Any changes to the core files and you need to recompile it for them to take affect. There are a lot of explanations of how to do this already in existance.
Found a lot of positions, but not free to be that, it might affect stability as a whole.Search your server files for HitsMax, it's probably overridden somewhere, or there are other factors affecting it.
We use essential cookies to make this site work, and optional cookies to enhance your experience.