Пример #1
0
        private void baseStatusButton_Click(object sender, EventArgs e)
        {
            InputStatus status = new InputStatus(true);

            if (status.ShowDialog(this) == DialogResult.OK)
            {
                baseStatus = status.ChosenString();
            }
            if (baseStatus == "Delay +5")
            {
                baseStatus = "Delay";
            }
            UpdateData();
        }
Пример #2
0
        private void baseStatusButton_Click(object sender, EventArgs e)
        {
            InputStatus status = new InputStatus(!statusList.Items.Contains("Delay"));

            if (status.ShowDialog(this) == DialogResult.OK)
            {
                string chosenStatus = status.ChosenString();
                if (chosenStatus == "Delay +5")
                {
                    chosenStatus = "Delay";
                }
                statusList.Items.Add(chosenStatus);
            }
            UpdateData();
        }
 private void baseStatusButton_Click(object sender, EventArgs e)
 {
     InputStatus status = new InputStatus(!statusList.Items.Contains("Delay"));
     if (status.ShowDialog(this) == DialogResult.OK)
     {
         string chosenStatus = status.ChosenString();
         if (chosenStatus == "Delay +5")
         {
             chosenStatus = "Delay";
         }
         statusList.Items.Add(chosenStatus);
     }
     UpdateData();
 }
Пример #4
0
 private void baseStatusButton_Click(object sender, EventArgs e)
 {
     InputStatus status = new InputStatus(true);
     if (status.ShowDialog(this) == DialogResult.OK)
     {
         baseStatus = status.ChosenString();
     }
     if (baseStatus == "Delay +5")
     {
         baseStatus = "Delay";
     }
     UpdateData();
 }
Пример #5
0
		public override bool Prepare(Monster m)
		{
			if (this.GetParent() == m.BasicAttack)
			{
				Complain(4);
				return false;
			}
			InputStatus d = new InputStatus(false);
			if (d.ShowDialog() == DialogResult.OK)
			{
				String status = d.ChosenString();
				if (status == "Stone" || status == "Sleep" || status == "Stop")
				{
					if (!m.HasLinkedStatusBonus)
					{
						slotCost = -1;
						m.HasLinkedStatusBonus = true;
					}
				}
				name = "Linked to Status: " + d.ChosenString();
				return true;
			}
			else
			{
				return false;
			}
		}