Пример #1
0
 public override bool Inputs_OKAY()
 {
     if (Battle)
     {
         Target_Group.SelectTargetWindows(Kernel_bin.MagicData[Contents[CURSOR_SELECT]]);
         Target_Group.ShowTargetWindows();
     }
     else
     if (Memory.State.Characters != null)
     {
         if (!BLANKS[CURSOR_SELECT])
         {
             skipsnd = true;
             init_debugger_Audio.PlaySound(31);
             base.Inputs_OKAY();
             SlotConfirmListener?.Invoke(this, (IGM_Junction.Mode)Menu.IGM_Junction.GetMode());
             if (Menu.IGM_Junction.GetMode().Equals(IGM_Junction.Mode.Mag_Pool_Stat))
             {
                 Menu.IGM_Junction.SetMode(IGM_Junction.Mode.Mag_Stat);
             }
             else if (Menu.IGM_Junction.GetMode().Equals(IGM_Junction.Mode.Mag_Pool_EL_A) || Menu.IGM_Junction.GetMode().Equals(IGM_Junction.Mode.Mag_Pool_EL_D))
             {
                 Menu.IGM_Junction.SetMode(IGM_Junction.Mode.Mag_EL_A);
             }
             else if (Menu.IGM_Junction.GetMode().Equals(IGM_Junction.Mode.Mag_Pool_ST_A) || Menu.IGM_Junction.GetMode().Equals(IGM_Junction.Mode.Mag_Pool_ST_D))
             {
                 Menu.IGM_Junction.SetMode(IGM_Junction.Mode.Mag_ST_A);
             }
             Cursor_Status &= ~Cursor_Status.Enabled;
             Menu.IGM_Junction.Refresh();
             return(true);
         }
     }
     return(false);
 }
Пример #2
0
 private bool Inputs_OKAY_Cast()
 {
     Debug.WriteLine($"{Damageable.Name} Casting {Magic.Name}({Magic.ID}) from enemy.");
     Target_Group.ShowTargetWindows();
     return(true);
 }