So I noticed that you cant get rewarded for legendary artifacts in servuo like you can in regular uo.
I tried making my own code to see if I could get points from armor but there is no way I have no idea what I'm doing.
Basically something needs to be done like this for power scrolls but for armor, jewelry, weapons but based on itempower. So legendary artifacts give the most points.
Could anyone make me a code to get it to work for armors and then I could change it to make it work on jewelry and weapons?
I tried making my own code to see if I could get points from armor but there is no way I have no idea what I'm doing.
Basically something needs to be done like this for power scrolls but for armor, jewelry, weapons but based on itempower. So legendary artifacts give the most points.
C#:
else if (item is PowerScroll)
{
PowerScroll ps = (PowerScroll)item;
if (ps.Value == 105)
points = 50;
else if (ps.Value == 110)
points = 100;
else if (ps.Value == 115)
points = 500;
else if (ps.Value == 120)
points = 2500;
}
Could anyone make me a code to get it to work for armors and then I could change it to make it work on jewelry and weapons?