22 #ifndef BLADERUNNER_ACTOR_COMBAT_H 23 #define BLADERUNNER_ACTOR_COMBAT_H 25 #include "bladerunner/vector.h" 29 class BladeRunnerEngine;
30 class SaveFileReadStream;
31 class SaveFileWriteStream;
48 int _attackRatioConst;
54 int _coversWaypointCount;
55 int _fleeWaypointsCount;
64 void combatOn(
int actorId,
int initialState,
bool rangedAttack,
int enemyId,
int waypointType,
int fleeRatio,
int coverRatio,
int attackRatio,
int damage,
int range,
bool unstoppable);
78 void approachToCloseAttack();
79 void approachToRangedAttack();
88 int getCoefficientCloseAttack()
const;
89 int getCoefficientRangedAttack()
const;
91 int getDamageCloseAttack(
int min,
int max)
const;
92 int getDamageRangedAttack(
int min,
int max)
const;
94 int calculateAttackRatio()
const;
95 int calculateCoverRatio()
const;
96 int calculateFleeRatio()
const;
98 bool findClosestPositionToEnemy(
Vector3 &output)
const;
Definition: savefile.h:88
Definition: savefile.h:113
Definition: bladerunner.h:113
Definition: actor_combat.h:33