-
Notifications
You must be signed in to change notification settings - Fork 0
/
FF11_Devolved.cpp
57 lines (42 loc) · 1.1 KB
/
FF11_Devolved.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
#include <iostream>
#include <string>
#include "functionsh.h"
using namespace std;
int main()
{
Functions a;
int att, def, eva, mnd, hp;
cout << "Which will you choose? \n\n\n\t\tMage[m] Warrior[w] Darknight[d]"
<< " Paladin[p]";
char r;
cin >> r;
switch(r)
{
case 'm': att = 32, def = 29, eva = 35, mnd = 92, hp = 320;
break;
case 'w': att = 61, def = 60, eva = 55, mnd = 42, hp = 438;
break;
case 'd': att = 82, def = 42, eva = 39, mnd = 45, hp = 402;
break;
case 'p': att = 59, def = 82, eva = 43, mnd = 62, hp = 436;
break;
default: cout << "Try again";
break;
}
cout << "Choose a game mode:" << "\n\n\n\n\n" << "\t\t\t\t"
<< "Explore[e] " << "Boss Battle[b] " << "Customize[c]";
cin >> r;
switch(r)
{
case 'e': r = a.explore();
break;
case 'b': a.boss_Battle();
break;
case 'c': a.customize();
break;
default: cout << "default lol";
}
cin.sync();
cin.get();
return 0;
}