SphereCommunity
Quality Function - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Quality Function (/Thread-Quality-Function)



Quality Function - pointhz - 03-09-2016 09:40 AM

Hi guys,

How does the QUALITY function works?

What matters to craft an item exceptional or not?

Tried to search for it in the wiki but got no references on how it REALLY works.

Does it get a random number someway and then each servers sets the gap in which they want the item to be exceptional? If yes, how does it get that random number? Totally random based on the item value or something?

Thanks in advance


RE: Quality Function - Khaos - 03-13-2016 11:52 PM

Well, from what I am reading in CItemBase.cpp

There is a roll of 0 - 100. It then checks resource qualities.

Then it rolls this against the Skill of use (Who needs to meet skillmake min).

If the roll is less than the Skill of user (without checking more, I am assuming it is doing a different from user skill and skillmake), then it is of shoddy quality.

But higher rolls make it better quality and make it worth more as a vendable item.

So the higher the Quality, the more it is worth it seems? Need to look more, but that is what I am gathering from what I am viewing at the moment.

Basically, it is like old UO:R code and not up to date with current EA exceptional quality code. Might want to soft code what you want it to do?


RE: Quality Function - pointhz - 03-14-2016 07:43 AM

Thanks for your answer and time Khaos, really appreciated.

I don't want/need to code it, at least for now, just wanted to know how it worked, thanks Tongue

If I understood correctly, then although it is kind of random, the higher your skill the better right?

Higher blacksmith -> Higher chance of higher roll


RE: Quality Function - Khaos - 03-14-2016 01:32 PM

Yes, that is the idea. Like if you have Blacksmithing of 100.0 and the SkillMake is 50.0; you will always get the high roll. But if you had 50.0 Blacksmithing, you are going to get a Low roll in the curve.

You're super welcome by the way! Just trying to help!!!