Skip to content

Suggestion: Improved autodetect of hearthstone toys #179

Description

@raptormama

A suggestion for improving the teleports datatext:

Avoid having to add new hearthstones to the existing toy table by iterating over existing toys in a user's collection and checking their spell descriptions for GetBindLocation(). If the result isn't nil, then add the toy to a table stored in a settings file. Do that at first run and at login (in case users bought anything from the store while not logged in that includes a hearthstone) and also when NEW_TOY_ADDED is fired (to see if the new toy is a hearthstone, and add it to the stored list if it is).

That way, it's easy to stay up to date while also not necessary to check the patch notes of every single update to locate new ones. It'll find surprising ones like Naaru's Enfold (which doesn't have "Hearthstone" in its name, so it's easy to miss!)

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