persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
PartyMember.hpp
Go to the documentation of this file.
1#pragma once
7#include "../shoes/Shoe.hpp"
10#include <etl/vector.h>
11#include <nds.h>
12
14{
16 etl::vector<PersonaBase*, 13> personas;
20
21 bool guarding = false;
22
24
25 PartyMember(const CharacterProfile& iCharacterProfile);
26
28 {
29 return &curPersona->battleStats;
30 }
31
32 ae::q20_12_t calculateBaseDamage(BattleParticipant& defender, Skill& skill) override;
33 ae::q20_12_t getTeamMultiplier() override;
34 void setCurrentTurnOrderAgility(ae::q20_12_t boost) override;
36 void onDead(Event::BattleResult& battleResult) override;
38 virtual bool actorCanUse(ActionBase* action);
39
41 {
42 }
43
44 private:
45 MathManager& math = MathManager::getInstance();
46};
ArmourType
Definition ArmourType.hpp:4
BattlePhase
WeaponType
Weapon type, needed to determine who can equip which weapons.
Participant of battle.
Basic stats / affinities. Used by Personas or directly by Enemies.
Holds character data which a battleParticipant is created from.
Holds data on how the battle concluded.
ae::q20_12_t getTeamMultiplier() override
ArmourType armourType
etl::vector< PersonaBase *, 13 > personas
BattleStats * getBattleStats() override
WeaponType weaponType
MathManager & math
virtual bool actorCanUse(ActionBase *action)
ae::q20_12_t calculateBaseDamage(BattleParticipant &defender, Skill &skill) override
void setCurrentTurnOrderAgility(ae::q20_12_t boost) override
bool canParticipateInAllOutAttack()
BattlePhase getInitalTurnPhase() override
PersonaBase * curPersona
CharacterProfile characterProfile
PartyMember(const CharacterProfile &iCharacterProfile)
void onDead(Event::BattleResult &battleResult) override