示例#1
0
        public void AppendElectricuted(int[] dmgs, long timeInCS)
        {
            Electrified = dmgs;
            CreatureCheck check = new ElectrifiedCheck();

            check.CurrentCreature = this;
            check.World           = World;
            check.TimeInCS        = timeInCS;
            ElectrifiedCheck      = check;
            World.AddEventInCS(check.TimeInCS, check.PerformCheck);
        }
示例#2
0
 public void AppendElectricuted(int[] dmgs, long timeInCS)
 {
     Electrified = dmgs;
     CreatureCheck check = new ElectrifiedCheck();
     check.CurrentCreature = this;
     check.World = World;
     check.TimeInCS = timeInCS;
     ElectrifiedCheck = check;
     World.AddEventInCS(check.TimeInCS, check.PerformCheck);
 }