void OnTriggerStay2D(Collider2D col) { if (col.CompareTag("Player")) { spider.Attack(); } }
//call Attack method from Spider void FireAcid() { if (_spider != null) { _spider.Attack(); } }
public void Fire() { //tell spider to fire //Debug.Log("Spider should fire"); //use handle to call Attack method on spider _spider.Attack(); }
public void Fire() { if (_spider != null) { _spider.Attack(); } }
// Called from Animation Controller of Spider on Event public void Fire() { // Tell Spider to Fire // Use handle to call Attack Method on spider if (_spiderScript) { _spiderScript.Attack(); } }
public void Fire() { // Tell Spider to Fire // Debug.Log("Spider Should Fire "); // use handle to call attack method on Spider _spider.Attack(); }
public static void Chasing(EventArgs args) { var me = ObjectMgr.LocalHero; if (!Game.IsInGame || me.ClassID != ClassID.CDOTA_Unit_Hero_Broodmother || me == null) { return; } if (activChase) { var target = me.ClosestToMouseTarget(1500); var Spiderlings = ObjectMgr.GetEntities <Unit>().Where(spiderlings => spiderlings.ClassID == ClassID.CDOTA_Unit_Broodmother_Spiderling).ToList(); { if (target != null && target.IsAlive && !target.IsIllusion) { foreach (var Spider in Spiderlings) { if (Spider.Distance2D(target) <= 1000 && Utils.SleepCheck(Spider.Handle.ToString())) { Spider.Attack(target); Utils.Sleep(900, Spider.Handle.ToString()); } } } else { foreach (var Spider in Spiderlings) { if (Utils.SleepCheck(Spider.Handle.ToString())) { Spider.Move(Game.MousePosition); Utils.Sleep(900, Spider.Handle.ToString()); } } } } } }
private static void Chasing() { if (Utils.SleepCheck("All")) { var me = ObjectMgr.LocalHero; var target = me.ClosestToMouseTarget(1500); var Spiderlings = ObjectMgr.GetEntities <Unit>().Where(spiderlings => spiderlings.ClassID == ClassID.CDOTA_Unit_Broodmother_Spiderling).ToList(); { if (target != null && target.IsAlive && !target.IsIllusion && chasing.isActive) { { foreach (var Spider in Spiderlings) { if (Spider.Distance2D(target) <= 1000 && (Utils.SleepCheck("combo"))) { Spider.Attack(target); } } Utils.Sleep(750, "combo"); } } else { if (Utils.SleepCheck("combo")) { foreach (var Spider in Spiderlings) { Spider.Move(Game.MousePosition); } } Utils.Sleep(750, "combo"); } } } Utils.Sleep(350, "All"); }
public void Fire() { Debug.Log("SpiderFire"); _spider.Attack(); }
public void Fire() { //Debug.Log("Spider fires"); spider.Attack(); }
public void Fire() { Debug.Log("Fire Called"); _spider.Attack(); }
static void Main(string[] args) { RayGun green = new RayGun("green ray gun", 2); RayGun red = new RayGun("red ray gun", 4); SpaceArmor titanium = new SpaceArmor("titanium space armor", 50); SpaceArmor alien = new SpaceArmor("alien tech space armor", 100); GravBoots nike = new GravBoots("Nike grav boots", 2); GravBoots adidas = new GravBoots("Adidas grav boots", 4); AlienText romulan = new AlienText("book of Romulan wisdom", 2); AlienText vulcan = new AlienText("book of Vulcan wisdom", 4); IEquipable[] treasure = new IEquipable[8] { green, red, titanium, alien, nike, adidas, romulan, vulcan }; ConsoleYellow("********NINJAS IN SPACE********"); Hero player = PlayerSetup(); ConsoleYellow($"You, {player.Name}, have been chosen(randomly selected) to join a team of developer ninjas on a space quest! To seek out new algorithms, new data structures, and go where no else wants to go! DEEP SPACE!!!\n\nHere you will encounter aliens, space monsters, and the unknown to bring back algorithms to benefit all humans. You now must choose your team.\n\nPress Enter to Start"); ConsoleKey key = Console.ReadKey(true).Key; while (key != ConsoleKey.Enter) { key = Console.ReadKey(true).Key; } Console.WriteLine("Please select two crew members"); Hero teammate1 = TeamSetup(); Hero teammate2 = TeamSetup(); List <Hero> party = new List <Hero>() { player, teammate1, teammate2 }; int planet = 0; while (planet < 5) { Console.WriteLine(""); ConsoleYellow($"Welcome to Planet {planet+1}!"); ConsoleYellow("====================="); List <Enemy> enemies = new List <Enemy>(); Spider enemy1 = new Spider("Space Spider 1"); Zombie enemy2 = new Zombie("Space Zombie 1"); Xenomorph enemy3 = new Xenomorph("Xenomorph 1"); enemies.Add(enemy1); enemies.Add(enemy2); enemies.Add(enemy3); Random die = new Random(); int round = 0; while (SumHealthParty(party) > 0 && SumHealthEnemies(enemies) > 0) { int turn = round % 6; if (turn >= 0 && turn < 3) { if (party[turn].Health > 0) { Console.WriteLine(""); EncounterStatus(party, enemies); if (party[turn] is Ninja) { Ninja ninjaClone = (Ninja)party[turn]; Console.WriteLine($"{ninjaClone.Name}'s turn. (A)ttack or (B)ackstab?"); string Action = Console.ReadLine(); Console.WriteLine($"Target? (1){enemies[0].Name} (2){enemies[1].Name} (3){enemies[2].Name}"); string Target = Console.ReadLine(); if (Action == "A") { ninjaClone.Attack(enemies[int.Parse(Target) - 1]); } else if (Action == "B") { ninjaClone.Backstab(enemies[int.Parse(Target) - 1]); } else if (Action == "Z") { enemies[int.Parse(Target) - 1].Health = 0; Console.WriteLine("Let's get this over with"); Console.WriteLine(""); } } else if (party[turn] is Samurai) { Samurai samuraiClone = (Samurai)party[turn]; Console.WriteLine($"{samuraiClone.Name}'s turn. (A)ttack or (M)editate?"); string Action = Console.ReadLine(); if (Action == "A") { Console.WriteLine($"Target? (1){enemies[0].Name} (2){enemies[1].Name} (3){enemies[2].Name}"); string Target = Console.ReadLine(); samuraiClone.Attack(enemies[int.Parse(Target) - 1]); } else if (Action == "M") { samuraiClone.Meditate(); } else if (Action == "Z") { Console.WriteLine($"Target? (1){enemies[0].Name} (2){enemies[1].Name} (3){enemies[2].Name}"); string Target = Console.ReadLine(); enemies[int.Parse(Target) - 1].Health = 0; Console.WriteLine("Let's get this over with"); Console.WriteLine(""); } } else if (party[turn] is Wizard) { Wizard wizardClone = (Wizard)party[turn]; Console.WriteLine($"{wizardClone.Name}'s turn. (A)ttack or (S)hield?"); string Action = Console.ReadLine(); if (Action == "A") { Console.WriteLine($"Target? (1){enemies[0].Name} (2){enemies[1].Name} (3){enemies[2].Name}"); string Target = Console.ReadLine(); wizardClone.Attack(enemies[int.Parse(Target) - 1]); } else if (Action == "S") { Console.WriteLine($"Target? (1){party[0].Name} (2){party[1].Name} (3){party[2].Name}"); string Target = Console.ReadLine(); wizardClone.Shield(party[int.Parse(Target) - 1]); } else if (Action == "Z") { Console.WriteLine($"Target? (1){enemies[0].Name} (2){enemies[1].Name} (3){enemies[2].Name}"); string Target = Console.ReadLine(); enemies[int.Parse(Target) - 1].Health = 0; Console.WriteLine("Let's get this over with"); Console.WriteLine(""); } } } } else { if (enemies[turn - 3].Health > 0) { Console.WriteLine(""); EncounterStatus(party, enemies); if (enemies[turn - 3] is Zombie) { Zombie zombieClone = (Zombie)enemies[turn - 3]; Console.WriteLine($"{zombieClone.Name}'s turn."); Random rand = new Random(); bool attacked = false; while (!attacked) { int target = rand.Next(3); if (party[target].Health > 0) { zombieClone.Attack(party[target]); attacked = true; } } Console.WriteLine("Please press \"Enter\" to continue"); string Action = Console.ReadLine(); } else if (enemies[turn - 3] is Spider) { Spider spiderClone = (Spider)enemies[turn - 3]; Console.WriteLine($"{spiderClone.Name}'s turn."); Random rand = new Random(); bool attacked = false; while (!attacked) { int target = rand.Next(3); if (party[target].Health > 0) { spiderClone.Attack(party[target]); attacked = true; } } Console.WriteLine("Please press \"Enter\" to continue"); string Action = Console.ReadLine(); } else if (enemies[turn - 3] is Xenomorph) { Xenomorph xenoClone = (Xenomorph)enemies[turn - 3]; Console.WriteLine($"{xenoClone.Name}'s turn."); Random rand = new Random(); bool attacked = false; while (!attacked) { int target = rand.Next(3); if (party[target].Health > 0) { xenoClone.Attack(party[target]); attacked = true; } } Console.WriteLine("Please press \"Enter\" to continue"); string Action = Console.ReadLine(); } } } if (SumHealthEnemies(enemies) <= 0) { Console.WriteLine("All enemies vanquished! Congratulations!"); int d8 = die.Next(8); IEquipable foundTreasure = treasure[d8]; Equipment equipClone = (Equipment)foundTreasure; Console.WriteLine($"You found {equipClone.Name}! {equipClone.Desc} Who should equip it?"); string choice = "0"; while (choice != "1" && choice != "2" && choice != "3") { Console.WriteLine($"Please type the number of the hero you would like to equip:\n1. {party[0].Name}\n2. {party[1].Name}\n3. {party[2].Name}"); choice = Console.ReadLine(); } switch (choice) { case ("1"): foundTreasure.Equip(party[0]); Console.WriteLine($"{party[0].Name} has equipped the {equipClone.Name}"); party[0].ShowStats(); Console.WriteLine(""); break; case ("2"): foundTreasure.Equip(party[1]); Console.WriteLine($"{party[1].Name} has equipped the {equipClone.Name}"); party[1].ShowStats(); Console.WriteLine(""); break; case ("3"): foundTreasure.Equip(party[2]); Console.WriteLine($"{party[2].Name} has equipped the {equipClone.Name}"); party[2].ShowStats(); Console.WriteLine(""); break; } Console.WriteLine("Onward to the next planet! Good thing you brought clones of everyone!"); player.Health = player.MaxHealth; teammate1.Health = teammate1.MaxHealth; teammate2.Health = teammate2.MaxHealth; Console.WriteLine(""); planet++; if (planet == 5) { ConsoleYellow("You've certainly accomplished something! Saved the universe? Sure! Congratulations!"); } } if (SumHealthParty(party) <= 0) { ConsoleYellow("Your party was killed in self-defense! Game over!"); planet = 5; } round++; } } }
public void Fire() { //tell spider to fire //Debug.Log("Spider should fire!"); _spider.Attack(); }
public void fire() { //Tell Spider to fire // use handle to call Attack on spider m_spider.Attack(); }
public void Fire() { // Debug.Log("Spider should fire!!"); //Spider scriptindeki Attack methoduna ulaş _spider.Attack(); }
public static void ChasingAll(EventArgs args) { var me = ObjectMgr.LocalHero; if (!Game.IsInGame || me.ClassID != ClassID.CDOTA_Unit_Hero_Broodmother || me == null) { return; } var target = me.ClosestToMouseTarget(1900); if (activCombo && target != null && target.IsAlive && !target.IsIllusion) { var Spiderlings = ObjectMgr.GetEntities <Unit>().Where(spiderlings => spiderlings.ClassID == ClassID.CDOTA_Unit_Broodmother_Spiderling).ToList(); foreach (var Spider in Spiderlings) { if (Spider.Distance2D(target) <= 1500 && Utils.SleepCheck(Spider.Handle.ToString())) { Spider.Attack(target); Utils.Sleep(900, Spider.Handle.ToString()); } } foreach (var Spider in Spiderlings) { if (Spider.Distance2D(target) >= 1500 && Utils.SleepCheck(Spider.Handle.ToString())) { Spider.Move(Game.MousePosition); Utils.Sleep(900, Spider.Handle.ToString()); } } var linkens = target.Modifiers.Any(x => x.Name == "modifier_item_spheretarget") || target.Inventory.Items.Any(x => x.Name == "item_sphere"); var enemies = ObjectMgr.GetEntities <Hero>().Where(hero => hero.IsAlive && !hero.IsIllusion && hero.IsVisible && hero.Team != me.Team).ToList(); if (target != null && target.IsAlive && !target.IsIllusion && me.Distance2D(target) <= 1000) { if (Q == null) { Q = me.Spellbook.SpellQ; } if (W == null) ///////It will be added later////////// { W = me.Spellbook.SpellW; } if (R == null) { R = me.Spellbook.SpellR; } // Item if (sheep == null) { sheep = target.ClassID == ClassID.CDOTA_Unit_Hero_Tidehunter ? null : me.FindItem("item_sheepstick"); } if (cheese == null) { cheese = me.FindItem("item_cheese"); } if (orchid == null) { orchid = me.FindItem("item_orchid"); } if (Soul == null) { Soul = me.FindItem("item_soul_ring"); } if (shiva == null) { shiva = me.FindItem("item_shivas_guard"); } if (dagon == null) { dagon = me.Inventory.Items.FirstOrDefault(item => item.Name.Contains("item_dagon")); } if (mom == null) { mom = me.FindItem("item_mask_of_madness"); } if (abyssal == null) { abyssal = me.FindItem("item_abyssal_blade"); } if (mjollnir == null) { mjollnir = me.FindItem("item_mjollnir"); } if (halberd == null) { halberd = me.FindItem("item_heavens_halberd"); } if (medall == null) { medall = me.FindItem("item_medallion_of_courage") ?? me.FindItem("item_solar_crest"); } if (satanic == null) { satanic = me.FindItem("item_satanic"); } if ( // Q Skill Q != null && Q.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && me.Distance2D(target) <= 600 && Utils.SleepCheck("Q") ) { Q.UseAbility(target); Utils.Sleep(250 + Game.Ping, "Q"); } // Q Skill end if ( //R Skill R != null && R.CanBeCasted() && me.CanCast() && me.Distance2D(target) <= 350 && Utils.SleepCheck("R") ) { R.UseAbility(); Utils.Sleep(250 + Game.Ping, "R"); } // R Skill end if ( // orchid orchid != null && orchid.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && !linkens && Utils.SleepCheck("orchid") && me.Distance2D(target) <= 1000 ) { orchid.UseAbility(target); Utils.Sleep(250 + Game.Ping, "orchid"); } // orchid Item end if ( // sheep sheep != null && sheep.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && !linkens && Utils.SleepCheck("sheep") && me.Distance2D(target) <= 600 ) { sheep.UseAbility(target); Utils.Sleep(250 + Game.Ping, "sheep"); } // sheep Item end if ( // Soul Item Soul != null && me.Health / me.MaximumHealth <= 0.5 && me.Mana <= Q.ManaCost && Soul.CanBeCasted()) { Soul.UseAbility(); } // Soul Item end if ( // Shiva Item shiva != null && shiva.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("shiva") && me.Distance2D(target) <= 600 ) { shiva.UseAbility(); Utils.Sleep(250 + Game.Ping, "shiva"); } // Shiva Item end if ( // MOM mom != null && mom.CanBeCasted() && me.CanCast() && Utils.SleepCheck("mom") && me.Distance2D(target) <= 700 ) { mom.UseAbility(); Utils.Sleep(250 + Game.Ping, "mom"); } // MOM Item end if ( // Medall medall != null && medall.CanBeCasted() && Utils.SleepCheck("Medall") && me.Distance2D(target) <= 500 ) { medall.UseAbility(target); Utils.Sleep(250 + Game.Ping, "Medall"); } // Medall Item end if ( // Abyssal Blade abyssal != null && abyssal.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("abyssal") && me.Distance2D(target) <= 400 ) { abyssal.UseAbility(target); Utils.Sleep(250 + Game.Ping, "abyssal"); } // Abyssal Item end if ( // Hellbard halberd != null && halberd.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("halberd") && me.Distance2D(target) <= 700 ) { halberd.UseAbility(target); Utils.Sleep(250 + Game.Ping, "halberd"); } // Hellbard Item end if ( // Mjollnir mjollnir != null && mjollnir.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("mjollnir") && me.Distance2D(target) <= 600 ) { mjollnir.UseAbility(me); Utils.Sleep(250 + Game.Ping, "mjollnir"); } // Mjollnir Item end if ( // Dagon dagon != null && dagon.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("dagon") ) { dagon.UseAbility(target); Utils.Sleep(250 + Game.Ping, "dagon"); } // Dagon Item end if ( // Satanic satanic != null && me.Health / me.MaximumHealth <= 0.4 && satanic.CanBeCasted() && me.Distance2D(target) <= 300 && Utils.SleepCheck("Satanic") ) { satanic.UseAbility(); Utils.Sleep(250 + Game.Ping, "Satanic"); } // Satanic Item end if ( //Attack me.Distance2D(target) <= 1900 && Utils.SleepCheck("Attack") ) { me.Attack(target); Utils.Sleep(300 + Game.Ping, "Attack"); } // Attack /***************************************WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW**********************************/ List <Unit> SpideWeb = ObjectMgr.GetEntities <Unit>().Where(web => web.ClassID == ClassID.CDOTA_Unit_Broodmother_Web).ToList(); e = ObjectMgr.GetEntities <Hero>() .Where(x => x.IsAlive && x.Team != me.Team && !x.IsIllusion) .OrderBy(x => x.Position.Distance2D(SpideWeb.OrderBy(y => x.Position.Distance2D(y.Position)).FirstOrDefault().Position)) .FirstOrDefault(); if (e.Distance2D(SpideWeb.FirstOrDefault()) > 1100 && e != null && W != null && e.IsAlive && !e.IsIllusion) { if (e.Distance2D(SpideWeb.FirstOrDefault()) >= 1100 && me.Distance2D(e) <= 600 && Utils.SleepCheck(e.Handle.ToString()) && W.CanBeCasted()) { W.UseAbility(e.Position); Utils.Sleep(4000, e.Handle.ToString()); } } /***************************************WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW**********************************/ } } }
public void Fire() { Debug.Log("Spider is firing"); _spider.Attack(); }
private static void ChasingAll() { if (Utils.SleepCheck("All")) { var me = ObjectMgr.LocalHero; var target = me.ClosestToMouseTarget(1500); var Spiderlings = ObjectMgr.GetEntities <Unit>().Where(spiderlings => spiderlings.ClassID == ClassID.CDOTA_Unit_Broodmother_Spiderling).ToList(); { if (target != null && target.IsAlive && !target.IsIllusion && chasing.isActive) { { if (Utils.SleepCheck("combing")) { foreach (var Spider in Spiderlings) { if (Spider.Distance2D(target) <= 1500) { Spider.Attack(target); } } } Utils.Sleep(550, "combing"); } } if (Utils.SleepCheck("combo")) { foreach (var Spider in Spiderlings) { if (Spider.Distance2D(target) >= 1500) { Spider.Move(Game.MousePosition); } } } Utils.Sleep(700, "combo"); var linkens = target.Modifiers.Any(x => x.Name == "modifier_item_spheretarget") || target.Inventory.Items.Any(x => x.Name == "item_sphere"); var enemies = ObjectMgr.GetEntities <Hero>().Where(hero => hero.IsAlive && !hero.IsIllusion && hero.IsVisible && hero.Team != me.Team).ToList(); { if (target != null && target.IsAlive && !target.IsIllusion && me.Distance2D(target) <= 1000 && Utils.SleepCheck("combo") && chasing.isActive) { foreach (var Enemy in enemies) { if (me.Distance2D(target) <= 1000 && Utils.SleepCheck("combing")) { Q.UseAbility(target); Utils.Sleep(350, "combing"); } } } else { me.Attack(target); } Utils.Sleep(470, "combo"); } if (Q == null) { Q = me.Spellbook.SpellQ; } /* if (W == null) ///////It will be added later////////// * W = me.Spellbook.SpellW; */ if (R == null) { R = me.Spellbook.SpellR; } // Item if (sheep == null) { sheep = target.ClassID == ClassID.CDOTA_Unit_Hero_Tidehunter ? null : me.FindItem("item_sheepstick"); } if (cheese == null) { cheese = me.FindItem("item_cheese"); } if (orchid == null) { orchid = me.FindItem("item_orchid"); } if (Soul == null) { Soul = me.FindItem("item_soul_ring"); } if (shiva == null) { shiva = me.FindItem("item_shivas_guard"); } dagon = me.Inventory.Items.FirstOrDefault(item => item.Name.Contains("item_dagon")); if (mom == null) { mom = me.FindItem("item_mask_of_madness"); } if (abyssal == null) { abyssal = me.FindItem("item_abyssal_blade"); } if (mjollnir == null) { mjollnir = me.FindItem("item_mjollnir"); } if (halberd == null) { halberd = me.FindItem("item_heavens_halberd"); } if (medall == null) { medall = me.FindItem("item_medallion_of_courage") ?? me.FindItem("item_solar_crest"); } if (satanic == null) { satanic = me.FindItem("item_satanic"); } if ( // Q Skill Q != null && Q.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && me.Distance2D(target) <= 600 && Utils.SleepCheck("Q") ) { Q.UseAbility(target); Utils.Sleep(250 + Game.Ping, "Q"); } // Q Skill end if (//R Skill R != null && R.CanBeCasted() && me.CanCast() && me.Distance2D(target) <= 350 && Utils.SleepCheck("R") ) { R.UseAbility(); Utils.Sleep(250 + Game.Ping, "R"); } // R Skill end if ( // orchid orchid != null && orchid.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && !linkens && Utils.SleepCheck("orchid") && me.Distance2D(target) <= 1000 ) { orchid.UseAbility(target); Utils.Sleep(250 + Game.Ping, "orchid"); } // orchid Item end if (// Soul Item Soul != null && me.Health / me.MaximumHealth <= 0.5 && me.Mana <= Q.ManaCost && Soul.CanBeCasted()) { Soul.UseAbility(); } // Soul Item end if (// Shiva Item shiva != null && shiva.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("shiva") && me.Distance2D(target) <= 600 ) { shiva.UseAbility(); Utils.Sleep(250 + Game.Ping, "shiva"); } // Shiva Item end if (// MOM mom != null && mom.CanBeCasted() && me.CanCast() && Utils.SleepCheck("mom") && me.Distance2D(target) <= 700 ) { mom.UseAbility(); Utils.Sleep(250 + Game.Ping, "mom"); } // MOM Item end if ( // Medall medall != null && medall.CanBeCasted() && Utils.SleepCheck("Medall") && me.Distance2D(target) <= 500 ) { medall.UseAbility(target); Utils.Sleep(250 + Game.Ping, "Medall"); } // Medall Item end if ( // Abyssal Blade abyssal != null && abyssal.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("abyssal") && me.Distance2D(target) <= 400 ) { abyssal.UseAbility(target); Utils.Sleep(250 + Game.Ping, "abyssal"); } // Abyssal Item end if ( // Hellbard halberd != null && halberd.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("halberd") && me.Distance2D(target) <= 700 ) { halberd.UseAbility(target); Utils.Sleep(250 + Game.Ping, "halberd"); } // Hellbard Item end if ( // Mjollnir mjollnir != null && mjollnir.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("mjollnir") && me.Distance2D(target) <= 600 ) { mjollnir.UseAbility(me); Utils.Sleep(250 + Game.Ping, "mjollnir"); } // Mjollnir Item end if (// Dagon dagon != null && dagon.CanBeCasted() && me.CanCast() && !target.IsMagicImmune() && Utils.SleepCheck("dagon") ) { dagon.UseAbility(target); Utils.Sleep(250 + Game.Ping, "dagon"); } // Dagon Item end if (// Satanic satanic != null && me.Health / me.MaximumHealth <= 0.4 && satanic.CanBeCasted() && me.Distance2D(target) <= 300 && Utils.SleepCheck("Satanic") ) { satanic.UseAbility(); Utils.Sleep(250 + Game.Ping, "Satanic"); } // Satanic Item end } } Utils.Sleep(290, "All"); }
public void Fire() { //Debug.Log("spider should fire"); _spider.Attack(); }
public void Fire() { //tell spider to fire spider.Attack(); }
public void Fire() { // Debug.Log("Spider should Fire!"); _spider.Attack(); }
public void Fire() { Debug.Log("Spider should fire!"); spider.Attack(); }
public void Fire() { //Debug.Log("AcidPewPew"); spider.Attack(); }
public void Fire() { //use handle to call attack method on spider _spider.Attack(); }
public void Fire() { _spider.Attack(); }
public void Fire() { // Tell spider to fire _spider.Attack(); }