What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Trickster Rogue Combat Routine

Pandragon

New Member
Joined
Jan 31, 2014
Messages
16
I try to modify the combat routine so that it will make the character to go in stealth when is in combat.

Basically this is what I try.
Spell.Cast("Trickster_Stealth_Slottable", ent => ent as NWUnit, ent => !(ent as NWUnit).Character.HasBuff("Trickster_Stealth_Slottable"),

...but it doesn't work and have no idea why.

Any help would be appreciated.
 

Attachments

you set some ) wrong. use notepad++ for writing if you don't have vs or something similar.
it should look like
Code:
return new PrioritySelector(ctx => CombatTargeting.Instance.FirstUnit,
			new Decorator(ctx => ctx != null,
			new PrioritySelector(CommonBehaviors.CreateUseHealthPotionBehavior(ent => 0.4f),

			// Get in Stealth.
			Spell.Cast("Trickster_Stealth_Slottable", ent => ent as NWUnit, ent => !(ent as NWUnit).Character.HasBuff("Trickster_Stealth_Slottable")),
			Spell.Cast("Trickster_Encounter_Deftstrike", null, ext => (ext as NWUnit).Distance <= 59f, ent => (ent as NWUnit).Position),
			
			// Make sure we are in range.
			CommonBehaviors.MoveAndStop(ctx => (ctx as NWUnit).Position, 9f, true, "Moving to unit"),

			// DPS Skills.
			// Daily:
			Spell.Cast("Trickster_Daily_Lurkersassault", null, ext => HasFullPower && Clusters.GetClusterCount(ext as NWUnit, ClusterType.Radius, 30.0f) >= 3, ent => (ent as NWUnit).Position),
			Spell.Cast("Trickster_Daily_Easytarget", null, ext => HasFullPower && Clusters.GetClusterCount(ext as NWUnit, ClusterType.Radius, 30.0f) >= 3, ent => (ent as NWUnit).Position),
			Spell.Cast("Trickster_Daily_Whirlwindofblades", null, ext => HasFullPower && Clusters.GetClusterCount(ext as NWUnit, ClusterType.Radius, 30.0f) >= 3, ent => (ent as NWUnit).Position),
			// Encounter:
			Spell.Cast("Trickster_Encounter_Lashingblade", ent => ent as NWUnit, ent => (ent as NWUnit).Character.HasBuff("Trickster_Stealth_Slottable")),
			Spell.Cast("Trickster_Encounter_Shadowstrike", ent => ent as NWUnit, ret => true),
			Spell.Cast("Trickster_Encounter_Dazingstrike", ent => ent as NWUnit, ret => true),
			Spell.Cast("Trickster_Encounter_Blitz", ent => ent as NWUnit, ret => true),
			// At-will:
			Spell.Cast("Trickster_Atwill_Slyflourish_Combo", ent => ent as NWUnit, ret => true),
			Spell.Cast("Trickster_Atwill_Cloudofsteel", null, ext => (ext as NWUnit).Distance >= 10f, ent => (ent as NWUnit).Position)
			)));
 
Back
Top