Adding armor, jewelry, weapons to clean up britania points system

ParanoiaPhD

Well-Known Member
May 2, 2019
120
13
32
California
www.iceyou.org
Shard Name
Central USA
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?
 

bojangles2872

Well-Known Member
Jul 29, 2018
74
8
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.
 
  • Like
Reactions: ParanoiaPhD