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

Epiphany off CD - monk Uliana build

nightmare1990

New Member
Joined
Jun 18, 2012
Messages
22
Reaction score
0
Hi guys,

I've checked the option "Use Epiphany off CD" but it's only using the skill when in combat.
Sometimes I'm low on spirit and walking to the next blue/yellow pack, at that moment the bot should use the Epiphany skill which it doesn't now.

Is this possible?

Thanks!
 
Hi guys,

I've checked the option "Use Epiphany off CD" but it's only using the skill when in combat.
Sometimes I'm low on spirit and walking to the next blue/yellow pack, at that moment the bot should use the Epiphany skill which it doesn't now.

Is this possible?

Thanks!

Definitely possible. I dont have time to test / tweak anything atm, but if you want to give it a shot then have a look here:

DB > Plugins > Trinity > Combat > Abilities > MonkCombat.cs

Lines 666 through 671

Code:
        private static bool CanCastEpiphany()
        {
            return !IsCurrentlyAvoiding && CanCast(SNOPower.X1_Monk_Epiphany, CanCastFlags.NoTimer) && (Settings.Combat.Monk.EpiphanyOffCD ||
                            (TargetUtil.EliteOrTrashInRange(15f) || TargetUtil.AnyMobsInRange(15f, 5)) &&
                            (Player.PrimaryResourcePct < 0.50 || ((Runes.Monk.DesertShroud.IsActive || Runes.Monk.SoothingMist.IsActive) && Player.CurrentHealthPct < 0.50)));
        }

Change to something like:

Code:
        private static bool CanCastEpiphany()
        {
            return !IsCurrentlyAvoiding && CanCast(SNOPower.X1_Monk_Epiphany, CanCastFlags.NoTimer) && (Settings.Combat.Monk.EpiphanyOffCD || Player.PrimaryResourcePct < 0.50 || ((Runes.Monk.DesertShroud.IsActive || Runes.Monk.SoothingMist.IsActive)));
        }

Again not tested, may have messed the syntax up somewhere in there. Counting (())))) is hard :( But you get the idea. Make sure to make a backup of the MonkCombat.cs before making changes.
 
Should Unknown Buddy's solution not work, here is mine:

Code:
private static bool CanCastEpiphany()
        {
            return !IsCurrentlyAvoiding && CanCast(SNOPower.X1_Monk_Epiphany, CanCastFlags.NoTimer) &&
                (Settings.Combat.Monk.EpiphanyOffCD || (TargetUtil.EliteOrTrashInRange(15f) || TargetUtil.AnyMobsInRange(15f, 5)));
                // && (Player.PrimaryResourcePct < 0.50 || ((Runes.Monk.DesertShroud.IsActive || Runes.Monk.SoothingMist.IsActive) && Player.CurrentHealthPct < 0.50)));
        }
 
It looks like that both fixes are still using Epiphany when attacking enemies and not when moving forward searching for enemies while spirit is low (or lower then 100%).
 
Probably because when there are no mobs closeby trinity is inactive and adventurer does the exploring, similar to how in town it wont spam Epiphany either.
 
Probably because when there are no mobs closeby trinity is inactive and adventurer does the exploring, similar to how in town it wont spam Epiphany either.
Ah, that's why..

So there is no option to make this work as Trinity is inactive without mobs nearby?
 
Back
Top