//from Evade by Esk0r public static bool HasSpellShield(Obj_AI_Hero unit) { if (ObjectManager.Player.HasBuffOfType(BuffType.SpellShield)) { return true; } if (ObjectManager.Player.HasBuffOfType(BuffType.SpellImmunity)) { return true; } //Sivir E if (unit.LastCastedSpellName() == "SivirE" && (EvadeUtils.TickCount - Evade.lastSpellCastTime) < 300) { return true; } //Morganas E if (unit.LastCastedSpellName() == "BlackShield" && (EvadeUtils.TickCount - Evade.lastSpellCastTime) < 300) { return true; } //Nocturnes E if (unit.LastCastedSpellName() == "NocturneShit" && (EvadeUtils.TickCount - Evade.lastSpellCastTime) < 300) { return true; } return false; }
//from Evade by Esk0r public static bool HasSpellShield(Obj_AI_Hero unit) { if (ObjectManager.Player.HasBuffOfType(BuffType.SpellShield)) { return(true); } if (ObjectManager.Player.HasBuffOfType(BuffType.SpellImmunity)) { return(true); } //Sivir E if (unit.LastCastedSpellName() == "SivirE" && (EvadeUtils.TickCount - Evade.lastSpellCastTime) < 300) { return(true); } //Morganas E if (unit.LastCastedSpellName() == "BlackShield" && (EvadeUtils.TickCount - Evade.lastSpellCastTime) < 300) { return(true); } //Nocturnes E if (unit.LastCastedSpellName() == "NocturneShit" && (EvadeUtils.TickCount - Evade.lastSpellCastTime) < 300) { return(true); } return(false); }
public static bool IsSpellShielded(this Obj_AI_Hero unit) { if (ObjectManager.Player.HasBuffOfType(BuffType.SpellShield)) { return(true); } if (ObjectManager.Player.HasBuffOfType(BuffType.SpellImmunity)) { return(true); } //Sivir E if (unit.LastCastedSpellName() == "SivirE" && (LeagueSharp.Common.Utils.TickCount - unit.LastCastedSpellT()) < 300) { return(true); } //Morganas E if (unit.LastCastedSpellName() == "BlackShield" && (LeagueSharp.Common.Utils.TickCount - unit.LastCastedSpellT()) < 300) { return(true); } //Nocturnes E if (unit.LastCastedSpellName() == "NocturneShit" && (LeagueSharp.Common.Utils.TickCount - unit.LastCastedSpellT()) < 300) { return(true); } return(false); }
/// <summary> /// Gets a value indicating whether the target has protection or not. /// </summary> /// <value> /// <c>true</c> if the has no protection.; otherwise, <c>false</c>. /// </value> public static bool IsSpellShielded(Obj_AI_Hero unit) => unit.HasBuffOfType(BuffType.SpellShield) || unit.HasBuffOfType(BuffType.SpellImmunity) || Utils.TickCount - unit.LastCastedSpellT() < 300 && ( unit.LastCastedSpellName().Equals("SivirE") || unit.LastCastedSpellName().Equals("BlackShield") || unit.LastCastedSpellName().Equals("NocturneShit") );
private void GameOnOnGameUpdate(EventArgs args) { try { if (ActiveMode == OrbwalkingMode.None) { return; } //Prevent canceling important channeled spells if (Player.IsChannelingImportantSpell()) { if (!NoInterruptSpells.ContainsKey(Player.ChampionName) || !NoInterruptSpells[Player.ChampionName].Contains(Player.LastCastedSpellName())) { return; } } var target = GetTarget(); Orbwalk( target, (_orbwalkingPoint.To2D().IsValid()) ? _orbwalkingPoint : Game.CursorPos, _config.Item("ExtraWindup").GetValue <Slider>().Value, _config.Item("HoldPosRadius").GetValue <Slider>().Value); } catch (Exception e) { Console.WriteLine(e); } }
public void combo(Menu menu) { bool comboUseQ = menu.Item("useQ").GetValue <bool>(); bool usePacket = menu.Item("usePacket").GetValue <bool>(); obtainTarget(comboUseQ); if (target != null) { // Se está "castando" e o último "castado" é o W, e a opção shortW está ativada if (sBook.IsCastingSpell && (_player.LastCastedSpellName() == wData.Name) && menu.Item("shortW").GetValue <bool>()) { int shortWRangeOpt = menu.Item("shortWRange").GetValue <StringList>().SelectedIndex; float trueAARange = _player.AttackRange + target.BoundingRadius; interruptW(comboUseQ, usePacket, shortWRangeOpt == 0 ? trueAARange : 300); } // Se o orbwalker lock está ativado if (menu.Item("orbLock").GetValue <bool>() && target.Distance(Game.CursorPos) < 200) { setOrbwalkingToTargetPos(); } else { setOrbwalkToCursorPos(); } // Se o Q está configurado para usar if (comboUseQ) { useQ(target, usePacket); } // Se o E está configurado para usar if (menu.Item("useE").GetValue <bool>()) { useE(target, usePacket); } // Se o W está configurado para usar e está configurado para usar no combo int useWWhen = menu.Item("useWWhen").GetValue <StringList>().SelectedIndex; if (menu.Item("useW").GetValue <bool>() && useWWhen == 0) { int useWOn = menu.Item("useWon").GetValue <Slider>().Value; useW(useWOn, usePacket); } // Se o R está configurado para usar if (menu.Item("useR").GetValue <bool>()) { useR(target, usePacket); } } else { setOrbwalkToCursorPos(); } }
//from Evade by Esk0r public static bool HasSpellShield(Obj_AI_Hero unit) { if (ObjectManager.GetLocalPlayer().HasBuffOfType(BuffType.SpellShield)) { return(true); } if (ObjectManager.GetLocalPlayer().HasBuffOfType(BuffType.SpellImmunity)) { return(true); } if (unit.LastCastedSpellName() == "SivirE" && Environment.TickCount - Evade.LastSpellCastTime < 300) { return(true); } if (unit.LastCastedSpellName() == "BlackShield" && Environment.TickCount - Evade.LastSpellCastTime < 300) { return(true); } return(unit.LastCastedSpellName() == "NocturneShit" && Environment.TickCount - Evade.LastSpellCastTime < 300); }
private static bool IsSpellShielded(Obj_AI_Hero unit) { if (ObjectManager.Player.HasBuffOfType(BuffType.SpellShield)) { return true; } if (ObjectManager.Player.HasBuffOfType(BuffType.SpellImmunity)) { return true; } //Sivir E if (unit.LastCastedSpellName() == "SivirE" && (Environment.TickCount - unit.LastCastedSpellT()) < 300) { return true; } //Morganas E if (unit.LastCastedSpellName() == "BlackShield" && (Environment.TickCount - unit.LastCastedSpellT()) < 300) { return true; } //Nocturnes E if (unit.LastCastedSpellName() == "NocturneShit" && (Environment.TickCount - unit.LastCastedSpellT()) < 300) { return true; } return false; }
static void Interrupter_OnPossibleToInterrupt(Obj_AI_Base unit, InterruptableSpell spell) { if (!unit.IsValid || unit.IsDead || !unit.IsTargetable || unit.IsStunned) { return; } if (R.IsReady() && R.IsInRange(unit.Position) && spell.DangerLevel >= InterruptableDangerLevel.High) { R.Cast(unit.Position, true); return; } else { if (!menu.Item("exhaust").GetValue <bool>()) { return; } if (unit.Distance(player.Position) > 600) { return; } if (player.GetSpellSlot("SummonerExhaust") != SpellSlot.Unknown && player.Spellbook.CanUseSpell(player.GetSpellSlot("SummonerExhaust")) == SpellState.Ready) { player.Spellbook.CastSpell(player.GetSpellSlot("SummonerExhaust"), unit); } if ((W.IsReady() && GetPassiveCount() == 2) || (Utility.HasBuff(player, "sonapassiveattack") && player.LastCastedSpellName() == "SonaW") || (Utility.HasBuff(player, "sonapassiveattack") && W.IsReady())) { if (W.IsReady()) { W.Cast(); } player.IssueOrder(GameObjectOrder.AttackUnit, unit); } } }
private static void OnGameUpdate(EventArgs args) { var PlayerCrit = Player.Crit.ToString(); var PlayerCrit1 = PlayerCrit.Replace("0,", "") + "%"; String temp = ""; foreach (var buff in Player.Buffs) { temp += (buff.DisplayName + "(" + buff.Count + ")" + ", "); } SpellDataInst spellQ = Player.Spellbook.GetSpell(SpellSlot.Q); SpellData dataQ = Player.Spellbook.GetSpell(SpellSlot.Q).SData; SpellDataInst spellW = Player.Spellbook.GetSpell(SpellSlot.W); SpellData dataW = Player.Spellbook.GetSpell(SpellSlot.W).SData; SpellDataInst spellE = Player.Spellbook.GetSpell(SpellSlot.E); SpellData dataE = Player.Spellbook.GetSpell(SpellSlot.E).SData; SpellDataInst spellR = Player.Spellbook.GetSpell(SpellSlot.R); SpellData dataR = Player.Spellbook.GetSpell(SpellSlot.R).SData; if (Config.Item("ActiveConsole").GetValue <KeyBind>().Active) { Console.WriteLine("Coordinates:" + Player.Position.ToString()); Console.Write("Gold Earned: " + Player.GoldTotal.ToString()); Console.Write("Attack Delay: " + Player.AttackDelay.ToString()); Console.Write("Chance of Critical: " + PlayerCrit); Console.Write("Wards Destroyed: ", Player.WardsKilled.ToString()); Console.Write("Wards Placed: ", Player.WardsPlaced.ToString()); Console.Write("Wards Bought: ", Player.SightWardsBought + Player.VisionWardsBought.ToString()); Console.Write("Last SpellCasted" + Player.LastCastedSpellName()); Console.Write("Player Direction:" + Player.Direction.ToString()); Console.Write("Base AD: " + Player.BaseAttackDamage.ToString()); Console.Write("Base AP: " + Player.BaseAbilityDamage.ToString()); Console.Write("Experience: " + Player.Experience.ToString()); Console.Write("Cursor Position: " + Game.CursorPos.ToString()); Console.Write("Buffs: " + temp.ToString()); Console.Write("Q Name:" + spellQ.Name.ToString()); Console.Write("Q Level:" + spellQ.Level.ToString()); Console.Write("Q Range:" + spellQ.SData.CastRange.ToString()); Console.Write("W Name:" + spellW.Name.ToString()); Console.Write("W Level:" + spellW.Level.ToString()); Console.Write("W Range:" + spellW.SData.CastRange.ToString()); Console.Write("E Name:" + spellE.Name.ToString()); Console.Write("E Level:" + spellE.Level.ToString()); Console.Write("E Range:" + spellE.SData.CastRange.ToString()); Console.Write("R Name:" + spellR.Name.ToString()); Console.Write("R Level:" + spellR.Level.ToString()); Console.Write("R Range:" + spellR.SData.CastRange.ToString()); } Drawing.DrawText(10, 0, Color.Red, "Dev Essentials v0.1 by DanZ and DrunkenNinja "); Drawing.DrawText(10, 10, Color.White, "Coordinates:"); Drawing.DrawText(10, 25, Color.White, Player.Position.ToString()); Drawing.DrawText(10, 55, Color.White, "General Info:"); Drawing.DrawText(10, 70, Color.White, "Gold Earned: " + Player.GoldTotal.ToString()); Drawing.DrawText(10, 85, Color.White, "Attack Delay: " + Player.AttackDelay.ToString()); Drawing.DrawText(10, 100, Color.White, "Chance of Critical: " + PlayerCrit); Drawing.DrawText(10, 130, Color.White, "Wards:"); Drawing.DrawText(10, 145, Color.White, "Wards Destroyed: ", Player.WardsKilled.ToString()); Drawing.DrawText(10, 160, Color.White, "Wards Placed: ", Player.WardsPlaced.ToString()); Drawing.DrawText(10, 175, Color.White, "Wards Bought: ", Player.SightWardsBought + Player.VisionWardsBought.ToString()); Drawing.DrawText(10, 195, Color.White, "Last Spell Casted:"); Drawing.DrawText(10, 210, Color.White, Player.LastCastedSpellName()); Drawing.DrawText(10, 225, Color.White, "Player Direction:"); Drawing.DrawText(10, 240, Color.White, Player.Direction.ToString()); Drawing.DrawText(10, 265, Color.White, "Base AD: " + Player.BaseAttackDamage.ToString()); Drawing.DrawText(10, 280, Color.White, "Base AP: " + Player.BaseAbilityDamage.ToString()); Drawing.DrawText(10, 305, Color.White, "Experience: " + Player.Experience.ToString()); Drawing.DrawText(10, 325, Color.White, "Cursor Position: " + Game.CursorPos.ToString()); Drawing.DrawText(10, 355, Color.White, "Buffs: "); Drawing.DrawText(10, 370, Color.White, temp.ToString()); Drawing.DrawText(400, 0, Color.White, "Skill Info:"); Drawing.DrawText(400, 25, Color.White, "Q: "); Drawing.DrawText(400, 40, Color.White, "--------"); Drawing.DrawText(400, 50, Color.White, "Name: " + spellQ.Name.ToString()); Drawing.DrawText(400, 65, Color.White, "Level: " + spellQ.Level.ToString()); Drawing.DrawText(400, 80, Color.White, "Range: " + spellQ.SData.CastRange.ToString()); Drawing.DrawText(400, 100, Color.White, "W: "); Drawing.DrawText(400, 115, Color.White, "--------"); Drawing.DrawText(400, 130, Color.White, "Name: " + spellW.Name.ToString()); Drawing.DrawText(400, 145, Color.White, "Level: " + spellW.Level.ToString()); Drawing.DrawText(400, 160, Color.White, "Range: " + spellW.SData.CastRange.ToString()); Drawing.DrawText(400, 180, Color.White, "E: "); Drawing.DrawText(400, 195, Color.White, "--------"); Drawing.DrawText(400, 210, Color.White, "Name: " + spellE.Name.ToString()); Drawing.DrawText(400, 225, Color.White, "Level: " + spellE.Level.ToString()); Drawing.DrawText(400, 240, Color.White, "Range: " + spellE.SData.CastRange.ToString()); Drawing.DrawText(400, 280, Color.White, "R: "); Drawing.DrawText(400, 295, Color.White, "--------"); Drawing.DrawText(400, 310, Color.White, "Name: " + spellR.Name.ToString()); Drawing.DrawText(400, 325, Color.White, "Level: " + spellR.Level.ToString()); Drawing.DrawText(400, 340, Color.White, "Range: " + spellR.SData.CastRange.ToString()); Drawing.DrawText(0, 10, Color.Red, "|"); Drawing.DrawText(0, 20, Color.Red, "|"); Drawing.DrawText(0, 30, Color.Red, "|"); Drawing.DrawText(0, 40, Color.Red, "|"); Drawing.DrawText(0, 50, Color.Red, "|"); Drawing.DrawText(0, 60, Color.Red, "|"); Drawing.DrawText(0, 70, Color.Red, "|"); Drawing.DrawText(0, 80, Color.Red, "|"); Drawing.DrawText(0, 90, Color.Red, "|"); Drawing.DrawText(0, 100, Color.Red, "|"); Drawing.DrawText(0, 110, Color.Red, "|"); Drawing.DrawText(0, 120, Color.Red, "|"); Drawing.DrawText(0, 130, Color.Red, "|"); Drawing.DrawText(0, 140, Color.Red, "|"); Drawing.DrawText(0, 150, Color.Red, "|"); Drawing.DrawText(0, 160, Color.Red, "|"); Drawing.DrawText(0, 170, Color.Red, "|"); Drawing.DrawText(0, 180, Color.Red, "|"); Drawing.DrawText(0, 190, Color.Red, "|"); Drawing.DrawText(0, 200, Color.Red, "|"); Drawing.DrawText(0, 210, Color.Red, "|"); Drawing.DrawText(0, 220, Color.Red, "|"); Drawing.DrawText(0, 230, Color.Red, "|"); Drawing.DrawText(0, 240, Color.Red, "|"); Drawing.DrawText(0, 250, Color.Red, "|"); Drawing.DrawText(0, 260, Color.Red, "|"); Drawing.DrawText(0, 270, Color.Red, "|"); Drawing.DrawText(0, 280, Color.Red, "|"); Drawing.DrawText(0, 290, Color.Red, "|"); Drawing.DrawText(0, 300, Color.Red, "|"); Drawing.DrawText(0, 310, Color.Red, "|"); Drawing.DrawText(0, 320, Color.Red, "|"); Drawing.DrawText(0, 330, Color.Red, "|"); Drawing.DrawText(0, 340, Color.Red, "|"); Drawing.DrawText(0, 350, Color.Red, "|"); Drawing.DrawText(0, 360, Color.Red, "|"); Drawing.DrawText(0, 370, Color.Red, "|"); // Drawing.DrawText(390, 0, Color.Red, "|"); Drawing.DrawText(390, 10, Color.Red, "|"); Drawing.DrawText(390, 20, Color.Red, "|"); Drawing.DrawText(390, 30, Color.Red, "|"); Drawing.DrawText(390, 40, Color.Red, "|"); Drawing.DrawText(390, 50, Color.Red, "|"); Drawing.DrawText(390, 60, Color.Red, "|"); Drawing.DrawText(390, 70, Color.Red, "|"); Drawing.DrawText(390, 80, Color.Red, "|"); Drawing.DrawText(390, 90, Color.Red, "|"); Drawing.DrawText(390, 100, Color.Red, "|"); Drawing.DrawText(390, 110, Color.Red, "|"); Drawing.DrawText(390, 120, Color.Red, "|"); Drawing.DrawText(390, 130, Color.Red, "|"); Drawing.DrawText(390, 140, Color.Red, "|"); Drawing.DrawText(390, 150, Color.Red, "|"); Drawing.DrawText(390, 160, Color.Red, "|"); Drawing.DrawText(390, 170, Color.Red, "|"); Drawing.DrawText(390, 180, Color.Red, "|"); Drawing.DrawText(390, 190, Color.Red, "|"); Drawing.DrawText(390, 200, Color.Red, "|"); Drawing.DrawText(390, 210, Color.Red, "|"); Drawing.DrawText(390, 220, Color.Red, "|"); Drawing.DrawText(390, 230, Color.Red, "|"); Drawing.DrawText(390, 240, Color.Red, "|"); Drawing.DrawText(390, 250, Color.Red, "|"); Drawing.DrawText(390, 260, Color.Red, "|"); Drawing.DrawText(390, 270, Color.Red, "|"); Drawing.DrawText(390, 280, Color.Red, "|"); Drawing.DrawText(390, 290, Color.Red, "|"); Drawing.DrawText(390, 300, Color.Red, "|"); Drawing.DrawText(390, 310, Color.Red, "|"); Drawing.DrawText(390, 320, Color.Red, "|"); Drawing.DrawText(390, 330, Color.Red, "|"); Drawing.DrawText(390, 335, Color.Red, "|"); Drawing.DrawText(390, 340, Color.Red, "|"); }
private static void OnGameUpdate(EventArgs args) { CheckAutoWindUp(); if (Player.IsDead || CurrentMode == Mode.None || MenuGUI.IsChatOpen || Player.IsRecalling()) { return; } if (Player.IsChannelingImportantSpell() && (!NoInterruptSpells.ContainsKey(Player.ChampionName) || !NoInterruptSpells[Player.ChampionName].Contains(Player.LastCastedSpellName()))) { return; } Orbwalk(CurrentMode == Mode.Flee ? null : GetPossibleTarget()); }
private static void Game_OnGameInput(GameInputEventArgs args) { if (args.Input.StartsWith("#")) { args.Process = false; if (args.Input.ToLowerInvariant().Contains("print buffs") && !args.Input.ToLowerInvariant().Contains("print buffs nearest")) { print(countbuffs(Player) + " buffs have been found:", "normal"); foreach (var Buff in Player.Buffs) { Game.PrintChat("<font color=\'#1fdb35\'> Buff Name: </font>" + Buff.Name); Game.PrintChat("<font color=\'#1fdb35\'> Buff Display Name: </font>" + Buff.DisplayName); Game.PrintChat("<font color=\'#1fdb35\'> Buff Type: </font>" + Buff.Type); Game.PrintChat("--------------------------"); } } else if (args.Input.ToLowerInvariant().Contains("print buffs nearest")) { print(countbuffs(GetNearestTarget(Game.CursorPos)) + " buffs have been found:", "normal"); foreach (var Buff in GetNearestTarget(Game.CursorPos).Buffs) { Game.PrintChat("<font color=\'#1fdb35\'> Buff Name: </font>" + Buff.Name); Game.PrintChat("<font color=\'#1fdb35\'> Buff Display Name: </font>" + Buff.DisplayName); Game.PrintChat("<font color=\'#1fdb35\'> Buff Type: </font>" + Buff.Type); Game.PrintChat("--------------------------"); } } else if (args.Input.ToLowerInvariant().Contains("champname")) { print("Your champion is named " + Player.ChampionName, "normal"); print("Your champion's base skin is named " + Player.BaseSkinName, "normal"); print("Your champion's current skin name is " + Player.SkinName, "normal"); } else if (args.Input.ToLowerInvariant().Contains("print position") && !args.Input.ToLowerInvariant().Contains("print position cursor")) { print("Your position is: " + Player.Position, "normal"); } else if (args.Input.ToLowerInvariant().Contains("print position cursor")) { print("Your cursor's position is: " + Game.CursorPos, "normal"); } else if (args.Input.ToLowerInvariant().Contains("print petinfo")) { if (Player.Pet != null) { var pet = Player.Pet; print("Pet found! Printing info:", "normal"); Game.PrintChat("Pet name is: " + pet.Name); Game.PrintChat("Pet position is: " + pet.Position); Game.PrintChat("Pet type is: " + pet.Type); Game.PrintChat("Pet return radius: " + Player.PetReturnRadius); Game.PrintChat("Last Pet Spawned ID: " + Player.AI_LastPetSpawnedID); } else { print("Pet not found!", "error"); } } else if (args.Input.ToLowerInvariant().Contains("print iteminfo")) { if (Player.InventoryItems.Count() > 0) { print("Printing items' info:", "normal"); foreach (var Item in Player.InventoryItems) { Game.PrintChat("Item Display Name: " + Item.DisplayName); Game.PrintChat("Item Name: " + Item.Name); Game.PrintChat("Item ID: " + Item.Id); Game.PrintChat("Item Stacks: " + Item.Stacks); Game.PrintChat("--------------------------"); } } else { print("You do not own any items!", "error"); } } else if (args.Input.ToLowerInvariant().Contains("print attacktype")) { if (Player.IsMelee()) { print("Champion is melee!", "normal"); } else if (!Player.IsMelee()) { print("Champion is ranged!", "normal"); } else { print("Unexpected error!", "error"); } } else if (args.Input.ToLowerInvariant().Contains("print largest critstrike")) { if (Player.LargestCriticalStrike != 0) { print("Your largest critical strike is " + Player.LargestCriticalStrike, "normal"); } else { print("You haven't critically striked yet!", "error"); } } else if (args.Input.ToLowerInvariant() == "print my info") { print("Printing info:", "normal"); Game.PrintChat("Armor: " + Player.Armor); Game.PrintChat("Flat Magic Reduction: " + Player.FlatMagicReduction); Game.PrintChat("Gold: " + Player.Gold); Game.PrintChat("Current Gold: " + Player.GoldCurrent); Game.PrintChat("Gold Earned: " + Player.GoldEarned); Game.PrintChat("Has Bot AI: " + Player.HasBotAI); Game.PrintChat("HP: " + Player.Health + "/" + Player.MaxHealth); Game.PrintChat("HP Percentage: " + Player.HealthPercentage()); Game.PrintChat("Mana: " + Player.Mana + "/" + Player.MaxMana); Game.PrintChat("Mana Percentage: " + Player.ManaPercentage()); } else if (args.Input.ToLowerInvariant().Contains("print my info 2")) { Game.PrintChat("HP Regen Rate: " + Player.HPRegenRate); // Game.PrintChat("Is In Fountain: " + Player.InFountain()); Game.PrintChat("Is In Shop: " + Player.InShop()); Game.PrintChat("Is Bot: " + Player.IsBot); Game.PrintChat("Is Player Dead?: " + Player.IsDead); Game.PrintChat("Is Immovable: " + Player.IsImmovable); Game.PrintChat("Is Invulnerable: " + Player.IsInvulnerable); Game.PrintChat("Is Moving: " + Player.IsMoving); Game.PrintChat("Is Pacified: " + Player.IsPacified); Game.PrintChat("Is Recalling: " + Player.IsRecalling()); } else if (args.Input.ToLowerInvariant().Contains("print my info 3")) { Game.PrintChat("Is Rooted: " + Player.IsRooted);// Game.PrintChat("Is Stunned: " + Player.IsStunned); Game.PrintChat("Is Targetable: " + Player.IsTargetable); Game.PrintChat("Is Visible: " + Player.IsVisible); Game.PrintChat("Is Winding Up: " + Player.IsWindingUp); Game.PrintChat("Is Zombie: " + Player.IsZombie); Game.PrintChat("Last Spell Casted: " + Player.LastCastedSpellName()); Game.PrintChat("Last Spell's Target: " + Player.LastCastedSpellTarget()); Game.PrintChat("Last Pause Position: " + Player.LastPausePosition); Game.PrintChat("Level: " + Player.Level); } else if (args.Input.ToLowerInvariant().Contains("print my info 4")) { Game.PrintChat("Level Cap: " + Player.LevelCap);// Game.PrintChat("Lifesteal Immune: " + Player.LifestealImmune); Game.PrintChat("Longest Time Alive: " + Player.LongestTimeSpentLiving); Game.PrintChat("Magic Immune: " + Player.MagicImmune); Game.PrintChat("Network ID: " + Player.NetworkId); Game.PrintChat("Wards Killed: " + Player.WardsKilled); Game.PrintChat("Wards Placed: " + Player.WardsPlaced); } else if (args.Input.ToLowerInvariant().Contains("print game info")) { print("Printing game info:", "normal"); Game.PrintChat("Clock Time: " + Game.ClockTime); Game.PrintChat("ID: " + Game.Id); Game.PrintChat("IP: " + Game.IP); Game.PrintChat("Map ID: " + Game.MapId); Game.PrintChat("Mode: " + Game.Mode); Game.PrintChat("Ping: " + Game.Ping); Game.PrintChat("Time: " + Game.Time); Game.PrintChat("Version: " + Game.Version); } else if (args.Input.ToLowerInvariant().Contains("ping")) { print("Ping: " + Game.Ping, "normal"); } else { print("Command not found!", "error"); } } }