forked from andor9/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathtyrant.cpp
69 lines (51 loc) · 2.09 KB
/
tyrant.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#include "tyrant.h"
#include <string>
const std::string faction_names[Faction::num_factions] =
{ "", "imperial", "raider", "bloodthirsty", "xeno", "righteous", "progenitor" };
const std::string skill_names[Skill::num_skills] =
{
// Placeholder for no-skill:
"<Error>",
// Activation (harmful):
"Enfeeble", "Jam", "Mortar", "Siege", "Strike", "Sunder", "Weaken",
// Activation (helpful):
"Enhance", "Evolve", "Heal", "Mend", "Overload", "Protect", "Rally", "Enrage", "Rush",
// Activation (unclassified/polymorphic):
"Mimic",
// Defensive:
"Armor", "Avenge", "Corrosive", "Counter", "Evade", "Payback", "Revenge", "Refresh", "Wall",
// Combat-Modifier:
"Coalition", "Legion", "Pierce", "Rupture", "Swipe", "Drain", "Venom",
// Damage-Dependant:
"Berserk", "Inhibit", "Sabotage", "Leech", "Poison",
// Triggered:
"Allegiance", "Flurry", "Valor", "Stasis",
};
const std::string passive_bge_names[PassiveBGE::num_passive_bges] =
{
// Placeholder for no-bge:
"<Error>",
// Passive BGEs
"Bloodlust", "Brigade", "Counterflux", "Divert", "EnduringRage", "Fortification", "Heroism",
"ZealotsPreservation", "Metamorphosis", "Revenge", "TurningTides", "Virulence", "HaltedOrders",
"Devour", "CriticalReach", "TemporalBacklash", "Furiosity",
};
const std::string cardtype_names[CardType::num_cardtypes]{"Commander", "Assault", "Structure", };
const std::string rarity_names[]{"", "common", "rare", "epic", "legend", "vindi", "mythic", };
unsigned const upgrade_cost[]{0, 5, 15, 30, 75, 150};
unsigned const salvaging_income[][7]{{}, {0, 1, 2, 5}, {0, 5, 10, 15, 20}, {0, 20, 25, 30, 40, 50, 65}, {0, 40, 45, 60, 75, 100, 125}, {0, 80, 85, 100, 125, 175, 250}};
unsigned min_possible_score[]{0, 0, 0, 10, 5, 5, 5, 0
#ifndef NQUEST
, 0
#endif
};
unsigned max_possible_score[]{100, 100, 100, 100, 66, 66, 100, 100
#ifndef NQUEST
, 100
#endif
};
std::string decktype_names[DeckType::num_decktypes]{"Deck", "Mission", "Raid", "Campaign", "Custom Deck", };
signed debug_print(0);
unsigned debug_cached(0);
bool debug_line(false);
std::string debug_str("");