Not A Bug Trashing Legendary items giving wrong CuB points?

DewCono

Apprentice II
Code:
               else if (item is BaseArmor)
                {
                    BaseArmor ba = (BaseArmor)item;

                    if (ba.ItemPower == ItemPower.Minor)
                        points = 2;
                    else if (ba.ItemPower == ItemPower.Lesser)
                        points = 5;
                    else if (ba.ItemPower == ItemPower.Greater)
                        points = 10;
                    else if (ba.ItemPower == ItemPower.Major)
                        points = 15;           
                    else if (ba.ItemPower == ItemPower.LesserArtifact)
                        points = 30;
                    else if (ba.ItemPower == ItemPower.GreaterArtifact)
                        points = 50;
                    else if (ba.ItemPower == ItemPower.MajorArtifact)
                        points = 250;
                    else if (ba.ItemPower == ItemPower.LegendaryArtifact)
                        points = 500;
                }

This is the code from the Clean up Brit post in Shard Info.
I trashed a legendary bear mask a minute ago and this is what I received.
1940
 

Dan

Staff Member
Administrator
Game Master
I need to update that then sorry.

The code was updated a little while back by Dexter to match UO. It now counts the intensity (imbue weight) where before I just had a set value because I did not know one way or another.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
3 hours
Players Online
13
Houses
875
Vendors
282
Gold
5,400,712,454gp
Top Bottom