- Lords are now taken into account in AI statistics. (To display information, uncomment RENDER_AI_STATS in config.h)
- fixed a potential segfault with NoFizzle
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-12-03 02:05:03 +00:00
parent 88d771b3be
commit ea3ed7061f
8 changed files with 66 additions and 2 deletions

View File

@@ -3,7 +3,11 @@
#define STATS_PLAYER_MULTIPLIER 15
#define STATS_CREATURE_MULTIPLIER 10
#define STATS_AURA_MULTIPLIER 9
//floats
#define STATS_AURA_MULTIPLIER 0.9
#define STATS_LORD_MULTIPLIER 0.5
#include <list>
#include <string>
using std::list;
@@ -38,6 +42,7 @@ class AIStats{
bool isInTop(MTGCardInstance * card, unsigned int max, bool tooSmallCountsForTrue = true );
void updateStatsCard(MTGCardInstance * cardInstance, Damage * damage, float multiplier = 1.0);
int receiveEvent(WEvent * event);
void Render();
};
#endif