Exemplo n.º 1
0
        /// <summary>
        /// TODO: ADD STATUS MESSAGE.
        /// </summary>
        /// <param name="dmgs"></param>
        /// <param name="timeInCS"></param>
        public void AppendBurning(int[] dmgs, long timeInCS)
        {
            Burning = dmgs;
            CreatureCheck check = new BurningCheck();

            check.CurrentCreature = this;
            check.World           = World;
            check.TimeInCS        = timeInCS;
            BurningCheck          = check;
            World.AddEventInCS(check.TimeInCS, check.PerformCheck);
        }
Exemplo n.º 2
0
 /// <summary>
 /// TODO: ADD STATUS MESSAGE.
 /// </summary>
 /// <param name="dmgs"></param>
 /// <param name="timeInCS"></param>
 public void AppendBurning(int[] dmgs, long timeInCS)
 {
     Burning = dmgs;
     CreatureCheck check = new BurningCheck();
     check.CurrentCreature = this;
     check.World = World;
     check.TimeInCS = timeInCS;
     BurningCheck = check;
     World.AddEventInCS(check.TimeInCS, check.PerformCheck);
 }