예제 #1
0
 private void ExecuteActiveSpell(Spell spell, int top, int bottom, int left, int right)
 {
     int [] arr = spell.CalcTarget(top, bottom, left, right);
     if (spell.isEnemyAffect)
     {
         if (spell.code.Equals(Constants.SPELL_CODE_SUPPRESSION))
         {
             attackManager.SlowEnemieMoving(spell, arr);
         }
     }
     else
     {
         attackManager.AttackEnemies(spell, arr);
     }
 }