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

Request Help: safezerg.cs modifications to always kill elites

readonlyp

New Member
Joined
Aug 18, 2012
Messages
22
Reaction score
0
What modification do I need to make to safezerg.cs in order to also have an elite trigger combat? I assume some sort of OR statement in the below code could be implemented, however I am having difficulty locating what variable I would use



Code:
            if (!combatState && ZetaDia.Actors.GetActorsOfType<DiaUnit>(true).Count(u => u.IsFullyValid() && u.IsHostile && u.IsAlive && u.Position.Distance(AdvDia.MyPosition) <= 15f) >= 8)
            {
                combatState = true;
            }
 
Back
Top