is this the changes you did?
Code:
bool isSWK = Sets.MonkeyKingsGar.IsSecondBonusActive;
if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfHealing_v2) &&
(!isSWK && Player.CurrentHealthPct <= V.F("Monk.MantraOfHealing.UseHealthPct") || isSWK) &&
!Player.IsIncapacitated && !GetHasBuff(SNOPower.X1_Monk_MantraOfHealing_v2))
{
return new TrinityPower(SNOPower.X1_Monk_MantraOfHealing_v2);
}
if (CombatBase.CanCast(SNOPower.X1_Monk_MantraOfEvasion_v2) &&
(!isSWK && Player.CurrentHealthPct <= V.F("Monk.MantraOfHealing.UseHealthPct") || isSWK) &&
!GetHasBuff(SNOPower.X1_Monk_MantraOfEvasion_v2) && CurrentTarget != null)
{
return new TrinityPower(SNOPower.X1_Monk_MantraOfEvasion_v2);
}
Testing it now, but just from a glance it still has Mantra of Evasion as opposed to the new Mantra of Salvation which replaced it.
e: nope, doesn't work, character explores, sees an enemy, stands still and spams this error at me
Code:
Exception during bot tick.System.Exception: Injection resulted in a process exception with error code 0xc0000005
at GreyMagic.Executor.WaitForInjection(Int32 timeout)
at GreyMagic.Executor.Execute(Int32 timeout)
at GreyMagic.Executor.Execute()
at €..(Executor , String )
at Zeta.Game.Internals.Actors.DiaActivePlayer.UsePower(SNOPower power, Vector3 clickPos, Int32 worldDynamicId, Int32 targetACDGuid)
at Zeta.Bot.CombatRoutine.DestroyObject(DiaObject actor)
at Zeta.Bot.Logic.BrainBehavior.(Object )
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.Sequence..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.Decorator..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector..()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.BotMain.()