longhornfreak
New Member
- Joined
- Jul 16, 2010
- Messages
- 70
- Reaction score
- 4
The buff I used was correct, would you be willing to help me out on any sort of instant messanger? PM me your username if you can please.
new Decorator(ret => StyxWoW.Me.ActiveAuras.ContainsKey("Fire!") && StyxWoW.Me.ActiveAuras["Fire!"].TimeLeft.Seconds >= 1,
new Action(ret =>
{Lua.DoString("RunMacroText(\"/cast Aimed Shot\")");
Logger.Write("Fire! Aimed Shot");})),
Spell.Cast("Aimed Shot", ret => StyxWoW.Me.CurrentTarget.HealthPercent >= 80),
Hi,
could the Spell Vanish from Rogues be configurable to use / or not to use?
It makes no sense to vanish from mobs when low healt and thean attack 1 second later again, without going to a safespot und reg some life. The toon dies everytime.
So please
- change the way Vanish is used (after vanishing go to safespot and regenerate life) or
- let the user choose if to use Vanish in the way it is atm or to deactivate Vanish
//Flash of Light
new Decorator(
ret => !StyxWoW.Me.IsInRaid && !StyxWoW.Me.IsInParty && StyxWoW.Me.HealthPercent < 45 && StyxWoW.Me.ManaPercent >= 31,
new PrioritySelector(
Spell.Cast("Flash of Light", ret => !StyxWoW.Me.IsCasting)
)),
// Zealotry Routine
are you using the latest version?
Yes, i'm using the latest Version from SVN
#region Revision Info
// This file is part of Singular - A community driven Honorbuddy CC
// $Author: raphus $
// $Date: 2011-05-25 00:38:16 -0500 (Wed, 25 May 2011) $
// $HeadURL: http://svn.apocdev.com/singular/trunk/Singular/Settings/RogueSettings.cs $
// $LastChangedBy: raphus $
// $LastChangedDate: 2011-05-25 00:38:16 -0500 (Wed, 25 May 2011) $
// $LastChangedRevision: 329 $
// $Revision: 329 $
#endregion
using System.ComponentModel;
using Singular.ClassSpecific.Rogue;
using Styx.Helpers;
using DefaultValue = Styx.Helpers.DefaultValueAttribute;
namespace Singular.Settings
{
internal class RogueSettings : Styx.Helpers.Settings
{
public RogueSettings()
: base(SingularSettings.SettingsPath + "_Rogue.xml")
{
}
[Setting]
[DefaultValue(PoisonType.Instant)]
[Category("Common")]
[DisplayName("Main Hand Poison")]
[Description("Main Hand Poison")]
public PoisonType MHPoison { get; set; }
[Setting]
[DefaultValue(PoisonType.Instant)]
[Category("Common")]
[DisplayName("Off Hand Poison")]
[Description("Off Hand Poison")]
public PoisonType OHPoison { get; set; }
[Setting]
[DefaultValue(false)]
[Category("Common")]
[DisplayName("Vanish")]
[Description("Use Vanish.")]
public bool UseVanish { get; set; }
}
}
using System.Linq;
using System.Threading;
using CommonBehaviors.Actions;
using Singular.Dynamics;
using Singular.Helpers;
using Singular.Managers;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using TreeSharp;
using Action = TreeSharp.Action;
namespace Singular.ClassSpecific.Rogue
{
public class Common
{
[Class(WoWClass.Rogue)]
[Spec(TalentSpec.CombatRogue)]
[Spec(TalentSpec.AssasinationRogue)]
[Spec(TalentSpec.SubtletyRogue)]
[Spec(TalentSpec.Lowbie)]
[Behavior(BehaviorType.PreCombatBuffs)]
[Context(WoWContext.All)]
public static Composite CreateRoguePreCombatBuffs()
{
return new PrioritySelector(
CreateApplyPoisons(),
Spell.BuffSelf("Recuperate", ret => StyxWoW.Me.RawComboPoints > 0 && StyxWoW.Me.HealthPercent < 80)
);
}
[Class(WoWClass.Rogue)]
[Spec(TalentSpec.CombatRogue)]
[Spec(TalentSpec.AssasinationRogue)]
[Spec(TalentSpec.SubtletyRogue)]
[Spec(TalentSpec.Lowbie)]
[Behavior(BehaviorType.CombatBuffs)]
[Context(WoWContext.All)]
public static Composite CreateRogueCombatBuffs()
{
return new PrioritySelector(
Item.CreateUsePotionAndHealthstone(30, 0),
Spell.BuffSelf("Vanish", ret => SingularSettings.Instance.Rogue.UseVansih && StyxWoW.Me.HealthPercent < 20 && Unit.NearbyUnfriendlyUnits.Count(u => u.Aggro) > 0)
);
}
[Class(WoWClass.Rogue)]
[Spec(TalentSpec.CombatRogue)]
[Spec(TalentSpec.AssasinationRogue)]
[Spec(TalentSpec.SubtletyRogue)]
[Spec(TalentSpec.Lowbie)]
[Behavior(BehaviorType.Rest)]
[Context(WoWContext.All)]
public static Composite CreateRogueRest()
{
return new PrioritySelector(
Spell.BuffSelf("Stealth", ret => StyxWoW.Me.HasAura("Food")),
Rest.CreateDefaultRestBehaviour()
);
}
public static Composite CreateApplyPoisons()
{
return new PrioritySelector(
new Decorator(
ret => Poisons.MainHandNeedsPoison && Poisons.MainHandPoison != null,
new Sequence(
new Action(ret => Logger.Write(string.Format("Applying {0} to main hand", Poisons.MainHandPoison.Name))),
new Action(ret => Navigator.PlayerMover.MoveStop()),
new Action(ret => StyxWoW.SleepForLagDuration()),
new Action(ret => Poisons.MainHandPoison.UseContainerItem()),
new Action(ret => StyxWoW.SleepForLagDuration()),
new Action(ret => Lua.DoString("UseInventoryItem(16)")),
new Action(ret => StyxWoW.SleepForLagDuration()),
new WaitContinue(10, ret => !StyxWoW.Me.IsCasting, new ActionAlwaysSucceed()),
new Action(ret => Thread.Sleep(1000)))),
new Decorator(
ret => Poisons.OffHandNeedsPoison && Poisons.OffHandPoison != null,
new Sequence(
new Action(ret => Logger.Write(string.Format("Applying {0} to off hand", Poisons.OffHandPoison.Name))),
new Action(ret => Navigator.PlayerMover.MoveStop()),
new Action(ret => StyxWoW.SleepForLagDuration()),
new Action(ret => Poisons.OffHandPoison.UseContainerItem()),
new Action(ret => StyxWoW.SleepForLagDuration()),
new Action(ret => Lua.DoString("UseInventoryItem(17)")),
new Action(ret => StyxWoW.SleepForLagDuration()),
new WaitContinue(10, ret => !StyxWoW.Me.IsCasting, new ActionAlwaysSucceed()),
new Action(ret => Thread.Sleep(1000))))
);
}
public static Composite CreateRogueBlindOnAddBehavior()
{
return new PrioritySelector(
ctx => Unit.NearbyUnfriendlyUnits.FirstOrDefault(u =>
u.IsTargetingMeOrPet && u != StyxWoW.Me.CurrentTarget),
new Decorator(
ret => ret != null,
Spell.Buff("Blind", ret => (WoWUnit)ret, ret => Unit.NearbyUnfriendlyUnits.Count(u => u.Aggro) > 1)));
}
}
}
Latest Singular not support ability's Warrior
Could not compile CC from E:\Downloads\Games\World of Warcraft\HB\CustomClasses\Singular SVN!
File: SingularRoutine.cs Line: 205 Error: The best overloaded method match for 'Singular.CompositeBuilder.GetComposite(object, Styx.Combat.CombatRoutine.WoWClass, Singular.TalentSpec, Singular.BehaviorType, Singular.WoWContext)' has some invalid arguments
File: SingularRoutine.cs Line: 205 Error: Argument '2': cannot convert from 'Singular.Managers.TalentSpec' to 'Styx.Combat.CombatRoutine.WoWClass'
File: SingularRoutine.cs Line: 205 Error: Argument '3': cannot convert from 'Singular.BehaviorType' to 'Singular.TalentSpec'
File: SingularRoutine.cs Line: 205 Error: Argument '4': cannot convert from 'Singular.WoWContext' to 'Singular.BehaviorType'
File: SingularRoutine.cs Line: 205 Error: Argument '5': cannot convert from 'out int' to 'Singular.WoWContext'
File: CompositeBuilder.cs Line: 74 Error: 'Singular.TalentSpec' does not contain a definition for 'Any'
File: Poisons.cs Line: 51 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 53 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 55 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 58 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 60 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 74 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 76 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 78 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 81 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Poisons.cs Line: 83 Error: Cannot implicitly convert type 'Singular.ClassSpecific.Rogue.PoisonType' to 'Singular.PoisonType'. An explicit conversion exists (are you missing a cast?)
File: Common.cs Line: 31 Error: Cannot convert lambda expression to type 'TreeSharp.Composite' because it is not a delegate type
File: Common.cs Line: 31 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 40 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 42 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 43 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 44 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 38 Error: Cannot convert lambda expression to type 'TreeSharp.Composite' because it is not a delegate type
File: Common.cs Line: 38 Error: Operator '!=' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 51 Error: Operator '!=' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 61 Error: Operator '!=' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 62 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 67 Error: Cannot convert lambda expression to type 'TreeSharp.Composite' because it is not a delegate type
File: Common.cs Line: 68 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 92 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 95 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 98 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
File: Common.cs Line: 98 Error: Operator '==' cannot be applied to operands of type 'Singular.Managers.TalentSpec' and 'Singular.TalentSpec'
why furrywarrior use smash???
how can I change it so that it is only used when it procs
It's a bug that just started. I've tried several ways to get it to not cast unless the proc is up, but I haven't been able to get it to function properly.
It's a bug that just started. I've tried several ways to get it to not cast unless the proc is up, but I haven't been able to get it to function properly.
Chose Singular $Revision: 254 $ as your combat class!
[Singular] Starting Singular v0.1.0.0
[Singular] ERROR: Could not add combat log event filter! - Performance may be horrible, and things may not work properly!
[Singular] Determining talent spec.
[Singular] Current spec is Frost Mage
[Singular] Using CreateFrostMageCombat for Frost Mage - Combat (Priority: 0)
[Singular] Using CreateFrostMagePull for Frost Mage - Pull (Priority: 0)
[Singular] Using default rest behavior.
[Singular] Using CreateMageBuffs for Frost Mage - PreCombatBuffs (Priority: 0)
[Singular] Behaviors created!