Results 1 to 2 of 2

Thread: GetStunDuration()

  1. #1
    Basic Member
    Join Date
    Dec 2016
    Posts
    731

    Question GetStunDuration()

    I just noticed that the unit-scoped API function "GetStunDuration( bool bCurrentlyAvailable )" returns values for abilities that are not on cooldown but I do not have mana for. Any chance the concept of "bCurrentlyAvailable" can be modified to the equivalent of IsFullyCastable()?

    I would hazard to guess that GetSlowDuration() is the same way.

  2. #2
    Valve Developer
    Join Date
    Sep 2011
    Posts
    1,704
    Yep, that's just an oversight, will be fixed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •