void function ( long arg0 ) { exp += arg0 ; while ( exp >= expNeeded ) { level ++ ; exp -= expNeeded ; if ( exp < 0 ) { exp = 0 ; } expNeeded = parse ( Game . db ( ) . config ( ) . expNeededFunc ) ; Game . log ( Game . db ( ) . hero ( hero ) . name + "srini_string" + level + "srini_string" + exp + "srini_string" + expNeeded ) ; } }
increments the member 's level , updating exp and needed exp concode_field_sep int maxHp concode_elem_sep int maxEp concode_elem_sep int level concode_elem_sep int hp concode_elem_sep String hero concode_elem_sep int ep concode_elem_sep ObjectMap<BaseStat,Integer> baseStats concode_elem_sep int exp concode_elem_sep int expNeeded concode_field_sep int getExpNeeded concode_elem_sep String getFunc concode_elem_sep String replaceVariables concode_elem_sep int parse concode_elem_sep int getMaxHp concode_elem_sep int getStat