v0.3.1: ethereal chains now properly cap at level 10

This commit is contained in:
Evan Debenham 2015-08-09 03:14:07 -04:00 committed by Evan Debenham
parent 9fce7586c9
commit e033cfb4d9

View File

@ -231,7 +231,7 @@ public class EtherealChains extends Artifact {
exp += Math.round(levelPortion*100);
partialCharge += levelPortion*10f;
if (exp > 100+level*50){
if (exp > 100+level*50 && level < levelCap){
exp -= 100+level*50;
GLog.p("Your chains grow stronger!");
upgrade();