1
This commit is contained in:
parent
893a7df167
commit
146fbcef9a
@ -320,7 +320,12 @@ int SkillHelper::GetYmczReserveDistance(const MetaData::Skill* skill_meta)
|
||||
|
||||
float SkillHelper::GetYmczDmg(Creature* sender, Creature* target, const MetaData::Skill* skill_meta)
|
||||
{
|
||||
return 0;
|
||||
float finaly_dmg =
|
||||
(skill_meta->number_meta->float_ratio +
|
||||
skill_meta->number_meta->float_ratio2 *
|
||||
sender->GetBattleContext()->GetHeroTotalAtk()) *
|
||||
(1 - target->GetBattleContext()->GetDef() / (target->GetBattleContext()->GetDef() + 400));
|
||||
return finaly_dmg;
|
||||
}
|
||||
|
||||
bool SkillHelper::ProcBulletDmg(Bullet* bullet, Creature* target, float& finaly_dmg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user