forked from zachanassian/tu_optimize
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtyrant.cpp
More file actions
98 lines (88 loc) · 2.72 KB
/
tyrant.cpp
File metadata and controls
98 lines (88 loc) · 2.72 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#include "tyrant.h"
#include <string>
const std::string faction_names[Faction::num_factions] =
{ "", "bloodthirsty", "imperial", "raider", "righteous", "xeno", "progenitor" };
std::string skill_names[Skill::num_skills] =
{
// Attack:
"0",
// Activation (Including Destroyed):
"Augment", "Backfire", "Chaos", "Cleanse", "Enfeeble",
"Enhance Armored", "Enhance Berserk", "Enhance Counter", "Enhance Evade",
"Enhance Leech", "Enhance Heal", "Enhance Poison",
"Freeze", "Heal", "Infuse", "Jam",
"Mimic", "Protect", "Rally", "Recharge", "Repair", "Rush", "Shock",
"Siege", "Split", "Strike", "Summon", "Supply",
"trigger_regen",
"Weaken",
// Combat-Modifier:
"AntiAir", "Burst", "Fear", "Flurry", "Pierce", "Swipe", "Valor",
// Damage-Dependant:
"Berserk", "Crush", "Disease", "Immobilize", "Inhibit", "Leech", "Phase", "Poison", "Siphon", "Sunder",
// Defensive:
"Armored", "Counter", "Emulate", "Evade", "Flying", "Intercept", "Payback", "Refresh", "Regenerate", "Stun", "Tribute", "Wall",
// Triggered:
"Blitz", "Legion",
// Static (Ignored):
/* "Blizzard", "Fusion", "Mist", */
// Placeholder for new gained skill from battleground effect:
"<Error>"
};
std::set<Skill> helpful_skills{
augment, cleanse, heal, protect, rally, repair, rush, supply,
};
std::string skill_activation_modifier_names[SkillMod::num_skill_activation_modifiers] = {"", " on Play", " on Attacked", " on Kill", " on Death", };
std::string cardtype_names[CardType::num_cardtypes]{"Commander", "Assault", "Structure", "Action", };
std::string rarity_names[5]{"", "common", "uncommon", "rare", "legendary", };
std::string decktype_names[DeckType::num_decktypes]{"Deck", "Mission", "Raid", "Quest", "Custom Deck", };
std::string effect_names[Effect::num_effects] = {
"None",
"Armor 1",
"Armor 2",
"Armor 3",
"Berserk 1",
"Berserk 2",
"Berserk 3",
"Counter 1",
"Counter 2",
"Counter 3",
"Evade 1",
"Evade 2",
"Evade 3",
"Heal 1",
"Heal 2",
"Heal 3",
"Leech 1",
"Leech 2",
"Leech 3",
"Poison 1",
"Poison 2",
"Poison 3",
"Time Surge",
"Copycat",
"Quicksilver",
"Decay",
"High Skies",
"Impenetrable",
"Invigorate",
"Clone Project",
"Friendly Fire",
"Genesis",
"Artillery Strike",
"Photon Shield",
"Decrepit",
"Forcefield",
"Chilling Touch",
"Clone Experiment",
"Toxic",
"Haunt",
"United Front",
"Harsh Conditions",
};
std::string achievement_misc_req_names[AchievementMiscReq::num_achievement_misc_reqs] = {
"Kill units with skill: flying",
"Skill activated: (any)",
"Turns",
"Damage",
"Total damage to the enemy Commander"
};