ItsDeltin / Overwatch-Script-To-Workshop

Converts scripts to Overwatch workshops.
208 stars 26 forks source link

Setting Ashe's Coach Gun Knockback Scalar results in invalid output #444

Closed piousdeer closed 1 year ago

piousdeer commented 1 year ago

customGameSettings.lobby:

{
  "Heroes": {
    "General": {
      "Ashe": {
        "Coach Gun Knockback Scalar (Self)": 300.0,
        "Coach Gun Knockback Scalar (Enemy)": 300.0,
        "Ultimate Generation - Combat (B.O.B.)": 200.0
      }
    }
  }
}

Expected output:

settings
{
    heroes
    {
        General
        {
            Ashe
            {
                Coach Gun Knockback Scalar Self: 300%
                Coach Gun Knockback Scalar Enemy: 300%
                Ultimate Generation - Combat B.O.B.: 200%
            }
        }
    }
}

Actual output:

settings
{
    heroes
    {
        General
        {
            Ashe
            {
                Coach Gun Knockback Scalar (Self): 300%
                Coach Gun Knockback Scalar (Enemy): 300%
                Ultimate Generation - Combat B.O.B.: 200%
            }
        }
    }
}

image