Skip to content

Fix skill icon name #37

@dnchattan

Description

@dnchattan

This data is a pain to fetch on-demand (and it's slow) so it might have to be cached statically when building for a new game version.

The path to get the right data is the following:

  • Raid_Data\data.unity3d - assetBundles resource has a json map of all the game asset groups
  • From the HeroType data, lookup the ModelName as a key in the BundlesByName map
  • For example, for Baron: BundlesByName.0015_Knight.i['1.15.0']
    • The assets in the main object are listed under the a key, and dependencies are in the d key. There's a set of skill assets Skills/{number}.asset which are MonoBehavior objects that contain information about the skill visuals and in particular, the resource path:
      {
        "m_Name": "3801",
        "VisualSkill": {
          "SkillId": 3801,
          "SkillSprite": {
            "m_FileID": 1,
            "m_PathID": -7017382126988294580
          },
          "SkillIcon": "UI/SkillIcons/380_s1",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions