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.
 
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.
 
Back