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.

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?
 
Try doing it based on Artifact Rating, unless you'd rather get more advanced with it based on any of the other many stats you could roll on armor/weapon then it would be completely based on how good the rolls were on the item itself.
 
Back