1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Request API request: canActivate() method for magic spells

Discussion in 'Client & Site Suggestions' started by Savior, Jan 26, 2016.

  1. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    After dealing searching through the whole API I haven't came across this method or any other way to see if a spell is activatable.
    By activatable i mean whether a spell is dark, or full of colors, for example if the player hasnt enough runes or the required level. The texture id and other interface parameters won't change.
    @Cloud
     
    SlashnHax likes this.
  2. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,198
    Likes Received:
    1,041
    iirc there's an interface that becomes visible/invisible depending on if the spell can be activated. It overlays the spell icon.

    Edit: nvm, that's for the action bar xD
     
    #2 SlashnHax, Feb 2, 2016
    Last edited: Feb 2, 2016
  3. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    isActivatable() > canActivate()

    But support.
     
  4. Savior

    Savior Java Warlord

    Joined:
    Nov 17, 2014
    Messages:
    4,906
    Likes Received:
    2,748
    Whatever
     
    Derk likes this.
  5. Derk

    Derk 12 year old normie

    Joined:
    Jan 8, 2015
    Messages:
    2,766
    Likes Received:
    1,339
    ¯\_(ツ)_/¯
     

Share This Page

Loading...