About the game
News
Sign in
Register
Top Players
Forum
6:04
1723
 online
Authorization required
You are not logged in
   Forums-->Queries and help-->

AuthorCPB
How to calculate CPB of seasonal and enchanted artifacts?
buy adding up how much it costs to buy the art/ elements?
buy adding up how much it costs to buy the art/ elements?

I didn't ask for total cost of artifact...What i want to know is how to calculate cost per battle of Seasonal and enchanted artifact
Total cost of artifact determines how much you should expect to get per battle to make a profit/not lose money in the end. Otherwise you're better off leasing it and letting others lose money in the process.
(Total cost of season art + elements cost to enchant - enchanters rollback) / total uses expected from enchanted art
I didn't ask for total cost of artifact...What i want to know is how to calculate cost per battle of Seasonal and enchanted artifact

yeah CPB - cost per battle, so get the cost as described and divide by number of battles? If you are getting repaired at that in too
CBP=Total battles/Total cost

Total Battles= uses at start+SUM(durability*repair eff)

Total cost= Initial cost + SUM(repair cost)-any selling value

Key is how many times it is repaired and on efficiency of smiths
You can also use various calculators or sites, I use witchhammer-
http://www.witchhammer.ru/viewpage.php?page_id=19
Let's take an example of 'Sword of might [I10E10A10W10F10]' [80/80]

Cost of artifact - 9981
Cost of enchants - 481,850 (approx)
Total cost of enchanted artifact - 491831

So basically for normal shop artifact the CPB formula should be Total cost of artifact/ Number of durability

But in this case the CPB comes out to be around 6148 but in our clan depo the price of same artifact is around 420. The reason for that is repairing cost remains the same even after enchanting a particular artifact. I just wanted to know more about the calculation part of that 420 CPB.
You can also use various calculators or sites, I use witchhammer-
http://www.witchhammer.ru/viewpage.php?page_id=19


Thanks a lot for the link...That will help me a lot :)
Total cost of artifact/ Number of durability

Here, the total number of uses are 2608 and not just 80, and the cpb is 383 gold(witchhammer)
that is the cpb after repairing 52 times, could send you a google sheet link on how its calculated?
the total number of uses are 2608 and not just 80,

If you're going to enchant it you might as well get a 100 dura one...

Personnaly I use an excel file where I input a lease price, then I compare how much gold I get each time dura goes to 0 and compare to repair price, this tells me when I should discard it. Then I sum up the profits until discarding, comparing it to the initial cost will tell if cost per battle is too high or too low.

I guess someone better at maths can come up with a more direct approach but that works for me at least.
et's take an example of 'Sword of might [I10E10A10W10F10]' [80/80]

I will try to help with the logic of how to calculate. Lets say you use it enough to break it 2 times and then have it repair by a friendly smith at 90% efficiency. How many battles you have use it?

starting uses 80
first repair 80*0.9=72
second repair 79*0.9=71 (it is rounded down to closest integer)
Total battles used=223

How much it has cost?
initial price: 491831
first repair: 9775
second repair: 9775
Total cost= 511381
CPB= 511381/223 = 2293.18

If you calculte for breaking one more time you will see CPB decrease. There is point that the artifact is broken so much that futher repairing increase CPB and that is the optimal CPB, that is how the price for the art is calculated.
It is easy to calculate it in excel.
Base cost = art cost + enchant cost = B
Init durability = D
Repair cost = R
Repair efficiency is assumed to be 90%

Given repair x times, the CPB function f(x) will be
f(x) = (B + Rx) / (D + 0.45x(2D - x + 1))
= (B + Rx) / (D + (0.9D - 0.45)x - 0.45x^2)

To estimate minimum f(x), we need to maximize 1/f(x)
1 / f(x) = (-0.45x^2 + (0.9D - 0.45)x + D)/(B + Rx)
= -0.45x^2/(B + Rx) + (0.9D - 0.45)x/(B + Rx) + D/(B + Rx)

Then, if we differentiate it, we get d(1/f(x)) = (9Rx^2 + 18Bx + 20DR - 18BD + 9B) / (20R^2x^2 + 40BRx + 20B^2)

To maximize 1/f(x) will be simply to let this formula equal zero.
9Rx^2 + 18Bx + 20DR - 18BD + 9B = 0
x=(sqrt((-20DR^2)+(18BD-9B)R+9B^2)-3B)/3R

Let's take an example of 'Sword of might [I10E10A10W10F10]' [80/80]
B = 491831
D = 80
R = 9482

x = 51.86 -> 52

CPB = f(x) = 374.39
Solved :D

Impressive
Notably, this formulaic CPB is kind of below the actual cost, because for each repair, the durability is timed 0.9 and always ROUNDED DOWN, lowering the actual usable times.

I suggest you take this formula and increase it by 2.25%.
http://trial.6te.net/Calculators/cpbCalculator.html
You could use this if you get tired of reading russian language xD
Thanks everyone...That made things much clearer
QATC
closed by Expert_BOT (2018-07-06 21:39:41)
Back to topics list
2008-2024, online games LordsWM