This commit is contained in:
aozhiwei 2024-01-05 15:28:51 +08:00
parent 1b0450cd9d
commit cb9a52f6c9
2 changed files with 6 additions and 0 deletions

View File

@ -840,6 +840,11 @@ float BattleDataContext::CalcReceiveDmg(Creature* sender, float normal_dmg)
return std::round(finaly_dmg);
}
float BattleDataContext::CalcSkillReceiveDmg(Creature* sender, float normal_dmg)
{
}
float BattleDataContext::CalcDmg(Explosion* e)
{
g_calc_dmg_context = {0};

View File

@ -74,6 +74,7 @@ struct BattleDataContext
float GetTenacityPct();
float GetRecoverHpAdd();
float CalcReceiveDmg(Creature* sender, float normal_dmg);
float CalcSkillReceiveDmg(Creature* sender, float normal_dmg);
void SetReviveCoin(int num);
int GetReviveCoin();