public static void Interrupter_OnInterruptableSpell(Obj_AI_Base sender, Interrupter.InterruptableSpellEventArgs args) { if (Exhaust == null || !Exhaust.IsReady()) { return; } if (!Config.Spell["exhaust"].Cast <CheckBox>().CurrentValue || !Config.Spell["danger"].Cast <CheckBox>().CurrentValue) { return; } if (sender.IsEnemy && args.DangerLevel == DangerLevel.High) { if (Exhaust.IsInRange(sender)) { Exhaust.Cast(sender); } } }
static void Loading_OnLoadingComplete(EventArgs args) { Spells.InitSpells(); Config.Dattenosa(); Items.InitItems(); Zhonya.Initialize(); if (Spells.Exhaust != null) { Exhaust.Initialize(); } if (Spells.Barrier != null) { Barrier.Initialize(); } InitEvent(); var notStart = new SimpleNotification("UBActivator Yuklenme Durumu", "UBActivator basariyla yuklendi.Ceviri TekinTR."); Notifications.Show(notStart, 5000); }
static void Loading_OnLoadingComplete(EventArgs args) { Spells.InitSpells(); Config.Dattenosa(); Items.InitItems(); Zhonya.Initialize(); if (Spells.Exhaust != null) { Exhaust.Initialize(); } if (Spells.Barrier != null) { Barrier.Initialize(); } InitEvent(); var notStart = new SimpleNotification("UBActivator Load Status", "UBActivator sucessfully loaded."); Notifications.Show(notStart, 5000); }