ORPY

Member
ServUO Version
Publish 58
Ultima Expansion
Endless Journey
Hi guys,

Who can help with pointing me in the right direction to increase a players skill to 100 after completing a quest. Not sure how to fit the below in the reward line.

C#:
if (from.SkillsTotal >= from.SkillsCap )
 newValue == 0;
else
 newValue == (100 - from.Skills[Swords.Skill].Base);
from.Skills[Swords.Skill].Base += newValue;

this.AddReward(new BaseReward(typeof(???????
 
Last edited:
Instead of trying to make the quest do it, give them an item that does it, like an SoT modified to give 100 skill points.
Use that, but instead of a PS, add an SoT with 100 skill points
 

Attachments

  • ScrollBoxCook.cs
    2.4 KB · Views: 6
Hi guys,

Who can help with pointing me in the right direction to increase a players skill to 100 after completing a quest. Not sure how to fit the below in the reward line.

C#:
if (from.SkillsTotal >= from.SkillsCap )
 newValue == 0;
else
 newValue == (100 - from.Skills[Swords.Skill].Base);
from.Skills[Swords.Skill].Base += newValue;

this.AddReward(new BaseReward(typeof(???????

MondainsLegacyQuests cant do this

You need to try other task systems
 
Olorin has a point: items are the easiest way.

Also just setting the skill base at 100 is ok, except, of course, if you need the diff for any reason!
 
How can I change the name of the item so it will display on the NPC gump with a player is reading it? 1696248029135.png
 
AddReward( new BaseReward( typeof(SoTChivalry), 1, "Chivalry SOT"));

you can change the wording in " " this is the text to be displayed
and remove the 1077727
 

Active Shards

Donations

Total amount
$80.00
Goal
$1,000.00
Back