forked from andor9/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtyrant.cpp
More file actions
75 lines (65 loc) · 2.25 KB
/
tyrant.cpp
File metadata and controls
75 lines (65 loc) · 2.25 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
#include "tyrant.h"
#include <string>
const std::string faction_names[Faction::num_factions] =
{ "", "bloodthirsty", "imperial", "raider", "righteous", "xeno" };
std::string skill_names[Skill::num_skills] =
{
// Attack:
"0",
// Activation (Including Destroyed):
"Augment", "Backfire", "Chaos", "Cleanse", "Enfeeble",
"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", "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",
"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"
};