Jump to content
Dante Unbound: Share Bug Reports and Feedback Here! ×
  • 0

Most Efficient Way To Rank Up


xvalen214x
 Share

Question

As the old one I've found is just being non functional,

and I know some of the formula about mod power from wiki,

let's us make it again!

 

from the formula, we can know that in order to rank up a rare0 to rare3,

using 2 rare5 fc, 1 uncommon5 fc, 1 common1 fc is better than using 3 rare5 fc.

 

I can only provide the code for now as I'm tired to do the GUI stuff.

It would be appreciate if anyone can also do this for all of us.

 
All the R and r below represent rarity (1:common, 2:uncommon, 3: rare)and rank respectively.

Here's the formula:

Energy Given by a Mod = 2 x R x (2 + r)Energy Given:same mods: 100%cores: 50%same polarity: 50%different polarity: 25% Energy given by common fusion core = 4 + 2.6 rEnergy given by uncommon fusion core = 8 + 6 rEnergy given by rare fusion core = 12 + 10 rEnergy required per rank to rank up = 4 R (2^r) common mods fusion cost: 300 + 150 r, r: rankuncommon mods fusion cost: 600 + 300 r, r: rankrare mods fusion cost: 900 + 450 r, r: rank example:I want to rank up a unrank rare to rare 5.energy required to rare5= 4 * 3 * (2^0 + 2^1 + 2^2 + 2^3 + 2^4) = 372there4, rare5 fc required = 372 / ((12 + 10*5) * 50%) = 12and exactly 12 rare5 fc needed.credits = (900 + 450 * 5) * 12 = 37800
 
62 * 0.5 * 2 + 38 * 0.5 + 6.6 * 0.5 > 84
2 rare5, 1 uncommon5, 1 common1 @ 9 150
 

Javascript function:

function getModPower(rarity, rank){    return (2 * rarity * (2 + rank));}function getFCModPower(rarity, rank){    return (12 + 10*rank - 4*(rank+1)*(3-rarity) + (rarity == 1 ? 0.6*rank : 0));}function getEnergyRequired(rarity, fromRank, toRank){    return (4 * rarity * (2 ^ toRank - 2 ^ fromRank));}function getCredits(rarity, rank){    return (rarity == 1 ? 300 + 150 * rank :            rarity == 2 ? 600 + 300 * rank : 900 + 450 * rank);}

Java code:

//make the class yourselfpublic enum Rarity{    common(1), uncommon(2), rare(3);    public final int value;    Rarity(int value){        this.value = value;    }}public static double getModPower(Rarity rarity, int rank){    return (2 * rarity.value * (2 + rank));}

Python code:

Edited by xvalen214x
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...