Changed stat bonus calculation.
This commit is contained in:
		| @@ -385,6 +385,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -385,6 +385,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -385,6 +385,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -386,6 +386,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -389,6 +389,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -392,6 +392,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -392,6 +392,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -383,6 +383,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -383,6 +383,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -386,6 +386,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
| @@ -389,6 +389,6 @@ public enum Stats | ||||
| 	{ | ||||
| 		final double mul = creature.getStat().getMul(stat); | ||||
| 		final double add = creature.getStat().getAdd(stat); | ||||
| 		return mul * (baseValue + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType())); | ||||
| 		return (mul * baseValue) + add + creature.getStat().getMoveTypeValue(stat, creature.getMoveType()); | ||||
| 	} | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment