• Visit Rebornbuddy
  • how to get threat sequence

    Discussion in 'Community Developer Forum' started by 钱浩然爸爸, Apr 25, 2021.

    1. 钱浩然爸爸

      钱浩然爸爸 Member

      Joined:
      Aug 27, 2017
      Messages:
      58
      Likes Received:
      2
      Trophy Points:
      8
      for example:
      in dungen,have two tank,I need to get who is the first and who is the second,


      do rb have this api?
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,663
      Likes Received:
      248
      Trophy Points:
      63
      Rb does have an extensive api but it is lacking functions for threat list because the data is not stored in the client. The game does not store threat information for any units except the one currently being targeted.
       
    3. 钱浩然爸爸

      钱浩然爸爸 Member

      Joined:
      Aug 27, 2017
      Messages:
      58
      Likes Received:
      2
      Trophy Points:
      8

      [​IMG] as the pic, pld is the first,smn second
       
    4. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,663
      Likes Received:
      248
      Trophy Points:
      63
      Change targets, and the threat meter takes a second to adust.
       
    5. 钱浩然爸爸

      钱浩然爸爸 Member

      Joined:
      Aug 27, 2017
      Messages:
      58
      Likes Received:
      2
      Trophy Points:
      8
      not matter, could you give me this api to get threat meter
       
      Last edited: Apr 26, 2021
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,663
      Likes Received:
      248
      Trophy Points:
      63
      You say it doesn't matter, but it does. Adding an api for threat would then require that we know if the threat data we have for the current target is stale, how long ago we switched targets etc.

      I'll take another look at it to see if it could be done cleanly, but I don't expect it will be.
       
    7. 钱浩然爸爸

      钱浩然爸爸 Member

      Joined:
      Aug 27, 2017
      Messages:
      58
      Likes Received:
      2
      Trophy Points:
      8
      This api can use to bring some new functions that never dev before,really need this.
      For example:
      in Savage dungen,Tank and healer could basis this to use appoint skills
       
      Last edited: Apr 28, 2021

    Share This Page