Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stone Gate has 6/6 armor, but listed as 0/0 in the tech tree. #137

Open
michael-byrd opened this issue Nov 5, 2023 · 2 comments
Open

Stone Gate has 6/6 armor, but listed as 0/0 in the tech tree. #137

michael-byrd opened this issue Nov 5, 2023 · 2 comments

Comments

@michael-byrd
Copy link

michael-byrd commented Nov 5, 2023

The stone gate in the tech tree shows 0 melee and 0 pierce armor, but it should be 6 each.

The amount under the Armours list has an amount of 0 for Class 3 and Class 4, but further below it has the correct values under "MeleeArmor" and "PierceArmor."

"487": {
                "AccuracyPercent": 100,
                "Armours": [
                    {
                        "Amount": 0,
                        "Class": 21
                    },
                    {
                        "Amount": 20,
                        "Class": 11
                    },
                    {
                        "Amount": 0,
                        "Class": 4
                    },
                    {
                        "Amount": 0,
                        "Class": 3
                    },
                    {
                        "Amount": 0,
                        "Class": 13
                    },
                    {
                        "Amount": 0,
                        "Class": 22
                    },
                    {
                        "Amount": 0,
                        "Class": 31
                    }
                ],
                "Attack": 0,
                "Attacks": [],
                "Cost": {
                    "Stone": 30
                },
                "GarrisonCapacity": 0,
                "HP": 1650,
                "ID": 487,
                "LanguageHelpId": 26185,
                "LanguageNameId": 5185,
                "LineOfSight": 6,
                "MeleeArmor": 6,
                "MinRange": 0,
                "PierceArmor": 6,
                "Range": 0,
                "ReloadTime": 2.5,
                "TrainTime": 70,
                "internal_name": "GTAX2"
            }
@HSZemi
Copy link
Member

HSZemi commented Dec 1, 2023

The MeleeArmor and PierceArmor values are the displayed values, but the ones in Armours are actually used for calculations. I am actually not sure why some of the Gate units have 6/6 there, and some 0/0

@denniske
Copy link

denniske commented Dec 29, 2023

For the palisade gate in the game 2/2 is displayed but in the data both Armours and MeleeArmor and PierceArmor are 0.

https://ageofempires.fandom.com/wiki/Palisade_Gate_(Age_of_Empires_II)

image
"792": {
    "AccuracyPercent": 100,
    "Armours": [
        {
            "Amount": 0,
            "Class": 21
        },
        {
            "Amount": 0,
            "Class": 11
        },
        {
            "Amount": 0,
            "Class": 4
        },
        {
            "Amount": 0,
            "Class": 3
        },
        {
            "Amount": 0,
            "Class": 22
        },
        {
            "Amount": 0,
            "Class": 31
        }
    ],
    "Attack": 0,
    "Attacks": [],
    "Cost": {
        "Wood": 30
    },
    "GarrisonCapacity": 0,
    "HP": 240,
    "ID": 792,
    "LanguageHelpId": 26186,
    "LanguageNameId": 5186,
    "LineOfSight": 6,
    "MeleeArmor": 0,
    "MinRange": 0,
    "PierceArmor": 0,
    "Range": 0,
    "ReloadTime": 0,
    "TrainTime": 30,
    "internal_name": "PGTAX"
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants