madpear
Legacy Supporter 5
- Joined
- Dec 15, 2012
When using /attribute add [attrib] on an attribute type that starts with a negative value, the cost is not calculated correctly.
e.g.
Ranger starts with -6 Wisdom. Instead of costing 1 point to increase the Wisdom level, it costs 2 points to increase from -6 to -5, -5 to -4, -4 to -3. Then it goes back to costing 1 point per level up intil 2 to 3 which correctly costs 2 points again.
Absolute value or signed/unsigned problem I suppose.
e.g.
Ranger starts with -6 Wisdom. Instead of costing 1 point to increase the Wisdom level, it costs 2 points to increase from -6 to -5, -5 to -4, -4 to -3. Then it goes back to costing 1 point per level up intil 2 to 3 which correctly costs 2 points again.
Absolute value or signed/unsigned problem I suppose.