Thank you!IIRC the skill you get from the NPC is based on the skill the NPC has.
if (skill != null && theirSkill != null && skill.Base >= 60.0 && m_Mobile.CheckTeach(skill.SkillName, e.Mobile))
{
double toTeach = skill.Base / 3.0;
if (toTeach > 42.0)
{
toTeach = 42.0;
}
if (skill != null && theirSkill != null && skill.Base >= 60.0 && m_Mobile.CheckTeach(skill.SkillName, e.Mobile))
{
double toTeach = skill.Base / 3.0;
toTeach = 30.0; // CUSTOM - NPC TRAIN SKILLS RATE (30%)
/* if (toTeach > 42.0)
{
toTeach = 42.0;
} */
So this makes it so that the skill the NPC has and can teach is divided by 3.if (skill != null && theirSkill != null && skill.Base >= 60.0 && m_Mobile.CheckTeach(skill.SkillName, e.Mobile))
{
double toTeach = skill.Base / 3.0;
if (toTeach > 42.0)
{
toTeach = 42.0;
}
[Constructable]
public TinkerGuildmaster()
: base("tinker")
{
SetSkill(SkillName.Lockpicking, 65.0, 88.0);
SetSkill(SkillName.Tinkering, 120.0);
SetSkill(SkillName.RemoveTrap, 85.0, 100.0);
We use essential cookies to make this site work, and optional cookies to enhance your experience.