diff --git a/server/gameserver/battledatacontext.cc b/server/gameserver/battledatacontext.cc index 79695a4e..5bc83979 100644 --- a/server/gameserver/battledatacontext.cc +++ b/server/gameserver/battledatacontext.cc @@ -85,6 +85,36 @@ public: return brain_life_pct_; } + float GetSkillCdPct() + { + return 0.0f; + } + + float GetRescueTimePct() + { + return 0.0f; + } + + float GetDrugTimePct() + { + return 0.0f; + } + + float GetDrugEfficacyPct() + { + return 0.0f; + } + + float GetTenacityPct() + { + return 0.0f; + } + + float GetRecoverHpAdd() + { + return 0.0f; + } + void Init(Creature* c) { if (hero_dto) { @@ -895,30 +925,30 @@ float BattleDataContext::GetBrainLifePct() float BattleDataContext::GetSkillCdPct() { - return 0.0f; + return hero_ability_->GetSkillCdPct(); } float BattleDataContext::GetRescueTimePct() { - return 0.0f; + return hero_ability_->GetRescueTimePct(); } float BattleDataContext::GetDrugTimePct() { - return 0.0f; + return hero_ability_->GetDrugTimePct(); } float BattleDataContext::GetDrugEfficacyPct() { - return 0.0f; + return hero_ability_->GetDrugEfficacyPct(); } float BattleDataContext::GetTenacityPct() { - return 0.0f; + return hero_ability_->GetTenacityPct(); } float BattleDataContext::GetRecoverHpAdd() { - return 0.0f; + return hero_ability_->GetRecoverHpAdd(); }