aboutsummaryrefslogtreecommitdiff
path: root/src/crcombat.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/crcombat.hh')
-rw-r--r--src/crcombat.hh17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/crcombat.hh b/src/crcombat.hh
index f015252..bd22584 100644
--- a/src/crcombat.hh
+++ b/src/crcombat.hh
@@ -16,12 +16,17 @@ struct TCombat{
void GetWeapon(void);
void GetAmmo(void);
void CheckCombatValues(void);
- int GetDistance(void); // TODO
+ int GetDistance(void);
+ void GetAttackValue(int *Attack, uint16 *SkillNr);
+ int GetDefendDamage(void);
+ void SetAttackDest(uint32 TargetID, bool Follow);
+ void CanToDoAttack(void);
void Attack(void);
void StopAttack(int Delay);
void DelayAttack(int Milliseconds);
- void CloseAttack(TCreature *Target); // TODO
- void RangeAttack(TCreature *Target); // TODO
+ void CloseAttack(TCreature *Target);
+ void DistanceAttack(TCreature *Target);
+ void WandAttack(TCreature *Target);
// DATA
// =========================================================================
@@ -30,9 +35,9 @@ struct TCombat{
uint32 EarliestDefendTime;
uint32 LastDefendTime;
uint32 LatestAttackTime;
- uint32 AttackMode;
- uint32 ChaseMode;
- uint32 SecureMode;
+ uint8 AttackMode;
+ uint8 ChaseMode;
+ uint8 SecureMode;
uint32 AttackDest;
bool Following;
Object Shield;