public void CaculateDamage(EntityParent monster) { if (monster.bIsDead) { return; } float demage = this.skillConfig.demage[this.level - 1].demage; monster.ApplyDemage(demage, this.skillConfig); }
public void Attack(EntityParent entitys) { float demage = this.skillConfig.demage[this.level - 1].demage; entitys.ApplyDemage(demage, this.skillConfig); }