What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

[Request] Reduced Monk's Breath of Heaven Cooldown Use

Teh

Member
Joined
Aug 15, 2012
Messages
67
Reaction score
1
I recently found a legendary that reduced the cooldown of Breath of Heaven by 44% to the point where it essentially allows you to keep the Blazing Wrath buff up 100% of the time.

EyeOfPeshkov.webp

I may be doing something wrong in config but it seems like trinity will only use the skill at the original 15 second interval and not make use of the cooldown. Is it possible to modify this to check for the cooldown rather than a timer? It may already be like this but I haven't had the experience to look at the code quite yet.
 
Plugins -> Trinity -> Variables -> Open -> Scroll down for SpellDelay.Monk_BreathOfHeaven -> Change value to wanted time. Number is in milliseconds 1000ms->1s. You want something like 7000ms


edit. I should have read the question better first, this might doesnt help you. my bad
 
Last edited:
Open the Monk.cs file inside the Trinity\Combat\Abilities\ folder and try changing this:
Code:
            // Breath of Heaven when needing healing or the buff
            if (!UseOOCBuff && (Player.CurrentHealthPct <= 0.6 || !GetHasBuff(SNOPower.Monk_BreathOfHeaven)) && CombatBase.CanCast(SNOPower.Monk_BreathOfHeaven) &&
                (Player.PrimaryResource >= 35 || (!CombatBase.CanCast(SNOPower.Monk_Serenity) && Player.PrimaryResource >= 25)))
            {
                return new TrinityPower(SNOPower.Monk_BreathOfHeaven, 0f, Vector3.Zero, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
            }

To this:
Code:
            // Breath of Heaven when needing healing or the buff
            if (!UseOOCBuff && CombatBase.CanCast(SNOPower.Monk_BreathOfHeaven))
            {
                return new TrinityPower(SNOPower.Monk_BreathOfHeaven, 0f, Vector3.Zero, CurrentWorldDynamicId, -1, 1, 1, WAIT_FOR_ANIM);
            }
 
Back
Top