View Single Post
Old 08-07-2008, 07:01 PM   #5 (permalink)
Tassyon T
Forum Novice
 
Tassyon T's Avatar
 
Join Date: Sep 2007
Posts: 367
Default

Quote:
Originally Posted by Firecult View Post
Ok so how do I disable paralyze field and energy field spells? whenever I mess with the script I get hundred's of errors
if possible can you also tell me how to make 100 skill = 120 skill (as in if you have GM you have the equivilent of Legendary)
and where I can find the faction robe script....
I know it's alot to ask but any help would be apreciated thanks.
To make everyone with skill over 100 have 120 skill and be legendary in that skill, open up loginstats.cs

Under...
Code:
		private static void EventSink_Login( LoginEventArgs args )
		{
			int userCount = NetState.Instances.Count;
			int itemCount = World.Items.Count;
			int mobileCount = World.Mobiles.Count;

			Mobile m = args.Mobile;
Immediately after that add...
Code:
if (m.Skills.Magery.Base >= 100)
{
   m.Skills.Magery.Base = 120;
   m.Skills.Magery.Cap = 120;
}
You'll need to copy/paste that several times for all the skills for which you want this to apply, changing the name of the skill.. i.e.

Code:
if (m.Skills.Swords.Base >= 100)
{
   m.Skills.Swords.Base = 120;
   m.Skills.Swords.Cap = 120;
}
and so on.

Be forewarned, however, that this may allow some players to inadvertantly get over their total skillcap (sum of all skills) by up to 20.0 points.

Last edited by Tassyon T; 08-07-2008 at 07:04 PM.
Tassyon T is offline   Reply With Quote