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
14
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;
22 allOutAttack.cost = 0;
23 allOutAttack.name = "All_Out_Attack";
24 allOutAttack.hitRate = 90;
25 allOutAttack.skillRace = SkillRace::mag;
28
29 /*--------------REGULAR ATTACKS--------------*/
30 slashAttack.movePower = 15;
32 slashAttack.cost = 0;
33 slashAttack.name = "Slash_Attack";
34 slashAttack.hitRate = 90;
35 slashAttack.skillRace = SkillRace::phys;
38
39 strikeAttack.movePower = 15;
41 strikeAttack.cost = 0;
42 strikeAttack.name = "Strike_Attack";
43 strikeAttack.hitRate = 90;
44 strikeAttack.skillRace = SkillRace::phys;
47
48 pierceAttack.movePower = 15;
50 pierceAttack.cost = 0;
51 pierceAttack.name = "Pierce_Attack";
52 pierceAttack.hitRate = 90;
53 pierceAttack.skillRace = SkillRace::phys;
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;
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;
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;
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;
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}
@ Almighty
Definition Element.hpp:14
@ RegularAttack
Definition SkillType.hpp:5
static Skill pierceAttack
Definition SkillDb.hpp:12
static Skill allOutAttack
Definition SkillDb.hpp:16
static Skill garu
Definition SkillDb.hpp:10
static Skill powerSlash
Definition SkillDb.hpp:13
static Skill magaru
Definition SkillDb.hpp:11
static Skill agi
Definition SkillDb.hpp:6
static Skill bash
Definition SkillDb.hpp:7
static Skill strikeAttack
Definition SkillDb.hpp:15
static Skill bufu
Definition SkillDb.hpp:8
static Skill slashAttack
Definition SkillDb.hpp:14
static void initialize()
Definition SkillDb.cpp:15
static Skill dia
Definition SkillDb.hpp:9