• Visit Rebornbuddy
  • Detecting Hidden Buffs / Activated Abilities

    Discussion in 'Community Developer Forum' started by iupcompkid666, Jul 7, 2019.

    1. iupcompkid666

      iupcompkid666 New Member

      Joined:
      Oct 3, 2012
      Messages:
      20
      Likes Received:
      1
      Trophy Points:
      1
      Is there any way to determine if an ability has been triggered for a special effect? Example breaking Dark Arts gives a hidden buff that gives a free Flood/Edge of Shadow/Darkness. It doesn't appear in the buff list or affect the ActionManager.CurrentActions Cost/Cost Type
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      Theres probaly a change inside the actionresourcemanager resource struct to indicate that "buff" is active, log before and after its active and post it here.
       
    3. iupcompkid666

      iupcompkid666 New Member

      Joined:
      Oct 3, 2012
      Messages:
      20
      Likes Received:
      1
      Trophy Points:
      1
      Thanks for the help! Didn't have a chance to look yesterday but from some testing today it looks like you were right.

      I will need to do more testing as well as trying to incorporate it into the combat routine but it looks like Dark Arts active flag is offset_C for Dark Knight in ActionResourceManager.CostTypesStruct. I suspect other classes are similar. From logging in Rebornconsole I received the following (one of many samples):

      ResourceTable: { timer: 100, timer2: 0, offset_8: 100, offset_9: 0, offset_A: 0, offset_B: 0, offset_C: 1, offset_D: 0, offset_E: 0 }
       
    4. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,232
      Likes Received:
      364
      Trophy Points:
      83
      Thanks ill add that to the action resource manager.
       

    Share This Page