Your skill in.. has increased

TheDoc

Well-Known Member
Jun 16, 2014
203
30
43
Atlanta, Georgia
Shard Name
MAGA
Donate
Donate money to this user
Does anyone have any idea what script posts the "Your skill in.. has increased" messages or is it in the server source? I've searched for a long time and Windows search is crap most of the time. I thought it would be in skillcheck.cs.
 

Quasar

Well-Known Member
Oct 26, 2018
127
10
Does anyone have any idea what script posts the "Your skill in.. has increased" messages or is it in the server source? I've searched for a long time and Windows search is crap most of the time. I thought it would be in skillcheck.cs.
I found a script containing the following
public override void OnAdded( object parent )
{
base.OnAdded( parent );
if( parent is Mobile )
{
Mobile from = (Mobile)parent;
from.Skills.Alchemy.Base += 20;
from.Skills.Musicianship.Base += 60;
from.Skills.Peacemaking.Base += 60;
from.Skills.AnimalTaming.Base += 50;
from.Skills.AnimalLore.Base += 60;
from.Skills.Discordance.Base += 50;
from.Skills.Provocation.Base += 50;
}
}
public override void OnRemoved( object parent )
{
base.OnRemoved( parent );
if( parent is Mobile )
{
Mobile from = (Mobile)parent;
from.Skills.Alchemy.Base -= 20;
from.Skills.Musicianship.Base -= 60;
from.Skills.Peacemaking.Base -= 60;
from.Skills.AnimalTaming.Base -= 50;
from.Skills.AnimalLore.Base -= 60;
from.Skills.Discordance.Base -= 50;
from.Skills.Provocation.Base -= 50;
}
and when i equip or unequip the item i get the message indicating skills going up and down so I am guessing it is in the client. However when i hover over the item it does not indicate that any skills will change.