purplenine

Citizen
ServUO Version
Publish 57
Ultima Expansion
Endless Journey
Hello~

Does anyone know what is the command to get a primer on a skill mastery?
For example, if I want to have a primer on animal taming mastery,
the command would be : [addtopack ~~~?

Thank you!
 
Last edited:

Visam

Squire
If you look in SkillMasteryPrimer.cs you'll find the following section:
C#:
        [Constructable]
        public SkillMasteryPrimer(SkillName skill, int volume) : base(7714)

From this you can see that to create one you need SkillName and Int Volume. Volume's for Skill Mastery Primers are 1-3

Example to make one using addtopack:
[addtopack SkillMasteryPrimer Wrestling 3

The same basic principals work for most items that require more info find the [Constructable] and you can usually figure out the rest.
 

Visam

Squire
from what's in the text it looks like your using a different version than what purplenine is using try it like this:
[addtopack SkillMasteryPrimer 3 Wrestling

If that doesn't work post your SkillMasteryPrimer.cs and I'll take a look at it.
 

Visam

Squire
try this:
[addtopack SkillMasteryPrimer 2 Wrestling

and if that doesn't work post your MasteryInfo.cs
 

Candy Apple

Citizen
Ok did [addtopack SkillMasteryPrimer 2 Wrestling and got the same error as above.
 

Attachments

  • MasteryInfo.cs
    23.7 KB · Views: 2

Visam

Squire
Sorry, after looking through the masteryinfo I'm still not sure why it isn't working. Do they drop properly from champs?