persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
SkillDb.cpp
Go to the documentation of this file.
1
#include "
SkillDb.hpp
"
2
3
Skill
SkillDb::agi
;
4
Skill
SkillDb::bash
;
5
Skill
SkillDb::bufu
;
6
Skill
SkillDb::dia
;
7
Skill
SkillDb::garu
;
8
Skill
SkillDb::magaru
;
9
Skill
SkillDb::pierceAttack
;
10
Skill
SkillDb::powerSlash
;
11
Skill
SkillDb::slashAttack
;
12
Skill
SkillDb::strikeAttack
;
13
Skill
SkillDb::allOutAttack
;
14
15
void
SkillDb::initialize
()
16
{
17
/*---------------ALL OUT ATTACK--------------*/
18
//Most of the stuff is not used, only element is actually important
19
//this skill only exists because it would be even uglier to solve it otherwise
20
allOutAttack
.movePower = 15;
21
allOutAttack
.element =
Element::Almighty
;
22
allOutAttack
.cost = 0;
23
allOutAttack
.name =
"All_Out_Attack"
;
24
allOutAttack
.hitRate = 90;
25
allOutAttack
.skillRace =
SkillRace::mag
;
26
allOutAttack
.skillTarget =
SkillTarget::OppositionTeam
;
27
allOutAttack
.skillType =
SkillType::AllOutAttack
;
28
29
/*--------------REGULAR ATTACKS--------------*/
30
slashAttack
.movePower = 15;
31
slashAttack
.element =
Element::Slash
;
32
slashAttack
.cost = 0;
33
slashAttack
.name =
"Slash_Attack"
;
34
slashAttack
.hitRate = 90;
35
slashAttack
.skillRace =
SkillRace::phys
;
36
slashAttack
.skillTarget =
SkillTarget::OppositionTeam
;
37
slashAttack
.skillType =
SkillType::RegularAttack
;
38
39
strikeAttack
.movePower = 15;
40
strikeAttack
.element =
Element::Strike
;
41
strikeAttack
.cost = 0;
42
strikeAttack
.name =
"Strike_Attack"
;
43
strikeAttack
.hitRate = 90;
44
strikeAttack
.skillRace =
SkillRace::phys
;
45
strikeAttack
.skillTarget =
SkillTarget::OppositionTeam
;
46
strikeAttack
.skillType =
SkillType::RegularAttack
;
47
48
pierceAttack
.movePower = 15;
49
pierceAttack
.element =
Element::Pierce
;
50
pierceAttack
.cost = 0;
51
pierceAttack
.name =
"Pierce_Attack"
;
52
pierceAttack
.hitRate = 90;
53
pierceAttack
.skillRace =
SkillRace::phys
;
54
pierceAttack
.skillTarget =
SkillTarget::OppositionTeam
;
55
pierceAttack
.skillType =
SkillType::RegularAttack
;
56
57
/*--------------PHYSICAL--------------*/
58
bash
.movePower = 30;
59
bash
.element =
Element::Strike
;
60
bash
.cost = 10;
61
bash
.name =
"Bash"
;
62
bash
.hitRate = 90;
63
bash
.skillRace =
SkillRace::phys
;
64
bash
.skillTarget =
SkillTarget::OppositionTeam
;
65
bash
.skillType =
SkillType::Attack
;
66
67
powerSlash
.movePower = 50;
68
powerSlash
.element =
Element::Slash
;
69
powerSlash
.cost = 7;
70
powerSlash
.name =
"Power_Slash"
;
71
powerSlash
.hitRate = 92;
72
powerSlash
.skillRace =
SkillRace::phys
;
73
powerSlash
.skillTarget =
SkillTarget::OppositionTeam
;
74
powerSlash
.skillType =
SkillType::Attack
;
75
76
/*--------------MAGIC--------------*/
77
agi
.movePower = 40;
78
agi
.element =
Element::Fire
;
79
agi
.cost = 3;
80
agi
.name =
"Agi"
;
81
agi
.hitRate = 99;
82
agi
.skillRace =
SkillRace::mag
;
83
agi
.skillTarget =
SkillTarget::OppositionTeam
;
84
agi
.skillType =
SkillType::Attack
;
85
86
bufu
.movePower = 40;
87
bufu
.element =
Element::Ice
;
88
bufu
.cost = 3;
89
bufu
.name =
"Bufu"
;
90
bufu
.hitRate = 99;
91
bufu
.skillRace =
SkillRace::mag
;
92
bufu
.skillTarget =
SkillTarget::OppositionTeam
;
93
bufu
.skillType =
SkillType::Attack
;
94
95
garu
.movePower = 40;
96
garu
.element =
Element::Wind
;
97
garu
.cost = 3;
98
garu
.name =
"Garu"
;
99
garu
.hitRate = 99;
100
garu
.skillRace =
SkillRace::mag
;
101
garu
.skillTarget =
SkillTarget::OppositionTeam
;
102
garu
.skillType =
SkillType::Attack
;
103
104
magaru
.movePower = 40;
105
magaru
.element =
Element::Wind
;
106
magaru
.cost = 8;
107
magaru
.name =
"Magaru"
;
108
magaru
.hitRate = 95;
109
magaru
.skillRace =
SkillRace::mag
;
110
magaru
.skillTarget =
SkillTarget::OppositionTeam
;
111
magaru
.skillType =
SkillType::MultiAttack
;
112
113
/*--------------HEALING--------------*/
114
dia
.movePower = 50;
115
dia
.element =
Element::Heal
;
116
dia
.cost = 3;
117
dia
.name =
"Dia"
;
118
dia
.hitRate = 100;
119
dia
.skillRace =
SkillRace::mag
;
120
dia
.skillTarget =
SkillTarget::OwnTeam
;
121
dia
.skillType =
SkillType::Heal
;
122
}
Element::Pierce
@ Pierce
Definition
Element.hpp:12
Element::Almighty
@ Almighty
Definition
Element.hpp:14
Element::Slash
@ Slash
Definition
Element.hpp:11
Element::Wind
@ Wind
Definition
Element.hpp:6
Element::Ice
@ Ice
Definition
Element.hpp:5
Element::Strike
@ Strike
Definition
Element.hpp:10
Element::Fire
@ Fire
Definition
Element.hpp:4
Element::Heal
@ Heal
Definition
Element.hpp:13
SkillDb.hpp
SkillRace::phys
@ phys
Definition
SkillRace.hpp:5
SkillRace::mag
@ mag
Definition
SkillRace.hpp:6
SkillTarget::OppositionTeam
@ OppositionTeam
Definition
SkillTarget.hpp:7
SkillTarget::OwnTeam
@ OwnTeam
Definition
SkillTarget.hpp:6
SkillType::AllOutAttack
@ AllOutAttack
Definition
SkillType.hpp:14
SkillType::RegularAttack
@ RegularAttack
Definition
SkillType.hpp:5
SkillType::MultiAttack
@ MultiAttack
Definition
SkillType.hpp:10
SkillType::Attack
@ Attack
Definition
SkillType.hpp:6
SkillType::Heal
@ Heal
Definition
SkillType.hpp:7
SkillDb::pierceAttack
static Skill pierceAttack
Definition
SkillDb.hpp:12
SkillDb::allOutAttack
static Skill allOutAttack
Definition
SkillDb.hpp:16
SkillDb::garu
static Skill garu
Definition
SkillDb.hpp:10
SkillDb::powerSlash
static Skill powerSlash
Definition
SkillDb.hpp:13
SkillDb::magaru
static Skill magaru
Definition
SkillDb.hpp:11
SkillDb::agi
static Skill agi
Definition
SkillDb.hpp:6
SkillDb::bash
static Skill bash
Definition
SkillDb.hpp:7
SkillDb::strikeAttack
static Skill strikeAttack
Definition
SkillDb.hpp:15
SkillDb::bufu
static Skill bufu
Definition
SkillDb.hpp:8
SkillDb::slashAttack
static Skill slashAttack
Definition
SkillDb.hpp:14
SkillDb::initialize
static void initialize()
Definition
SkillDb.cpp:15
SkillDb::dia
static Skill dia
Definition
SkillDb.hpp:9
Skill
Definition
Skill.hpp:10
source
battleActions
skills
SkillDb.cpp
Generated by
1.15.0