From dff5e62f6ebb1b06c234b9144458788893b6ca86 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 30 May 2025 10:32:29 -0300 Subject: initial work on `crcombat.cc` --- src/player.hh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/player.hh') diff --git a/src/player.hh b/src/player.hh index bb58ac3..815289e 100644 --- a/src/player.hh +++ b/src/player.hh @@ -68,8 +68,14 @@ struct TPlayerData { struct TPlayer: TCreature { // REGULAR FUNCTIONS // ========================================================================= - void CheckState(void); + uint8 GetRealProfession(void); + uint8 GetEffectiveProfession(void); uint8 GetActiveProfession(void); + bool GetActivePromotion(void); + bool IsAttackJustified(uint32 Victim); + void RecordAttack(uint32 Victim); + + void CheckState(void); // VIRTUAL FUNCTIONS // ========================================================================= -- cgit v1.2.3