Esempio n. 1
0
		public override void Edit(Monster monster)
		{
			InputCounter d = new InputCounter();
			d.SetCoSMod(cosMod);
			d.SetTrigger(trigger);
			if (d.ShowDialog() == DialogResult.OK)
			{
				cosMod = d.CoSMod();
				name = "Counters: " + d.Trigger();
				trigger = d.Trigger();
				if (modifiedAbility.HasChargeTime())
				{
					slotCost = 3;
				}
				else
				{
					slotCost = 1;
				}
			}
		}
Esempio n. 2
0
		public override bool Prepare(Monster m)
		{
			if (this.GetParent() == m.BasicAttack)
			{
				Complain(4);
				return false;
			}
			if (base.Prepare(m))
			{
				InputCounter d = new InputCounter();
				if (d.ShowDialog() == DialogResult.OK)
				{
					cosMod = d.CoSMod();
					name = "Counters: " + d.Trigger();
					trigger = d.Trigger();
					if (modifiedAbility.HasChargeTime())
					{
						slotCost = 3;
					}
					return true;
				}
				else
				{
					return false;
				}
			}
			else
			{
				return false;
			}
		}