public int grow(EXP gotEXP) { exp.p += gotEXP.p; int lvup = 0; while (gotEXP.p >= nextLVEXP.c) { gotEXP.p -= nextLVEXP.c; nextLVEXP.grow(); lvup++; } this.p += lvup; return(lvup); }
public LVparty(float v) : base(v) { nextLVEXP = new ParamVariable(100, growparam.rate.mult1000By100Lv); exp = new EXP(0); }