Inactive/Active ring status based on being in/out of combat.
This commit is contained in:
@@ -91,6 +91,7 @@ private:
|
||||
std::shared_ptr<DamageNumber>damageNumberPtr;
|
||||
void Initialize();
|
||||
float iframe_time=0;
|
||||
float lastCombatTime=0;
|
||||
protected:
|
||||
const float ATTACK_COOLDOWN="Warrior.Auto Attack.Cooldown"_F;
|
||||
const float MAGIC_ATTACK_COOLDOWN="Wizard.Auto Attack.Cooldown"_F;
|
||||
@@ -189,6 +190,8 @@ public:
|
||||
Key GetLastReleasedMovementKey();
|
||||
float GetSwordSwingTimer();
|
||||
bool OnUpperLevel();
|
||||
void ResetLastCombatTime();
|
||||
bool IsOutOfCombat();
|
||||
//Triggers when the player has moved.
|
||||
void Moved();
|
||||
virtual ~Player()=default;
|
||||
|
||||
Reference in New Issue
Block a user