• Visit Rebornbuddy
  • Help tweaking routine pls.

    Discussion in 'Community Developer Forum' started by PEWPEW420, Aug 8, 2016.

    1. PEWPEW420

      PEWPEW420 New Member

      Joined:
      Aug 4, 2016
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Trying to add plasmatize to this routine and I can't get it to cast without it just spamming it. I've tried other ways like spell.Dot but havent found a way to make it work.



      public override Composite SingleTarget
      {
      get
      {
      return new PrioritySelector(
      //Movement
      CombatMovement.CloseDistance(Distance.Melee),
      new Decorator(ret => Me.ResourcePercent() < 60,
      new PrioritySelector(
      Spell.Cast("High Impact Bolt", ret => Me.HasBuff("Ionic Accelerator")),
      Spell.Cast("Hammer Shot")
      )),

      Spell.Cast("High Impact Bolt"),
      Spell.Cast("Fire Pulse"),
      Spell.DoT("Incendiary Round", "", 12000),
      Spell.Cast("Shockstrike"),
      Spell.Cast("Ion Pulse"),
      Spell.Cast("Plasmatize", ret => !Me.CurrentTarget.Hasbuff("Plasmatize")),
      );
      }
      }

      public override Composite AreaOfEffect
       
    2. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      When you hover over the target who has Plasmatize, what is the EXACT name of the debuff? You have it as "Plasmatize", but sometimes it's something like "Burning (Plasmatize)" or even just "Burning". Double check that first.
       
    3. PEWPEW420

      PEWPEW420 New Member

      Joined:
      Aug 4, 2016
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Thanks for the reply. It is Plasmatize. Think I got it figured out. I was changing code in the routine and hitting reload on buddywing and apparently reload only reloads the profile so it was never using the changes i made in the code......the code that ended up getting it done was spell.Dot("Plasmatize", "Plasmatize"),
       

    Share This Page