Ejemplo n.º 1
0
 public bool Killable(Obj_AI_Base target, float bonusDamage = 0)
 {
     return(target.DamageOnUnit(DamageType.Magical, (new [] { 0, 300f, 400f, 500f })[R.Level] + bonusDamage, (new[] { 0, 0.75f, 0.75f, 0.75f })[R.Level]) > target.Health);
 }
Ejemplo n.º 2
0
 public bool Killable(Obj_AI_Base target, float bonusDamage = 0)
 {
     return target.DamageOnUnit(DamageType.Magical, (new [] { 0, 300f, 400f, 500f})[R.Level] + bonusDamage, (new[] { 0, 0.75f, 0.75f, 0.75f })[R.Level]) > target.Health;
 }