private void Clean() { if (Quicksilver.IsReady()) { Quicksilver.Cast(); } else if (Mercurial.IsReady()) { Mercurial.Cast(); } else if (Dervish.IsReady()) { Dervish.Cast(); } }
private void Clean() { if (Quicksilver.IsReady()) { Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Quicksilver.Cast()); } else if (Mercurial.IsReady()) { Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Mercurial.Cast()); } else if (Dervish.IsReady()) { Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Dervish.Cast()); } }
private static void Clean() { if (Quicksilver.IsReady() && CleansersMenu["qss"].Cast <CheckBox>().CurrentValue) { Quicksilver.Cast(); } else if (Mercurial.IsReady() && CleansersMenu["qss3"].Cast <CheckBox>().CurrentValue) { Mercurial.Cast(); } else if (Dervish.IsReady() && CleansersMenu["qss4"].Cast <CheckBox>().CurrentValue) { Dervish.Cast(); } }
private void Clean() { if (Quicksilver.IsReady()) { Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Quicksilver.Cast()); } else if (Mercurial.IsReady()) { Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Mercurial.Cast()); } else if (Dervish.IsReady()) { Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Dervish.Cast()); } else if (cleanse != SpellSlot.Unknown && cleanse.IsReady() && getCheckBoxItem("Cleanse")) { Utility.DelayAction.Add(getSliderItem("CSSdelay"), () => Player.Spellbook.CastSpell(cleanse, Player)); } }
private void Clean() { if (Quicksilver.IsReady()) { LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Quicksilver.Cast()); } else if (Mercurial.IsReady()) { LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Mercurial.Cast()); } else if (Dervish.IsReady()) { LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Dervish.Cast()); } else if (cleanse != SpellSlot.Unknown && cleanse.IsReady() && Config.Item("Cleanse").GetValue <bool>()) { LeagueSharp.Common.Utility.DelayAction.Add(Config.Item("CSSdelay").GetValue <Slider>().Value, () => Player.Spellbook.CastSpell(cleanse, Player)); } }
private void Cleansers() { if (!Quicksilver.IsReady() && !Mikaels.IsReady() && !Mercurial.IsReady() && !Dervish.IsReady() && !cleanse.IsReady()) { return; } if (Player.HealthPercent >= getSliderItem("cleanHP") || !getCheckBoxItem("Clean")) { return; } if (Player.HasBuff("zedrdeathmark") || Player.HasBuff("FizzMarinerDoom") || Player.HasBuff("MordekaiserChildrenOfTheGrave") || Player.HasBuff("PoppyDiplomaticImmunity") || Player.HasBuff("VladimirHemoplague")) { Clean(); } if (Mikaels.IsReady()) { foreach (var ally in Program.Allies.Where( ally => ally.IsValid && !ally.IsDead && getCheckBoxItem("MikaelsAlly" + ally.ChampionName) && Player.Distance(ally.Position) < Mikaels.Range && ally.HealthPercent < (float)getSliderItem("cleanHP"))) { if (ally.HasBuff("zedrdeathmark") || ally.HasBuff("FizzMarinerDoom") || ally.HasBuff("MordekaiserChildrenOfTheGrave") || ally.HasBuff("PoppyDiplomaticImmunity") || ally.HasBuff("VladimirHemoplague")) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Stun) && getCheckBoxItem("Stun")) // getCheckBoxItem("Stun") { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Snare) && getCheckBoxItem("Snare")) // getCheckBoxItem("Snare") { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Charm) && getCheckBoxItem("Charm")) // getCheckBoxItem("Charm") { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Fear) && getCheckBoxItem("Fear")) // getCheckBoxItem("Fear") { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Stun) && getCheckBoxItem("Stun")) // getCheckBoxItem("Stun") { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Taunt) && getCheckBoxItem("Taunt")) // getCheckBoxItem("Taunt") { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Suppression) && getCheckBoxItem("Suppression")) { // getCheckBoxItem("Suppression") Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Blind) && getCheckBoxItem("Blind")) // getCheckBoxItem("Blind") { Mikaels.Cast(ally); } } } if (Player.HasBuffOfType(BuffType.Stun) && getCheckBoxItem("Stun")) { Clean(); } if (Player.HasBuffOfType(BuffType.Snare) && getCheckBoxItem("Snare")) { Clean(); } if (Player.HasBuffOfType(BuffType.Charm) && getCheckBoxItem("Charm")) { Clean(); } if (Player.HasBuffOfType(BuffType.Fear) && getCheckBoxItem("Fear")) { Clean(); } if (Player.HasBuffOfType(BuffType.Stun) && getCheckBoxItem("Stun")) { Clean(); } if (Player.HasBuffOfType(BuffType.Taunt) && getCheckBoxItem("Taunt")) { Clean(); } if (Player.HasBuffOfType(BuffType.Suppression) && getCheckBoxItem("Suppression")) { Clean(); } if (Player.HasBuffOfType(BuffType.Blind) && getCheckBoxItem("Blind")) { Clean(); } }
private void Clean() { if (Quicksilver.IsReady) { DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Quicksilver.Cast()); } else if (Mercurial.IsReady) { DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Mercurial.Cast()); } else if (Dervish.IsReady) { DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Dervish.Cast()); } else if (CanUse(Cleanse) && Config["activator"]["summoner"].GetValue <MenuBool>("Cleanse").Value) { DelayAction.Add(Config["activator"]["cleansers"].GetValue <MenuSlider>("CSSdelay").Value, () => Player.Spellbook.CastSpell(Cleanse, Player)); } }
private void Cleansers() { if (!Quicksilver.IsReady() && !Mikaels.IsReady() && !Mercurial.IsReady() && !Dervish.IsReady()) { return; } if ((Player.HasBuff("zedrdeathmark") || Player.HasBuff("FizzMarinerDoom") || Player.HasBuff("MordekaiserChildrenOfTheGrave") || Player.HasBuff("PoppyDiplomaticImmunity") || Player.HasBuff("VladimirHemoplague")) && CleansersMenu["special"].Cast <CheckBox>().CurrentValue) { Clean(); } if (Mikaels.IsReady() && CleansersMenu["qss2"].Cast <CheckBox>().CurrentValue) { foreach (var ally in EntityManager.Heroes.Allies.Where( ally => ally.IsValid && !ally.IsDead && CleansersMenu["m" + ally.ChampionName].Cast <CheckBox>().CurrentValue&& Player.Distance(ally.Position) < Mikaels.Range)) { if (ally.HasBuff("zedrdeathmark") || ally.HasBuff("FizzMarinerDoom") || ally.HasBuff("MordekaiserChildrenOfTheGrave") || ally.HasBuff("PoppyDiplomaticImmunity") || ally.HasBuff("VladimirHemoplague")) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Stun) && CleansersMenu["stun"].Cast <CheckBox>().CurrentValue) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Snare) && CleansersMenu["snare"].Cast <CheckBox>().CurrentValue) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Charm) && CleansersMenu["charm"].Cast <CheckBox>().CurrentValue) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Fear) && CleansersMenu["fear"].Cast <CheckBox>().CurrentValue) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Taunt) && CleansersMenu["taunt"].Cast <CheckBox>().CurrentValue) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Suppression) && CleansersMenu["suppr"].Cast <CheckBox>().CurrentValue) { Mikaels.Cast(ally); } if (ally.HasBuffOfType(BuffType.Blind) && CleansersMenu["blind"].Cast <CheckBox>().CurrentValue) { Mikaels.Cast(ally); } } } if (Player.HasBuffOfType(BuffType.Stun) && CleansersMenu["stun"].Cast <CheckBox>().CurrentValue) { Clean(); } if (Player.HasBuffOfType(BuffType.Snare) && CleansersMenu["snare"].Cast <CheckBox>().CurrentValue) { Clean(); } if (Player.HasBuffOfType(BuffType.Charm) && CleansersMenu["charm"].Cast <CheckBox>().CurrentValue) { Clean(); } if (Player.HasBuffOfType(BuffType.Fear) && CleansersMenu["fear"].Cast <CheckBox>().CurrentValue) { Clean(); } if (Player.HasBuffOfType(BuffType.Taunt) && CleansersMenu["taunt"].Cast <CheckBox>().CurrentValue) { Clean(); } if (Player.HasBuffOfType(BuffType.Suppression) && CleansersMenu["suppr"].Cast <CheckBox>().CurrentValue) { Clean(); } if (Player.HasBuffOfType(BuffType.Blind) && CleansersMenu["blind"].Cast <CheckBox>().CurrentValue) { Clean(); } }
// Use this for initialization public void Awake() { DontDestroyOnLoad(transform.gameObject); EquipmentFactory = new equipmentFactory(); if (Application.loadedLevelName == "setup") { previousScene = "setup"; Application.LoadLevel("OverworldBaseCamp"); } InfernalSpawn = (GameObject)Resources.Load("Enemy Prefabs/InfernalEnemy", typeof(GameObject)); #region ability initialization Abilities = new Dictionary<string, Ability>(); // Attack type, damage type, range, angle, cooldown, damagemod, resource cost #region player abilities #region spammed abilities Abilities["fireball"] = new Fireball(AttackType.PROJECTILE, DamageType.FIRE, 10.0f, 0.0f, 0.0f, 10.0f, 0f, "fireball", "Fireball", FireballExplosion); Abilities["shadowbolt"] = new Shadowbolt(AttackType.HONINGPROJECTILE, DamageType.SHADOW, 10.0f, 0.0f, 0.0f, 1.0f, 0f, "shadowbolt", "Shadowbolt", ShadowboltExplosion); Abilities["improvedshadowbolt"] = new ImprovedShadowbolt(AttackType.HONINGPROJECTILE, DamageType.SHADOW, 10.0f, 0.0f, 0.0f, 1.0f, 0f, "improvedshadowbolt", "Improved Shadowbolt", ShadowboltExplosion); Abilities["poisonbolt"] = new Poisonbolt(AttackType.HONINGPROJECTILE, DamageType.POISON, 10.0f, 0.0f, 0.0f, 10.0f, 0f, "poisonbolt", "poisonbolt", FireballExplosion); Abilities["bloodbolt"] = new Bloodbolt(AttackType.HONINGPROJECTILE, DamageType.PHYSICAL, 10.0f, 0.0f, 0.0f, 10.0f, 0f, "bloodbolt", "bloodbolt", FireballExplosion); Abilities["chaosbolt"] = new Chaosbolt(AttackType.HONINGPROJECTILE, DamageType.FIRE, 10.0f, 0.0f, 0.0f, 10.0f, 0f, "chaosbolt", "chaosbolt", ChaosboltExplosion); Abilities["chaosbarragebolt"] = new ChaosBarrageBolt(AttackType.HONINGPROJECTILE, DamageType.FIRE, 10.0f, 0.0f, 0.0f, 10.0f, 0f, "chaosbarragebolt", "chaosbarragebolt", ChaosboltExplosion); Abilities["icebolt"] = new IceBolt(AttackType.PROJECTILE, DamageType.WATER, 8f, 0f, 0.0f, 10.0f, 0f, "icebolt", "Ice Bolt", IceBoltParticles); Abilities["cleave"] = new Cleave(AttackType.MELEE, DamageType.PHYSICAL, 3.0f, 45.0f, 0.0f, 5.0f, 0f, "cleave", "Cleave", CleaveParticles); Abilities["arrow"] = new Arrow(AttackType.PROJECTILE, DamageType.PHYSICAL, 8.0f, 0.0f, 0.0f, 5.0f, 0f, "arrow", "Arrow", ArrowParticles); #endregion #region buff abilities Abilities["chaosbarrage"] = new ChaosBarrageAbility(AttackType.STATUS, DamageType.NONE, 10.0f, 0.0f, 0.0f, 0.0f, 0, "chaosbarrage", "Chaos Barrage", ChaosBarrageParticles); Abilities["fireballbarrage"] = new FireballBarrageAbility(AttackType.STATUS, DamageType.NONE, 10.0f, 0.0f, 30.0f, 0.0f, 100f, "fireballbarrage", "Fireball Barrage", FireballBarrageParticles); Abilities["rootability"] = new RootAbility(AttackType.STATUS, DamageType.NONE, 10.0f, 360.0f, 15.0f, 0.0f, 0f, "rootability", "Root Ability", null); #endregion Abilities["groundslam"] = new Hadouken(AttackType.PBAOE, DamageType.AIR, 5.0f, 360.0f, 10.0f, 10.0f, 25.0f, "groundslam", "Ground Slam", HadoukenParticles); Abilities["deathgrip"] = new Deathgrip(AttackType.PBAOE, DamageType.SHADOW, 5.0f, 360.0f, 0.0f, 15.0f, 25.0f, "deathgrip", "AoE Deathgrip", DeathgripParticles); Abilities["fusrodah"] = new Fusrodah(AttackType.PBAOE, DamageType.AIR, 5.0f, 45.0f, 5.0f, 10.0f, 20.0f, "fusrodah", "Fus Roh Dah", FusRoDahParticles); Abilities["flamestrike"] = new Flamestrike(AttackType.PBAOE, DamageType.FIRE, 5.0f, 360.0f, 5.0f, 1000.0f, 25.0f, "flamestrike", "Flamestrike", FlamestrikeParticles); Abilities["bladewaltz"] = new BladeWaltz(AttackType.PBAOE, DamageType.PHYSICAL, 5.0f, 360.0f, 30.0f, 0f, 50.0f, "bladewaltz", "Blade Waltz", BladeWaltzParticles); Abilities["erenwaltz"] = new ErenWaltz(AttackType.PBAOE, DamageType.PHYSICAL, 5.0f, 360.0f, 0.0f, 5.0f, 0f, "erenwaltz", "Eren Waltz", BladeWaltzParticles); Abilities["firemine"] = new FireMine(AttackType.PROJECTILE, DamageType.FIRE, 5.0f, 360.0f, 4.0f, 200.0f, 10f, "firemine", "Fire Mine", FiremineParticles); Abilities["GETOVERHERE"] = new GETOVERHERE(AttackType.PROJECTILE, DamageType.SHADOW, 4.0f, 0.0f, 0.0f, 0.1f, 10f, "GETOVERHERE", "Shadow Pull", GETOVERHEREParticles); Abilities["normalmine"] = new NormalMine(AttackType.PROJECTILE, DamageType.PHYSICAL, 5.0f, 360.0f, 4.0f, 1.0f, 10f, "normalmine", "Mine", MineParticles); Abilities["blinkstrike"] = new BlinkStrike(AttackType.PROJECTILE, DamageType.SHADOW, 4.0f, 1.0f, 0.0f, 5.0f, 10f, "blinkstrike", "Blink Strike", BlinkStrikeExplosion); Abilities["blink"] = new Blink(AttackType.GROUNDTARGET, DamageType.NONE, 5.0f, 0.0f, 7.0f, 0.0f, 25f, "blink", "Blink", BlinkParticles); Abilities["shockmine"] = new ShockMine(AttackType.PROJECTILE, DamageType.PHYSICAL, 7.0f, 360.0f, 3.0f, 30.0f, 5f, "shockmine", "Shock Mine", ShockMineProjectile); Abilities["aoefreeze"] = new AOEfreeze(AttackType.PBAOE, DamageType.WATER, 5.0f, 360f, 15f, 1f, 30f, "aoefreeze", "Flashfreeze", AOEFreezeParticles); Abilities["onhitnormal"] = new OnHitNormal(AttackType.MELEE, DamageType.PHYSICAL, 0.0f, 0.0f, 0.0f, 0.0f, 0f, "onhitnormal", "On Hit Normal", OnHitNormalParticles); Abilities["onhitsworddrop"] = new OnHitSwordDrop(AttackType.MELEE, DamageType.PHYSICAL, 0f, 0f, 0f, 0f, 0f, "onhitsworddrop", "Sword Drop OnHit", OnHitSwordDropObject); Abilities["fireballturret"] = new FireballTurret(AttackType.PROJECTILE, DamageType.NONE, 10.0f, 360.0f, 2.0f, 0.0f, 40f, "fireballturret", "Fireball Turret", FireballTurretParticles); Abilities["fireballturretfireball"] = new FireballTurretFireball(AttackType.PROJECTILE, DamageType.FIRE, 10.0f, 0.0f, 0.0f, 5.0f, 0f, "fireballturretfireball", "Fireball Turret Fireball", FireballExplosion); Abilities["frozenorb"] = new FrozenOrb(AttackType.PROJECTILE, DamageType.NONE, 5.0f, 360.0f, 8.0f, 0.0f, 30f, "frozenorb", "Frozen Orb", FrozenOrbParticles); Abilities["frozenorbicebolt"] = new IceBolt(AttackType.PROJECTILE, DamageType.WATER, 8f, 0f, 0.0f, 0f, 0f, "frozenorbicebolt", "Frozen Orb Ice Bolt", IceBoltParticles); Abilities["boomerangblade"] = new BoomerangBlade(AttackType.PROJECTILE, DamageType.PHYSICAL, 5f, 0f, 4.0f, 0f, 20f, "boomerangblade", "Boomerang Blade", BoomerangBladeExplosion); Abilities["boomerangbladereturn"] = new BoomerangBladeReturn(AttackType.HONINGPROJECTILE, DamageType.PHYSICAL, 0.0f, 0.0f, 0.0f, 0.0f, 0f, "boomerangbladereturn", "Boomerang Blade(returning)", BoomerangBladeExplosion); Abilities["axethrow"] = new AxeThrow(AttackType.PROJECTILE, DamageType.PHYSICAL, 5.0f, 0.0f, 2.0f, 0.0f, 3f, "axethrow", "Axe Throw", AxeThrowExplosion); Abilities["frostnova"] = new FrostNova(AttackType.PBAOE, DamageType.WATER, 7f, 360f, 20f, 0f, 60f, "frostnova", "Frost Nova", IceBoltParticles); Abilities["shieldbreaker"] = new ShieldBreaker(AttackType.PBAOE, DamageType.PHYSICAL, 10f, 15f, 0.0f, 5f, 20f, "shieldbreaker", "Shieldbreaker", ShieldBreakerParticles); Abilities["dropdasteel"] = new DropDaSteel(AttackType.STATUS, DamageType.NONE, 0f, 0f, 32f, 0f, 0f, "dropdasteel", "Drop Da Steel", dropdasteelparticles); Abilities["dervishdeathgrip"] = new Deathgrip(AttackType.PBAOE, DamageType.NONE, 3f, 360f, 0f, 0f, 0f, "dervishdeathgrip", "Dervish Deathgrip", DeathgripParticles); Abilities["infernalfireball"] = new InfernalFireball(AttackType.HONINGPROJECTILE, DamageType.FIRE, 5.0f, 360.0f, 5.0f, 30.0f, 0f, "infernalfireball", "Infernal Fireball", InfernalFireballExplosion); Abilities["whirlwind"] = new Whirlwind(AttackType.GROUNDTARGET, DamageType.PHYSICAL, 3.0f, 360.0f, 0.0f, 10.0f, 0f, "whirlwind", "Whirlwind", OnHitNormalParticles); Abilities["dervish"] = new Dervish(AttackType.GROUNDTARGET, DamageType.PHYSICAL, 5f, 360f, 0.0f, 10f, 100f, "dervish", "Dervish", OnHitNormalParticles); Abilities["bossinfernalfireball"] = new BossInfernalFireball(AttackType.HONINGPROJECTILE, DamageType.FIRE, 5.0f, 360.0f, 5.0f, 30.0f, 0f, "bossinfernalfireball", "Boss Infernal Fireball", BossInfernalFireballExplosion); //Abilities["healorb"] = new HealOrb(AttackType.PROJECTILE, DamageType.NONE, 5.0f, 360.0f, 0.0f, 0.0f, "healorb", "Heal Orb", HealOrbExplosion); Abilities["deathanddecay"] = new DeathAndDecay(AttackType.GROUNDTARGET, DamageType.SHADOW, 5.0f, 360.0f, 0.0f, 1.0f, 0f, "deathanddecay", "Death and Decay", DeathAndDecaySpawn); Abilities["shadowfury"] = new Shadowfury(AttackType.GROUNDTARGET, DamageType.SHADOW, 3.0f, 360.0f, 0.0f, 1.0f, 0f, "shadowfury", "Shadowfury", ShadowfurySpawn); Abilities["shadowtrap"] = new Shadowtrap(AttackType.GROUNDTARGET, DamageType.SHADOW, 3.0f, 360.0f, 0.0f, 0.0f, 0f, "shadowtrap", "Shadowtrap", ShadowtrapSpawn); #endregion #region enemy abilities Abilities["enemyfireball"] = new Fireball(AttackType.PROJECTILE, DamageType.FIRE, 10.0f, 0.0f, 4f, 10.0f, 0f, "enemyfireball", "Enemy Fireball", FireballExplosion); Abilities["enemycleaveslow"] = new Cleave(AttackType.MELEE, DamageType.PHYSICAL, 3.0f, 45.0f, 3.0f, 5.0f, 0f, "cleave", "Cleave", CleaveParticles); Abilities["enemycleavenormal"] = new Cleave(AttackType.MELEE, DamageType.PHYSICAL, 3.0f, 45.0f, 2f, 2.5f, 0f, "cleave", "Cleave", CleaveParticles); Abilities["enemycleavefast"] = new Cleave(AttackType.MELEE, DamageType.PHYSICAL, 3.0f, 45.0f, 1.0f, 1.0f, 0f, "cleave", "Cleave", CleaveParticles); Abilities["enemydeathgrip"] = new Deathgrip(AttackType.PBAOE, DamageType.SHADOW, 10.0f, 360.0f, 10.0f, 0.0f, 0.0f, "enemydeathgrip", "Enemy Deathgrip", DeathgripParticles); Abilities["bossfireball"] = new BossFireball(AttackType.PROJECTILE, DamageType.FIRE, 10.0f, 0.0f, 5.0f, 10.0f, 0f, "bossfireball", "Boss Fireball", BossInfernalFireballExplosion); Abilities["bossflamestrike"] = new BossFlamestrike(AttackType.PBAOE, DamageType.FIRE, 10.0f, 360.0f, 10.0f, 10.0f, 0.0f, "bossflamestrike", "Boss Flamestrike", BossFlamestrikeParticles); Abilities["enemywhirlwind"] = new Whirlwind(AttackType.GROUNDTARGET, DamageType.PHYSICAL, 3.0f, 360.0f, 8.0f, 5.0f, 0f, "enemywhirlwind", "Enemy Whirlwind", OnHitNormalParticles); #endregion #endregion }
private void Cleansers() { if (!Quicksilver.IsReady() && !Mikaels.IsReady() && !Mercurial.IsReady() && !Dervish.IsReady()) { return; } if (Player.HealthPercent >= (float)Config.Item("cleanHP").GetValue <Slider>().Value || !Config.Item("Clean").GetValue <bool>()) { return; } if (Player.HasBuff("zedulttargetmark") || Player.HasBuff("FizzMarinerDoom") || Player.HasBuff("MordekaiserChildrenOfTheGrave") || Player.HasBuff("PoppyDiplomaticImmunity") || Player.HasBuff("VladimirHemoplague")) { Clean(); } if (Player.HasBuffOfType(BuffType.Stun) && Config.Item("Stun").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Snare) && Config.Item("Snare").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Knockup) && Config.Item("Knockup").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Charm) && Config.Item("Charm").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Fear) && Config.Item("Fear").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Stun) && Config.Item("Stun").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Knockback) && Config.Item("Knockback").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Taunt) && Config.Item("Taunt").GetValue <bool>()) { Clean(); } if (Player.HasBuffOfType(BuffType.Suppression) && Config.Item("Suppression").GetValue <bool>()) { Clean(); } }