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

Barb using WotB on Wretched Mothers

Nazair

New Member
Joined
Jan 5, 2013
Messages
754
Reaction score
0
So I have been running my profile to farm quest with wretched mothers.
I set Trinity to use WotB on hard elites only but bot constantly fires it up when he sees first wretched mother.

Is this some kind of error in coding that these mobs are considered hard elites or am I missing something in the settings?
 

Code:
public static bool HardElitesPresent
        {
            get
            {
                return
                   Trinity.ObjectCache.Any(o => o.IsEliteRareUnique &&
                          o.MonsterAffixes.HasFlag(MonsterAffixes.ArcaneEnchanted | MonsterAffixes.Frozen | MonsterAffixes.Jailer | MonsterAffixes.Molten) ||
                          (o.MonsterAffixes.HasFlag(MonsterAffixes.Electrified) && o.MonsterAffixes.HasFlag(MonsterAffixes.ReflectsDamage))) ||
                        Trinity.ObjectCache.Any(o => o.IsBoss);
            }
        }

This is how trinity is decide hardelites. U may edit it to exclude your unique mob who cause a problem.
 
Could you help me with general idea how to add condition to exclude an ID of my choice?
Never really understood Trinity codes ;p
 
Could you help me with general idea how to add condition to exclude an ID of my choice?
Never really understood Trinity codes ;p

Plugins\Trinity\Combat\Abilities\CombatBase.cs line 239:

Code:
public static bool HardElitesPresent
        {
            get
            {
                return
                   Trinity.ObjectCache.Any(o => o.IsEliteRareUnique &&
                          o.MonsterAffixes.HasFlag(MonsterAffixes.ArcaneEnchanted | MonsterAffixes.Frozen | MonsterAffixes.Jailer | MonsterAffixes.Molten) ||
                          (o.MonsterAffixes.HasFlag(MonsterAffixes.Electrified) && o.MonsterAffixes.HasFlag(MonsterAffixes.ReflectsDamage))) ||
                        Trinity.ObjectCache.Any(o => o.IsBoss [COLOR="#FF0000"]&& o.ActorSNO != 108444[/COLOR]);
            }
        }

Try add red part of code. 108444 is the SNO of unique wretched mother, but if your problem is that bot popups WoTB on common white wretched mother change SNO to 6639, seems Trinity treat this mobs as bosses lol.
 
Last edited:
Thank you very much!
Will give it a try and see what happens ;D

And yes, my problem was with these 4-5 common mobs. If bot fires up WotB on the Queen it's ok.
 
Back
Top