Fixed a bug on deck choosing menu when an AI deck has no avatar image (it will be used "baka.jpg"), added new default avatar images for AI decks (up to 200), fixed "_PROLIFERATE_" macro and fixed all primitives with "proliferate" ability, improved the "proliferation" keyword for target chooser in order to avoid targeting permanents or players without counters and/or with some protections (e.g. hexproof, shroud and similar).
This commit is contained in:
@@ -4292,7 +4292,7 @@ AIPlayerBaka::AIPlayerBaka(GameObserver *observer, string file, string fileSmall
|
||||
{
|
||||
avatarFile = "avatar";
|
||||
char buffer[3];
|
||||
sprintf(buffer, "%i", int(observer->getRandomGenerator()->random()%100));
|
||||
sprintf(buffer, "%i", int(observer->getRandomGenerator()->random()%200));
|
||||
avatarFile.append(buffer);
|
||||
avatarFile.append(".jpg");
|
||||
if(!loadAvatar(avatarFile, "bakaAvatar"))
|
||||
|
||||
Reference in New Issue
Block a user