diff options
Diffstat (limited to 'src/game-server/character.h')
-rw-r--r-- | src/game-server/character.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game-server/character.h b/src/game-server/character.h index 9b17969..6c2e31e 100644 --- a/src/game-server/character.h +++ b/src/game-server/character.h @@ -51,12 +51,10 @@ struct AbilityValue AbilityValue(unsigned currentMana, const AbilityManager::AbilityInfo *abilityInfo) : currentPoints(currentMana) - , rechargeSpeed(abilityInfo->defaultRechargeSpeed) , abilityInfo(abilityInfo) {} unsigned currentPoints; - unsigned rechargeSpeed; const AbilityManager::AbilityInfo *abilityInfo; }; @@ -188,12 +186,6 @@ class CharacterComponent : public Component */ AbilityMap::iterator findAbility(int id) { return mAbilities.find(id); } - - /** - * Sets recharge speed of a ability - */ - bool setAbilityRechargeSpeed(int id, int speed); - /** * Removes all abilities from character */ @@ -511,7 +503,7 @@ class CharacterComponent : public Component /** * Informs the client about his characters abilities charge status */ - void sendAbilityUpdate(); + void sendAbilityUpdate(Entity &entity); enum TransactionType { TRANS_NONE, TRANS_TRADE, TRANS_BUYSELL }; |