• Visit Rebornbuddy
  • dragoon power surge

    Discussion in 'Community Developer Forum' started by exaccuss, Jan 15, 2014.

    1. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,022
      Likes Received:
      5
      Trophy Points:
      38
      Is it possible to code the stuff in bold into my rotation?

      here is what i want it to do:


      Cast("Full Thrust", r => Actionmanager.LastSpell.Name == "Vorpal Thrust"),
      *LIFE SURGE WHEN OFF GCD*
      Cast("Vorpal Thrust", r => Actionmanager.LastSpell.Name == "True Thrust"),
      Cast("True Thrust", r => Actionmanager.LastSpell.Name == "Phlebotomize"),
      *JUMP WHEN OFF GCD*
      Cast("Phlebotomize", r => Actionmanager.LastSpell.Name == "Chaos Thrust"),
      *POWER SURGE WHEN OFF GCD*
      Cast("Chaos Thrust", r => Actionmanager.LastSpell.Name == "Disembowel"),
      Cast("Disembowel", r => Actionmanager.LastSpell.Name == "Impulse Drive"),
      Cast("Impulse Drive", r=> Core.Player.CurrentTarget.IsBehind),
      Cast("Heavy Thrust", r=> Core.Player.CurrentTarget.IsFlanking)// r => Actionmanager.LastSpellId == 0 || Actionmanager.LastSpell.Name == "Full Thrust" )
       
    2. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,022
      Likes Received:
      5
      Trophy Points:
      38
      Does anyone know how?
       
    3. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      I would also like more information on doing situational abilities.. especially on recasting when cd is up on an abilities instead of going back through priorityselector rotation.
       
    4. exaccuss

      exaccuss Active Member

      Joined:
      Nov 10, 2013
      Messages:
      1,022
      Likes Received:
      5
      Trophy Points:
      38
      Ok, after much trial and error, i THINK i may have finally figured it out!

      protected override Composite CreateCombat()
      {
      return new PrioritySelector(

      // Heals Start
      Cast("Second Wind", r => Core.Player.CurrentHealthPercent < 80, r => Core.Player),
      Cast("Invigorate", r => Core.Player.CurrentTPPercent < 50, r => Core.Player),
      // Heals End

      // Off GCDs Start
      Cast("Mercy Stroke"),
      Cast("Life Surge", r => Actionmanager.LastSpell.Name == "Vorpal Thrust", r => Core.Player),
      // Off GCDs End

      // Single Target Rotation Start
      Cast("Full Thrust", r => Actionmanager.LastSpell.Name == "Vorpal Thrust"),
      Cast("Vorpal Thrust", r => Actionmanager.LastSpell.Name == "True Thrust"),
      Cast("True Thrust", r => true)// r => Actionmanager.LastSpellId == 0 || Actionmanager.LastSpell.Name == "Full Thrust" )
      // Single Target Rotation End


      );
      }
      }
      }

      Thats what i have so far, and it seems to work! Try adjusting it to your profile and let me know if it works etc

      EDIT: I can confirm this works. I did borrow these elements from nekoramen's bard profile, so credit goes to him. I just edited a few things around. Waiting on his permission to use these elements then i will update my drg profile post accordingly.
       

    Share This Page