예제 #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);
 }
예제 #2
0
파일: RLogic.cs 프로젝트: mrarticuno/EBHQ
 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;
 }