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

PowerManager.CanCast(SNOPower.X1_Crusader_Condemn) returning wrong result.

Buffonza

New Member
Joined
Dec 16, 2012
Messages
19
Reaction score
4
Condition: Have Frydehr’s Wrath - Game Guide - Diablo III equiped on crusader, wrath is below cost of Condemn(icon on hotbar is grey).
Result: PowerManager.CanCast(SNOPower.X1_Crusader_Condemn) returning "true"
Desired behaviour: PowerManager.CanCast(SNOPower.X1_Crusader_Condemn) returning "false" because bot don't have enough wrath to cast Condemn.

Example of log:
DEBUG TrinityDebug [Trinity][Behavior] CanCast X1_Crusader_Condemn == True, currentWrath == 22,5239658355713
 

Attachments

You may want to post in the Trinity section of the forums.
 
PowerManager.CanCast is DB function, not Trinity.

Edit:
To clarify, full function name is Zeta.Bot.PowerManager.CanCast
 
Last edited:
I believe we use the developer section of the forum for things like this.

The support forum is primarily for troubleshooting simpler things. You will probably receive more attention from the right people there.
 
Back
Top