1
This commit is contained in:
parent
44a3930eaa
commit
53bfe6145b
@ -784,6 +784,12 @@ float BattleDataContext::CalcDmg(Creature* target, IBullet* bullet)
|
||||
g_calc_dmg_context = {0};
|
||||
g_calc_dmg_context.is_crit = 0;
|
||||
|
||||
#ifdef MYDEBUG
|
||||
if (hero_ability_->hero_meta->id() == 9011) {
|
||||
int i = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
float vEbc = 1.0f;
|
||||
float vEd = 1 - target->GetNetData()->GetDef();
|
||||
float X = (1 + hero_ability_->GetCrit()) * (1 - target->GetNetData()->GetBlock()) - 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user