You can use this to check for dbmarket for a rare item and then revert to the regionmarketavg if it cannot find dbmarket. First()įirst will simply return the first valid price source. This will return the largest of the two sources and is useful in flipping operations to ensure that you never post your items for less than you bought them for. A simple examples i 120%max(avgbuy,dbmarket). Min and max are both useful in pricing strings where you want to compare two sources. This will return the minimum value of crafting or dbmarket. To use it you simply type min(crafting,dbmarket) for instance. Min and max will return either the minimum or maximum value. These can be used to find the minimum of two values, the maximum, to round a number or to compare numbers to see which is higher, just to list a few.īelow is a list of all the logic functions that are documented on the TSM website.Īs you can see the list is quite long, but luckily we can group them up as a lot of them have similar functionality. TSM also has a nice number of logic functions. So for prospecting we would multiply the chance of each gem per ore for each of the gems and then add them all together. To use it for this you would simply make an easy formula for expected value by multiplying the chance of one of the outcomes with the yields. This is very useful, particularly for making pricing strings for BoE materials, as well as making strings that evaluate the expected value of processes with random outcomes such as disenchanting and prospecting. ItemIDs can be found by looking up the item on wowhead, and it will be the number in the web address. To do this you just add a parenthesis after the name of the value source and then write “i:” followed by the itemID of the item you want to refer to. I showed this one a bit earlier in my last post in this guide. For instance 120% crafting as minimum, 200% crafting as normal and 500% crafting as maximum. You will also usually want to use this to get different multiples of the same price string for your minimum, normal and maximum prices. The most frequent way you want to use this is of course to simply add the cost of two different pricing sources together. You can use arithmetic to combine various price sources or to modify a value source with another value source. Obviously you will be familiar with percentages as most of my operations use various percentages such as 120% crafting which evaluates to 1.2*crafting. Basic mathematicsĪll of your pricing operations can use simple arithmetic like addition, subtraction, multiplication and division. ![]() ![]() We will go through all of this in a bit of detail and then show some cool examples of useful and well known strings and go through why they are the way they are. Pricing strings support refering to the value source for a specific item, simple mathematical functions and logic functions like ifgte() and round(). ![]() Pricing string functionality rundownįirsst we will take a quick rundown of the functionality you can use. We will look at how you can combine value sources and the logic functions to make very powerful pricing sources. Following on my introduction to custom prices last week we will now take a deeper look at how powerful the pricing string functionality in TSM is.
0 Comments
Leave a Reply. |
Details
AuthorGrady ArchivesCategories |