• Visit Rebornbuddy
  • Barbarian Ignore Pain

    Discussion in 'Trinity' started by Eventine, Sep 30, 2014.

    1. Eventine

      Eventine New Member

      Joined:
      Apr 30, 2014
      Messages:
      133
      Likes Received:
      0
      Trophy Points:
      0
      Basically I use this mainly for the move speed buff from the bravado rune and would like to spam it whenever it's off cooldown, in or out of combat. What do I edit in BarbarianCombat.cs to make this happen?

      public static bool CanCastIgnorePain
      {
      get
      {
      return
      !UseOOCBuff &&
      CanCast(SNOPower.Barbarian_IgnorePain) &&
      (Player.CurrentHealthPct <= V.F("Barbarian.IgnorePain.MinHealth") ||
      (Sets.TheLegacyOfRaekor.IsFullyEquipped && (Player.CurrentHealthPct <= V.F("Barbarian.FuryDumpRaekor.MinHealth")
      || CurrentTarget.IsBossOrEliteRareUnique ||
      Settings.Combat.Barbarian.FuryDumpWOTB && Player.PrimaryResourcePct >= V.F("Barbarian.WOTB.FuryDumpMin"))
      && (GetHasBuff(SNOPower.Barbarian_WrathOfTheBerserker)) ||
      Settings.Combat.Barbarian.FuryDumpAlways && Player.PrimaryResourcePct >= V.F("Barbarian.WOTB.FuryDumpMin")));
      }
      }

      this is currently the code for ignore pain

      Thank you.
       
    2. mrbubbel

      mrbubbel New Member

      Joined:
      May 21, 2014
      Messages:
      367
      Likes Received:
      5
      Trophy Points:
      0
      Code:
              public static bool CanCastIgnorePain
              {
                  get
                  {
                      return
                          
                          CanCast(SNOPower.Barbarian_IgnorePain);
                  }
              }
       
    3. Eventine

      Eventine New Member

      Joined:
      Apr 30, 2014
      Messages:
      133
      Likes Received:
      0
      Trophy Points:
      0
      you're a legend mr bubbel
       
    4. MrPewterSchmidt

      MrPewterSchmidt New Member

      Joined:
      Nov 9, 2013
      Messages:
      258
      Likes Received:
      1
      Trophy Points:
      0
      Works great Thanks!
       
    5. Oggy2k5

      Oggy2k5 Member

      Joined:
      Jun 15, 2012
      Messages:
      634
      Likes Received:
      4
      Trophy Points:
      18
      Should have honestly searched for this, thank you MrPewter for bumping this thread, and thank you MrBubbel for posting the fix, running two barbarians, who rely on Ignore pain is perfect to constantly spam it.
       

    Share This Page