Forums-->Queries and help-->
Author | Artifact cost formula without repair and with repair |
I have a question that I need someone to validate for me, if possible.
In the Market, when you list an Artifact by 'Price per Battle', it lists the arts by dividing the Market Price by Durability, without taking into account any repairs, so:
Price per Battle (w/o repairs) = Market Price / Durability
Meanwhile, if taking into account the repairs, I made some calculations and came up with this formula, which I believe to be correct, but I would like someone to validate, if possible:
Price per Battle (w/ repairs) = (MP + (RC * NR)) / TUD
Where:
MP = Market Price
RC = Repair Cost
NR = Number of Repairs = Durability - Durability after last chosen or possible repair (e.g. 52 - 15)
TUD = Total Usable Durability
The TUD is then calculated using:
TUD = X + (X * RE) + ( (X *RE) * RE) + ....
Where:
X = Initial Durability
RE = Repair Efficiency
Up until the last chosen or possible repair.
I don't know if it makes sense, but I'll provide an example below:
Initial Durability = 53
Last Durability = 20
Market Price = 45000
Repair Cost = 16000
Repair Efficiency = 90% = 0.9
Price per battle (w/ repairs) = (45000 + (16000 * (53 - 20))) / (53 + 52*0.9 + 51*0.9 + 50*0.9 + ... + 20*0.9) | Sorry, the TUD formula is supposed to be like this:
TUD = X + (X*RE) + ((X-1)*RE) + ((X-2)*RE) + ((X-2)*RE) + ... + ((X-LD)*RE)
Where:
TUD = Total Usable Durability
X = Initial Durability
LD = Last Durability
RE = Repair Efficiency | You need to round down the durability, so first repair it would be rounddown(53*0.9) | Yeah, you're right, I've taken it into consideration, but it seems I've missed to mention it.
But with that in mind, is the formula correct? | Looks right to me. You can express TUD more completely as:
TUD = sum(i=0 to NR) floor(X*RE^i)
I don't understand where the -1, -2, etc comes from in your revised formula. | It comes from after the repair. So, at first the durability is 53, then after the repair the max durability is 52, but the usable durability is somewhere around 48 or 47. But the 52 is used for the next calculation to max durability 51, and so on | I see that makes sense
TUD = X + sum(i=1 to NR) floor((X-i-1)*RE) | Think of a way to find out NR or LD, and you're good | math people show off topic |
This topic is long since last update and considered obsolete for further discussions. Back to topics list
|