public void Damage() { if (Meteor.IsSpellUsable && MyHelpers.haveBuff(RuneofPower.Name) && (MyHelpers.haveBuffStack("Blaster Master") == 3 || (!MyHelpers.haveBuff(Combustion.Name) || MyHelpers.spellCharges(FireBlast.Name) == 0)) && MyHelpers.getTargetDistance() <= 40.0f ) { MyHelpers.castSpell(Meteor.Name); ClickOnTerrain.Pulse(ObjectManager.Target.Position); return; } if (MyHelpers.haveBuff("Hot Streak!") && !buffTime) { while (MyHelpers.haveBuff(Combustion.Name)) { if (MyHelpers.haveBuff("Hot Streak!")) { Pyroblast.Launch(); Thread.Sleep(200); if (MyHelpers.spellCharges(FireBlast.Name) == 0) { Thread.Sleep(200); } canBlast = true; continue; } if (!ObjectManager.Me.IsCast && MyHelpers.spellCharges(FireBlast.Name) > 0 && MyHelpers.haveBuff("Heating Up")) { canBlast = false; MyHelpers.castSpell(FireBlast.Name); continue; } if (MyHelpers.itemIsUsable("Hyperthread Wristwraps") && MyHelpers.spellCharges(FireBlast.Name) == 0 && !ObjectManager.Me.IsCast) { ItemsManager.UseItem(ItemsManager.GetIdByName("Hyperthread Wristwraps")); continue; } if (MyHelpers.spellCharges(FireBlast.Name) == 0 && !MyHelpers.haveBuff("Hot Streak!") && !ObjectManager.Me.IsCast) { Thread.Sleep(400); if (MyHelpers.spellCharges(FireBlast.Name) == 0 && !MyHelpers.haveBuff("Hot Streak!") && !ObjectManager.Me.IsCast) { MyHelpers.castSpell(Scorch.Name); while (ObjectManager.Me.IsCast) { Thread.Sleep(50); } continue; } else { continue; } } } if (MyHelpers.haveBuff("Hot Streak!")) { MyHelpers.castSpell(Pyroblast.Name); } return; } if (MyHelpers.spellCharges(FireBlast.Name) > 0 && !buffTime && MyHelpers.haveBuff("Heating Up") && !MyHelpers.haveBuff(Combustion.Name)) { MyHelpers.castSpell(FireBlast.Name); return; } if (BlazingBarrier.IsSpellUsable) { MyHelpers.castSpell(BlazingBarrier.Name); } if (!MyHelpers.haveBuff("Hot Streak!") && Scorch.IsSpellUsable && !buffTime && (ObjectManager.Me.SpeedMoving > 0 || ObjectManager.Target.HealthPercent < 30)) { Thread.Sleep(100); if (!MyHelpers.haveBuff("Hot Streak!") && Scorch.IsSpellUsable && !buffTime && (ObjectManager.Me.SpeedMoving > 0 || ObjectManager.Target.HealthPercent < 30)) { MyHelpers.castSpell(Scorch.Name); } return; } if (!MyHelpers.haveBuff("Hot Streak!") && !buffTime && !MyHelpers.haveBuff(Combustion.Name) && !(ObjectManager.Me.SpeedMoving > 0 || ObjectManager.Target.HealthPercent < 30)) { MyHelpers.castSpell(Fireball.Name); return; } }