1
This commit is contained in:
parent
1dcbd0926d
commit
4de3f151c3
@ -238,6 +238,25 @@ private:
|
||||
|
||||
float vBlock = 1 - (1 - hero_meta->GetBasicMeta()->vOrigBlock()) / (1 + pBlock / hero_meta->GetBasicMeta()->pBaseBlock());
|
||||
}
|
||||
{
|
||||
float pCritAm = 0.0f;
|
||||
float pCritAm_Add = 0.0f;
|
||||
pCritAm += pCritAm_Add;
|
||||
|
||||
float pCritRateSe = 0.0f;
|
||||
float pCritRateSe_Add = 0.0f;
|
||||
pCritRateSe += pCritRateSe_Add;
|
||||
|
||||
float pCritRateIn = 0.0f;
|
||||
float pCritRateIn_Add = 0.0f;
|
||||
pCritRateIn = (1 + pCritRateIn) * (1 + pCritRateIn_Add) - 1;
|
||||
|
||||
float pCrit = 0.0f;
|
||||
pCrit = (hero_meta->GetBasicMeta()->pOrigCrit() + pCritAm) * (1 + pCritRateSe) * (1 + pCritRateIn);
|
||||
|
||||
float vCrit = 0.0f;
|
||||
vCrit = (1 + hero_meta->GetBasicMeta()->vOrigCrit()) * (1 + pCrit / hero_meta->GetBasicMeta()->pBaseCrit()); - 1;
|
||||
}
|
||||
#else
|
||||
hp_ = hero_meta->hp();
|
||||
atk_ = hero_meta->damage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user