Jump to content

zze

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation Activity

  1. Like
    zze got a reaction from fantasia in trying to use ItemsManager.HasItemById but with a stack   
    after messing around with it more found was just the area desolace being werid with pathing after i died :3 now its working ?
    if (!ObjectManager.Me.IsMounted && ItemsManager.GetItemCountById(6265) <= 8 && ObjectManager.Target.HealthPercent <= 15) { DrainSoul.Launch(); System.Threading.Thread.Sleep(700); return; }  
    thank you very much for you help ?
  2. Like
    zze reacted to fantasia in trying to use ItemsManager.HasItemById but with a stack   
    Maybe you use Sleep somewhere that blocks the code from running (not sure if it would block the pathfinding from running its code).
    Maybe you need to enclose your buff and combat code in a "if (!ObjectManager.Me.IsDeadMe)".
    That is the only 2 things I can come up with that could possibly affect it.
  3. Thanks
    zze reacted to fantasia in trying to use ItemsManager.HasItemById but with a stack   
    I have not tried this, but I think this would work: ItemsManager.GetItemCountById(6265) <= 10
    HasItemById is just a bool (true/false if we have it or not)
×
×
  • Create New...