v0.6.1: buffed ring of wealth
This commit is contained in:
parent
7705f24c14
commit
ce274df5b8
|
@ -59,7 +59,7 @@ public class RingOfWealth extends Ring {
|
||||||
}
|
}
|
||||||
|
|
||||||
//reset (if needed), decrement, and store counts
|
//reset (if needed), decrement, and store counts
|
||||||
if (triesToDrop <= 0) triesToDrop += Random.NormalIntRange(0, 100);
|
if (triesToDrop <= 0) triesToDrop += Random.NormalIntRange(15, 60);
|
||||||
triesToDrop -= dropProgression( target, tries );
|
triesToDrop -= dropProgression( target, tries );
|
||||||
for (Wealth w : buffs){
|
for (Wealth w : buffs){
|
||||||
w.triesToDrop(triesToDrop);
|
w.triesToDrop(triesToDrop);
|
||||||
|
@ -120,7 +120,7 @@ public class RingOfWealth extends Ring {
|
||||||
|
|
||||||
//caps at a 50% bonus
|
//caps at a 50% bonus
|
||||||
private static float dropProgression( Char target, int tries ){
|
private static float dropProgression( Char target, int tries ){
|
||||||
return tries * (float)Math.pow(1.25f, getBonus(target, Wealth.class) -1 );
|
return tries * (float)Math.pow(1.2f, getBonus(target, Wealth.class) -1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Wealth extends RingBuff {
|
public class Wealth extends RingBuff {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user