View Single Post
Old 05-31-2004, 06:58 PM   #7 (permalink)
LordHogFred
Forum Expert
 
LordHogFred's Avatar
 
Join Date: Jan 2004
Location: UK, Essex
Age: 20
Posts: 1,166
Default

Hey thanks man

Ok I will add how to change power and drop rates

To change power of the enhancements go to the "Socket Gems" folder and then go to the folder of the gem you want to change ie; Amethyst. Then select which type of Amethyst you want to change ie; ChippedAmethyst.

Then in the script you will find lines like these:

Code:
			                  Weapon.UsedSockets += 1;
			                  Weapon.Attributes.WeaponDamage += 8;
						Weapon.Hue = 316;
The line(s) in between the UsedSockets and the Hue are the ones that apply the different attributes.

If you want to change an items enhancement on Armor scroll down till you find:

Code:
			                  Armor.UsedSockets += 1;
			                  Armor.Attributes.BonusStr += 3;
						Armor.Hue = 316;
Again the lines between UsedSockets and Hue are the ones that apply the bonuses.

Shield is the same again except these are the lines needed:

Code:
			                  Shield.UsedSockets += 1;
			                  Shield.Attributes.DefendChance += 8;
						Shield.Hue = 316;

Ok I hope that helps with how to change the bonuses on a gem.


Now to change the drop rates go to BaseCreature.cs and find these lines:

Code:
		private int m_WeaponSocketRoll = Utility.Random( 50 );
		private int m_ArmorSocketRoll = Utility.Random( 50 );
		private int m_ShieldSocketRoll = Utility.Random( 50 );
Just change the 50 to a lower number to increase the drop rate or make it a higher number to decrease the drop rate.

The same goes for the Socket Gems except you use these lines:

Code:
		private int m_ChippedSocketGemRoll = Utility.Random( 20 );
		private int m_FlawedSocketGemRoll = Utility.Random( 40 );
		private int m_PlainSocketGemRoll = Utility.Random( 80 );
		private int m_FlawlessSocketGemRoll = Utility.Random( 150 );
		private int m_PerfectSocketGemRoll = Utility.Random( 200 );
DO NOT touch the other lines near these as it will probably screw everything up

I hope that explains everything, just say if I've missed anythin out
__________________
It is not the hand that creates worlds,
It is the mind controlling it !

The New Dawn Network
LordHogFred is offline   Reply With Quote