Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public LVparty(float v) : base(v)
 {
     nextLVEXP = new ParamVariable(100, growparam.rate.mult1000By100Lv);
     exp       = new EXP(0);
 }