• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [HELP] i always want to use devour skill (nec)

    Discussion in 'Archives' started by pgs, Jul 25, 2017.

    1. pgs

      pgs New Member

      Joined:
      Jul 24, 2017
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1
      protected virtual bool ShouldDevour()
      {
      if (!Skills.Necromancer.Devour.CanCast())
      return true;

      if (Player.PrimaryResourcePct >= 0 )
      return false;

      if (TargetUtil.CorpseCount(60f) <= 0)
      return false;

      return true;


      ==================================

      i change first line to true. but did not use the devour skill

      plz help
       
    2. Lybss2851

      Lybss2851 New Member

      Joined:
      Jan 15, 2016
      Messages:
      11
      Likes Received:
      2
      Trophy Points:
      3
      Use num lock trick before start the bot, it will take you 5 more seconds but will non stop cast it
       
    3. pgs

      pgs New Member

      Joined:
      Jul 24, 2017
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1
      how to use numlock trick
       
    4. pgs

      pgs New Member

      Joined:
      Jul 24, 2017
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1

      (Use num lock trick before start the bot, it will take you 5 more seconds but will non stop cast it)

      i dont understand

      i dont find num lock trigger in db system

      You mean to use autohotkey program??
       
    5. FingerBlue

      FingerBlue Member

      Joined:
      Jul 30, 2016
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      Google exists
       
    6. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      Why are you changing this? The default code will cast it every time it's able. Your change would cause it to never cast.
       
    7. Phelon

      Phelon Well-Known Member Buddy Store Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,591
      Likes Received:
      140
      Trophy Points:
      63
      Code:
      if (Player.PrimaryResourcePct >= 0 )
      return false;
      
      This means it will only use it when your Essence pool is at 0.
       
    8. ski

      ski Well-Known Member

      Joined:
      Feb 12, 2010
      Messages:
      3,720
      Likes Received:
      48
      Trophy Points:
      48
      Not to mention the first line would return true only if you can't cast it...
       
    9. pgs

      pgs New Member

      Joined:
      Jul 24, 2017
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1

      I tried default setting but He never uses it.

      Code:
       protected virtual bool ShouldDevour()
              {
                  if (!Skills.Necromancer.Devour.CanCast())
                      return false;
      
                  if (Player.PrimaryResourcePct > 0.3f)
                      return false;
      
                  if (TargetUtil.CorpseCount(60f) <= 0)
                      return false;
      
                  return true;
       
      Last edited: Aug 3, 2017
    10. pgs

      pgs New Member

      Joined:
      Jul 24, 2017
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      1
      I found it.

      but He can not go home....
       

    Share This Page