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.
![wow tsm 4 change crafting cost wow tsm 4 change crafting cost](https://i.ytimg.com/vi/obpymQA6vx0/maxresdefault.jpg)
ItemIDs can be found by looking up the item on wowhead, and it will be the number in the web address.
![wow tsm 4 change crafting cost wow tsm 4 change crafting cost](https://www.goldgoblin.net/wp-content/uploads/2020/10/crafting-4-300x238.jpg)
![wow tsm 4 change crafting cost wow tsm 4 change crafting cost](https://www.goldgoblin.net/wp-content/uploads/2020/10/crafting-8.png)
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. If I open my crafting window and select TSM, it will show me the profit/loss for each item I can craft.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.
![wow tsm 4 change crafting cost wow tsm 4 change crafting cost](https://www.goldgoblin.net/wp-content/uploads/2020/10/bild-8.jpg)
You might have to check AH prices for several days to make a profit…if you ever do. Your goal is to buy the mats when they are cheapest, and sell the finished product when it is worth the most. USUALLY the price of mats is more than the item will sell for…if it sells at all.īut remember that both prices change, every day. If you look at all the thousands of crafting recipes in the game, MOST of them end up losing money. It is extremely common for the “AH sale price” to be lower than the “price of materials to craft it”. This happens every day, in every profession. Fair enough, until you do the crafting cost, the vendor mats alone are about half of that, then each flask and the truegold needed to make it combined on my server go for well over what the Vial would cost to make if I did the math right.