public static void SetEnemyStatBinding(Enemy source, DependencyProperty targetProperty, BattleEntityStatCalculationData calculationData)
 {
     var statBinding = GetStatBinding(source, calculationData);
     BindingOperations.SetBinding(source.Stats, targetProperty, statBinding); 
 }
Ejemplo n.º 2
0
 public static Int32 CalculateEnemySkillAttackDamage(Enemy enemy, Int32 sourceDamage, Boolean isCrit)
 {
     return GetDamage(enemy.Stats.SkillPower, enemy.Stats.Level, enemy.Stats.Level, sourceDamage, enemy.Stats.Luck, isCrit);
 }