1
This commit is contained in:
parent
d6985c1063
commit
12db6a6679
@ -548,7 +548,7 @@ float BattleDataContext::CalcDmg(Creature* target, IBullet* bullet)
|
||||
float crit = g_calc_dmg_context.is_crit ? GetCritRate(bullet) : 0;
|
||||
float dodge = IsDodge(bullet) ? GetDodgeRuduce(bullet) : 0;
|
||||
float finaly_dmg = normal_dmg * (1.0f + crit + dodge);
|
||||
finaly_dmg *= (1 + owner_->GetAbility()->GetDmgAddition());
|
||||
finaly_dmg *= (1 + owner_.Get()->GetAbility()->GetDmgAddition());
|
||||
finaly_dmg *= (1 - target->GetAbility()->GetDmgRuduce());
|
||||
#if 1
|
||||
finaly_dmg *= (1 + bullet->GetStrengthenWall());
|
||||
|
@ -3511,15 +3511,15 @@ void Human::ProcGemStoneItem(AddItemDTO& dto)
|
||||
(
|
||||
GetWeakPtrRef(),
|
||||
kPropHp,
|
||||
GetHP(),
|
||||
0,
|
||||
GetHP(),
|
||||
true);
|
||||
room->frame_event.AddPropChg
|
||||
(
|
||||
GetWeakPtrRef(),
|
||||
kPropMaxHp,
|
||||
GetMaxHP(),
|
||||
0,
|
||||
GetMaxHP(),
|
||||
true);
|
||||
dto.handled = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user