Skip to content

Suggestion: mark only portals that could be upgraded by the Player himself #22

Description

@schentuu

Because i'm totally new to github, i don't want to fork or branche your code to suggest any changes.
Just a small suggestion for your "iitc: upgradeablePortals"-script:

In version 0.2.1 it shows all portals that could be upgraded to playerlevel-1
What do you think about marking only the portals, that could be upgraded by the player himself?

This is done with a very small change in line 128
Just replace
if(possibleLevel >= playerLevel-1) {
with
if(possibleLevel > portal.options.level) {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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