Giter Club home page Giter Club logo

Comments (9)

lye avatar lye commented on June 19, 2024

I mean, they're enumeration values that have been there for a long time, so we can't change them without breaking existing applications. The Boon/ConditionDuration enum value has been in there for awhile; I'm not sure if it's entirely safe to change.

The "Boon Duration +X%" buff is the old-style before it was set up as an actual attribute -- it was implemented as a hidden buff that modified boon/condi applications when you used a skill. When we added durations as actual attributes, the old stuff didn't get updated. There are two completely separate ways to modify boon/condi durations, and the API reflects this. I agree that it's kinda gross, but I don't really want to mess with it until I sneak /v2/itemz past @tivac.

from api-cdi.

dr-ishmael avatar dr-ishmael commented on June 19, 2024

I understand that about the buffs - back when Magic Find was an equipment
attribute, it was built the same way. But you're saying that the percentage
Boon Duration and the non-percentage Concentration share the same
enumeration?

On Tue, Nov 3, 2015 at 12:27 PM, lye [email protected] wrote:

I mean, they're enumeration values that have been there for a long time,
so we can't change them without breaking existing applications. The
Boon/ConditionDuration enum value has been in there for awhile; I'm not
sure if it's entirely safe to change.

The "Boon Duration +X%" buff is the old-style before it was set up as an
actual attribute -- it was implemented as a hidden buff that modified
boon/condi applications when you used a skill. When we added durations as
actual attributes, the old stuff didn't get updated. There are two
completely separate ways to modify boon/condi durations, and the API
reflects this. I agree that it's kinda gross, but I don't really want to
mess with it until I sneak /v2/itemz past @tivac
https://github.com/tivac.


Reply to this email directly or view it on GitHub
#112 (comment).

from api-cdi.

tivac avatar tivac commented on June 19, 2024

but I don't really want to mess with it until I sneak /v2/itemz past @tivac.

ಠ_ಠ

from api-cdi.

sliekens avatar sliekens commented on June 19, 2024

ಠ_ಠ

ಠ◡ಠ

from api-cdi.

lye avatar lye commented on June 19, 2024

But you're saying that the percentage Boon Duration and the non-percentage Concentration share the same enumeration?

Nah, the percentage Boon Duration is not a character attribute. It's not even an enumeration value -- I'm pretty sure it's just a string (it's even localized!). :sadness:

EDIT: Apparently there are three ways in-game that this is communicated...

from api-cdi.

dr-ishmael avatar dr-ishmael commented on June 19, 2024

Interesting. I'm at home now and checked some of these in-game - the upgrade components, like Freshwater Pearl and Exquisite Freshwater Pearl, actually show +9 Boon Duration, just like it is in the buff on the API. But the trinkets like Freshwater Pearl Orichalcum Earring, get transformed to +35 Concentration.

And NOW I read your edit and see that you already know about it. Ah well, I took the time to write all that, I'm posting it anyway. :)

EDIT: The +10% Condition Duration shown on the Giver's Iron Axe is what that item has always had, and it does add 10% directly to Condition Duration (I just bought one in-game and equipped it.) So Giver's equipment should be fine, it's the new items with the non-percentage stats that appear to be flawed in their buff terminology.

from api-cdi.

lye avatar lye commented on June 19, 2024

I think what I want to do is add an additional field to the details object that contains the machine-readable jewel stats. I don't want to mess with the existing fields for fear of application breakage. I'll have to write a PR later.

from api-cdi.

Archomeda avatar Archomeda commented on June 19, 2024

Recently the Boon Duration and Condition Duration stats on (as far as I know, all) equipment have been changed to their non-percentage equivalent, so I think this is no longer an issue?

from api-cdi.

Aonwy avatar Aonwy commented on June 19, 2024

If there is additional need around this, please write up a new ticket.

from api-cdi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.