Added deity and race checking to AAs, doubled over the sanity check code and found a mistake, added code to make boats move smoother after loading into oot 50 times and seeing it skip every time.

This commit is contained in:
KimLS
2015-06-12 02:56:51 -07:00
parent afaa9ee6c9
commit e5d1e98793
5 changed files with 72 additions and 49 deletions
+5 -2
View File
@@ -27,6 +27,8 @@
#include "aa_rank_prereqs.h"
#include "aa_rank.h"
class Mob;
namespace AA
{
@@ -39,17 +41,18 @@ public:
Rank *GetMaxRank();
Rank *GetRankByLevel(int level);
Rank *GetRankByPointsSpent(int current_level);
int GetMaxLevel(bool force_calc = false);
int GetMaxLevel(Mob *who);
int id;
std::string name;
int category;
int classes;
int races;
int deities;
bool grant_only;
int type;
int charges;
int first_rank_id;
int max_level;
Rank *first;
};