• Visit Rebornbuddy
  • Item attributes get PrimaryStat method return strange values

    Discussion in 'Community Developer Forum' started by deadbull, Aug 3, 2017.

    1. deadbull

      deadbull New Member

      Joined:
      Sep 6, 2014
      Messages:
      17
      Likes Received:
      1
      Trophy Points:
      3
      Hey guys,

      I don't undertand why strength/agility/vitality property of item.Attributes return wrong values

      in exemple in AttributesWrapper in Trinity i can see "IntelligenceItem" property, this work, give me the exact value of my item primary intellligence stat but we have no alternative for Strength, vitality etc... and the

      item.Attributes.Strength on Tasker & Théo have 1146028032 as value :/
      same strrrange number for item.Attributes.Vitality & item.Attributes.Agility.

      the only difference between item.Attributes.IntelligenceItem and item.Attributes.Intelligence are the variable type : Float for the first ( working value ) & Int for the second (not worrking), so how can i manage that ?

      If someone has an explanation for this :)

      Thanks
       
    2. solisgood

      solisgood New Member

      Joined:
      Jan 12, 2016
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      1
      I have the same problem.
      ---------------
      2017-09-05 00:00:23,766 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2017.814] >> 评估 娜塔亚的视界 -- 体能 (Item: 1.14883E+09 -v- 规则: 922) = True
      2017-09-05 00:00:23,767 [Main Bot Thread] DEBUG DefaultLogger (null) - [Trinity 2.2017.814] >> 评估 娜塔亚的视界 -- 主要属性 (Item: 1.148715E+09 -v- 规则: 922) = True
       
    3. pleamon

      pleamon New Member

      Joined:
      Dec 11, 2017
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      1
      AttributesWrapper was wrong, i used ACDItem.ItemStats
       
    4. Chocoboos

      Chocoboos Member Legendary

      Joined:
      Jan 2, 2013
      Messages:
      66
      Likes Received:
      1
      Trophy Points:
      8
      can you share what You exacly changed??
       

    Share This Page