Forum Discussion

ccmoose's avatar
ccmoose
Rising Novice
2 years ago

DC Clarification, Please

For this one:


"Defense" is not a stat in the game. When the game talks about Defense Up or +/- defense gains, the change is applied to armor and resistance each. But when it says it's going to take our "current defense" and add it to something else, what is meant by "current Defense"? Is it Armor + Resistance? The average of the 2? Do the data miners know? Do the devs know?
  • scuba75's avatar
    scuba75
    Seasoned Rookie
    Defense as you said is armor/resistance
    These values are flat values (not shown in game anymore).
    Game shows damage mitigation.
    Offense is physical and special damage

    Armor is for physical
    Resistance is for special
    So it adds the
    armor value to physical
    Resistance value to special

    I will see if I can pull more info on the context values they are using later.

    If someone wants to dig thru, before I can, here is the effect references
    https://github.com/swgoh-utils/gamedata/blob/main/effect.json
  • scuba75's avatar
    scuba75
    Seasoned Rookie
    I couldn't find it in the effect refernce
    I don't believe it will add CONTEXT_VALUES together, i am pretty sure it is just a set and get thing, normally when it is accumlating a number it will use blackboard
    example


    So it should just be adding the
    armor value to physical
    Resistance value to special

    Be simple to test in Squad area when they are available. Just equip it and have a unit that deals true damage and than math it backwards.
  • I assume it's the same as last time. But mods also give defense %, so safe bet is whatever that modifies.
  • ccmoose's avatar
    ccmoose
    Rising Novice
    "StarSon;c-2440706" wrote:
    I assume it's the same as last time.


    What did it do last time?

    "StarSon;c-2440706" wrote:
    But mods also give defense %, so safe bet is whatever that modifies.


    Mods don't actually give you defense. "Defense" is shorthand for add/remove bonus to Armor and Resistance. This DC goes the other direction, so that shorthand doesn't make sense anymore.
  • "Ragnarok_COTF;c-2440709" wrote:
    "StarSon;c-2440706" wrote:
    I assume it's the same as last time.


    What did it do last time?
    It pulls the Armor and Resistance values. You can see the mechanics on swgoh.gg. https://swgoh.gg/db/datacrons/11/ability/ability_set_imperialtrooper_001/3/

    "StarSon;c-2440706" wrote:
    But mods also give defense %, so safe bet is whatever that modifies.


    Mods don't actually give you defense. "Defense" is shorthand for add/remove bonus to Armor and Resistance. This DC goes the other direction, so that shorthand doesn't make sense anymore.


    And yes, I know. I was carrying on with your point about how defense isn't a real stat, and yet we have permanent items that modify it. Apparently the gaming-fans site has a formula to convert Defense to an Armor/Resistance stat value that gets used. I don't want to link it though, because that site is awful.
  • ccmoose's avatar
    ccmoose
    Rising Novice
    Thank you, I did not realize that .gg had mechanics pages for the datacrons.

    It's still a bit unclear to me whether the Armor Context Value and Resistance Context Value are being combined or loaded into separate contexts. That is, does Phys Dmg get the Armor Context applied and Spec Dmg get the Resistance Context? Or was that one context value that added Armor and Resistance together? My read is the former, but I'm not sure.
  • "Ragnarok_COTF;c-2440714" wrote:
    Thank you, I did not realize that .gg had mechanics pages for the datacrons.

    It's still a bit unclear to me whether the Armor Context Value and Resistance Context Value are being combined or loaded into separate contexts. That is, does Phys Dmg get the Armor Context applied and Spec Dmg get the Resistance Context? Or was that one context value that added Armor and Resistance together? My read is the former, but I'm not sure.


    Yeah, I really hadn't either. Went searching on the events server (datacrons channel) because I remember them talking about it last time.

    But, looking at mechanics, it shows each going into context, and that total value being used to increase both physical and special damage.
  • ccmoose's avatar
    ccmoose
    Rising Novice
    Idk, man. This one is set up differently than other abilities that would need multiple context values.

    For example, T3's unique zeta, the Armor Pen is put in Context value, then the Armor Pen is modified, then the Res Pen is put in Context value, then the Res Pen is modified. In that case, either they are separate Context values or the same is overwritten by the second query.

    Vader's speed boost unique works similarly to T3's unique. The number of Jedi enemies is put in Context value, speed increased, then the Rebel enemies, then speed increase, etc.

    Zam unique, same pattern.

    I didn't spend long, but I couldn't find an example where there are clearly 2 distinct Context values nor could I find an example of Context values being added together.