-
Notifications
You must be signed in to change notification settings - Fork 0
/
Follower.cpp
87 lines (77 loc) · 1.42 KB
/
Follower.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#include <iostream>
#include "Follower.hpp"
using namespace std;
// TODO add description text here
void Follower::print()const{
cout << "Follower: ";
GreenCard::print();
}
void Follower::detach(){
delete this;
}
Footsoldier::Footsoldier(const string n){
name=n;
cost=0;
isTapped=0;
attackBonus=2;
defenceBonus=0;
min_honour=1;
effectBonus=1;
effectCost=2;
cardText="Each scar teaches him more than a library";
}
Archer::Archer(const string n){
name=n;
cost=0;
isTapped=0;
attackBonus=0;
defenceBonus=2;
min_honour=1;
effectBonus=1;
effectCost=2;
cardText="Precise and effective on defending the province from long distances";
}
Cavalry::Cavalry(const string n){
name=n;
cost=3;
isTapped=0;
attackBonus=4;
defenceBonus=2;
min_honour=3;
effectBonus=3;
effectCost=4;
cardText="Dont worry tha Cavalry is here";
}
Bushido::Bushido(const string n){
name=n;
cost=8;
isTapped=0;
attackBonus=8;
defenceBonus=8;
min_honour=6;
effectBonus=3;
effectCost=8;
cardText="The way of the samurai";
}
Sieger::Sieger(const string n){
name=n;
cost=5;
isTapped=0;
attackBonus=3;
defenceBonus=3;
min_honour=2;
effectBonus=2;
effectCost=3;
cardText="CHAAAAARGE";
}
Atakebune::Atakebune(const string n){
name=n;
cost=3;
isTapped=0;
attackBonus=4;
defenceBonus=2;
min_honour=3;
effectBonus=3;
effectCost=4;
cardText="Their structure above the surface is fully covered by iron,and they are worth admiring";
}