101102103104105106107108109110111
env.skill = skill; env.value = init; env.baseValue = init; // Launch the calculation c.calc(env); // avoid some troubles with negative stats (some stats should never be // negative) if(env.value <= 0) { switch(stat)