Giter Club home page Giter Club logo

protipper-rift's People

Contributors

emiln avatar

Watchers

 avatar

protipper-rift's Issues

Priority List: Rogue Huntsman

  • Figure out which abilities to use as a Huntsman.
  • Figure out their respective priorities.
  • Figure out their respective conditions.

Inject API into predicate functions

Currently the predicate functions from the spec priority queues are called like this:

for index, ability in ipairs(spec) do
    local name = ability[1]
    local valid = ability[2]
    if valid() then
        return name
    end
end

It would be easy to inject the API:

for index, ability in ipairs(spec) do
    local name = ability[1]
    local valid = ability[2]
    if valid(API) then  -- Notice the argument.
        return name
    end
end

Currently you have to specifically refer to Protipper.API to hook into the API.

Detect spec

The addon needs to figure out if the player is using a known spec and if so load its priority list.

  • Determine the key abilities for a known spec and check whether the player currently has these abilities.
  • On role switch (or when gaining or losing abilities) find and load a matching spec.
  • Have an empty fallback spec for unknown specs.

UI sketch

Make a sketch for the upcoming UI. It seems prudent to consider including the following information somewhere in the UI:

  • The icon of the next ability to use.
  • The name of the next ability to use.
  • The keybinding of the next ability to use.
  • Optional health and mana bars.

Implement a draggable GUI

The layout should be based on #5 and should deliver the following functionality:

  • Draggable on the icon area.
  • Simple, solid borders.
  • White-on-black ability names present below icon.

Error resilience

The AddOn should be able to:

  • Provide graceful fall backs for misspelled abilities, empty priority lists, etc.
  • Not present the end user with a raw Lua error in any of the above circumstances.

Hook into relevant events

The AddOn should be able to:

  • Update its ability suggestion whenever the following change for you, your target, or your pet:
    • Vitality/resources (health, mana, charge, etc.)
    • Buffs/debuffs
    • Stats (dexterity, strength, etc.)

Ability suggestion

The AddOn should be able to:

  • Figure out the next ability to use based on a (for now fixed as "Huntsman") priority list.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.