Skip to content

[Feature] Auto-set newly acquired pouches as fully repaired #54

@Infinitay

Description

@Infinitay

There are two known ways of obtaining an essence pouch:

The easiest thing would be to

If the player is searching the guardian (animation id and maybe interacting check)
    If a newly added item into the inventory is a pouch
        Set that pouch as fully repaired since it's new

However some questions that come to mind

  • Could there be a case where the animation is still going, but a player picks up an essence pouch off the floor?
    • Edge case and probably won't happen and honestly not like anyone would do this... but still
  • What if the player walks away right as they search it?

Could look into the loot tracker plugin and see how they handle things or if there is a loot event that also contains the source of the loot

  • The loot tracker shows loot for both the abyssal creatures since it's a NPC loot drop after all, but it also captures loot for the reward guardian
  • ItemSpawned
    • This might fire for regular item drops too, but we can do a check to see if the player is in the Abyss region and a pouch is on the floor

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions