Make using 'max' in /statcalc also set boosting nature

This commit is contained in:
Bär Halberkamp 2016-11-20 01:27:11 +01:00 committed by GitHub
parent 5a537ff9c5
commit b137faf5ed

View File

@ -906,6 +906,10 @@ exports.commands = {
if (!evSet) {
if (lowercase === 'invested' || lowercase === 'max') {
evSet = true;
if (lowercase === max && !natureSet) {
nature = 1.1;
natureSet = true;
}
} else if (lowercase === 'uninvested') {
ev = 0;
evSet = true;