public override void OnThink() { if (DateTime.Now > m_AuraDelay) { Animate(12, 10, 1, false, true, 0); List <Mobile> list = BlueMonster.GetNearbyMobiles(this, 3, true); for (int i = list.Count - 1; i > -1; i--) { if (list[i] != null) { AOS.Damage(list[i], this, Utility.RandomMinMax(40, 60), 0, 0, 100, 0, 0); } if (list[i] != null) { AOS.Damage(list[i], this, Utility.RandomMinMax(20, 40), 100, 0, 0, 0, 0); } } m_AuraDelay = DateTime.Now + TimeSpan.FromSeconds(Utility.RandomMinMax(10, 30)); } base.OnThink(); }
public override void OnThink() { if (DateTime.Now > m_AbilityDelay) { List <Mobile> list = BlueMonster.GetNearbyMobiles(this, 1, true); for (int i = list.Count - 1; i > -1; i--) { if (list[i] != null) { list[i].Direction = (Direction)(((int)list[i].Direction + 4) % 8); AOS.Damage(list[i], this, Utility.RandomMinMax(20, 30), 60, 0, 40, 0, 0); } } m_AbilityDelay = DateTime.Now + TimeSpan.FromSeconds(Utility.RandomMinMax(10, 30)); } base.OnThink(); }