From 407c48fa332233b37a3d81ee17697682e9f7275e Mon Sep 17 00:00:00 2001 From: NotAdam Date: Sat, 23 Mar 2019 23:12:41 +1100 Subject: [PATCH] fix stats breaking at level 70 due to reading past the level table --- src/world/Math/CalcStats.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/world/Math/CalcStats.cpp b/src/world/Math/CalcStats.cpp index 8d334234..3d26dd3f 100644 --- a/src/world/Math/CalcStats.cpp +++ b/src/world/Math/CalcStats.cpp @@ -13,9 +13,10 @@ using namespace Sapphire::Math; using namespace Sapphire::Entity; -const int levelTable[70][7] = +const int levelTable[71][7] = { // PIE, MP, MAIN,SUB,DIV,HP,ELMT,THREAT + { 1, 1, 1, 1, 1, 1, 1 }, { 50, 104, 20, 56, 56, 0, 52 }, { 55, 114, 21, 57, 57, 0, 54 }, { 60, 123, 22, 60, 60, 0, 56 },