Exemple #1
0
 public void modifStatByInvocator(Fighter caster) {
   int coef = (1 + (caster.get_lvl()) / 100);
   PDV = (PDVMAX) * coef;
   PDVMAX = PDV;
   int force = stats.get(Constants.STATS_ADD_FORC) * coef;
   int intel = stats.get(Constants.STATS_ADD_INTE) * coef;
   int agili = stats.get(Constants.STATS_ADD_AGIL) * coef;
   int sages = stats.get(Constants.STATS_ADD_SAGE) * coef;
   int chanc = stats.get(Constants.STATS_ADD_CHAN) * coef;
   stats.put(Constants.STATS_ADD_FORC, force);
   stats.put(Constants.STATS_ADD_INTE, intel);
   stats.put(Constants.STATS_ADD_AGIL, agili);
   stats.put(Constants.STATS_ADD_SAGE, sages);
   stats.put(Constants.STATS_ADD_CHAN, chanc);
 }