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

Hammer of the Ancients: Not attacking some elites with the skill.

Using all the info I gained from reading this thread/the stickied guide, I've come up with these edits and my barb does everything it would do if I was playing it by hand, concerning HOTA. Uses it all the time unless below 15, then it does the AA swing. Only limiter I kept on it was wait for special, so it uses the AA if it's trying to use WOTB and it doesn't have fury, which isn't something you can do by hand, but it is something I want it to do.

Code:
// Hammer of the ancients spam-attacks - never use if waiting for special
                    if (!bOOCBuff && !bWaitingForSpecial && hashPowerHotbarAbilities.Contains(SNOPower.Barbarian_HammerOfTheAncients) &&
                        playerStatus.dCurrentEnergy >= 20 )
                    {
                        return new GilesPower(SNOPower.Barbarian_HammerOfTheAncients, 12f, vNullLocation, -1, targetCurrent.iThisACDGUID, 1, 1, SIGNATURE_SPAM);
                    }

I'm pretty sure this is all good code, I don't think there's anything I'm leaving out that will mess anything up at any point.
Good job, This is looking good I'm just testing it and its spamming so must be ok :)

Thanks everyone, it's indeed working.
 
Back
Top