Terter.4125 Posted June 17 Share Posted June 17 (edited) I'm making a project using the GW2 API. I'm at this point where I want to set the attributes for the character but the math is a bit tricky. I managed to calculate the attributes for the equipment 100% correctly (item stats, infusions, runes, sigils) but now I need to also add attributes from the active traits and skills. This would be fine if the information for each skill and trait was consistant. Here is one example of inconsistancy, there are many more: Stalwart Defender Gain toughness when wielding a shield, and shield skills gain reduced recharge. Toughness: +240 Recharge Reduced: 20% and Zaelous Blade Your power is increased. Gain additional power while wielding a greatsword. Your greatsword skills have reduced recharge. Power: +120 Power While Wielding Greatsword: +120 Recharge Reduced: 20% in this example the first trait gives +240 Toughness but from the description of the trait is "only when wielding a shield". In the second example we have +120 Power and +120 Power wielding a greatsword but the way it's put below now it is explained that "Power While Wielding Greatsword: +120". Why the first example it's not written "Toughness While Wielding Shield: +240", I cannot say. As I said there are many of this examples and hardcoding each of the traits or skill is not an option because the balance patches will throw that work away. A simple solution is if the API team could add the attributes seen on the hero panel inside v2/characters/:id that would be lovely! Edited June 19 by Terter.4125 Link to comment Share on other sites More sharing options...
Terter.4125 Posted October 1 Author Share Posted October 1 Thank you for adding Relic & Jade Bot PowerCore, SensoryArray, ServiceChip to the API! ❤️ Can you add the attributes that are shown on the hero panel as well? Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now