Tintamar
Sorceror
Faster or Slower Skill Gains
Scripts\Misc
SkillCheck.cs
Around line 119:
In bold and blue you need to change that.
Using a higher number like 10 would make gains super slow.
Using a lower number like .25 would make gains super fast.
Scripts\Misc
SkillCheck.cs
Around line 119:
Code:
public static bool CheckSkill( Mobile from, Skill skill, object amObj, double chance )
{
if ( from.Skills.Cap == 0 )
return false;
bool success = ( chance >= Utility.RandomDouble() );
double gc = (double)(from.Skills.Cap - from.Skills.Total) / from.Skills.Cap;
gc += ( skill.Cap - skill.Base ) / skill.Cap;
gc /= [COLOR="Blue"][B]2[/B][/COLOR];
gc += ( 1.0 - chance ) * ( success ? 0.5 : (Core.AOS ? 0.0 : 0.2) );
gc /= [COLOR="Blue"][B]2[/B][/COLOR];
gc *= skill.Info.GainFactor;
if ( gc < 0.01 )
gc = 0.01;
if ( from is BaseCreature && ((BaseCreature)from).Controlled )
gc *= 2;
if ( from.Alive && ( ( gc >= Utility.RandomDouble() && AllowGain( from, skill, amObj ) ) || skill.Base < 10.0 ) )
Gain( from, skill );
return success;
}
In bold and blue you need to change that.
Using a higher number like 10 would make gains super slow.
Using a lower number like .25 would make gains super fast.