GithubHelp home page GithubHelp logo

johnnylam88 / nerien-hekili-packs Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 241 KB

Nerien's collection of Hekili action packs for various classes and specializations.

License: MIT License

Lua 100.00%

nerien-hekili-packs's Introduction

Nerien's Hekili Packs

Nerien's Hekili Packs is a collection of action packs for Hekili Priority Helper. The action packs are my interpretations of the advice from Wowhead, Icy Veins, and class Discord servers.

How to Use

  1. Install Hekili.
  2. Install Nerien's Hekili Packs.
  3. Use /hekili to open the Hekili configuration panel.
  4. Select the action pack for your specialization; all of this addon's packs are tagged nerien.
  5. Click the Active checkbox to enable the action pack.

Status

The following classes and specializations are supported:

  • Death Knight: Blood, Blood (Kyrasis)
  • Demon Hunter: Vengeance
  • Monk: Brewmaster, Brewmaster (Equinox)
  • Warrior: Protection

Links

nerien-hekili-packs's People

Contributors

johnnylam88 avatar

Stargazers

Julian Forrester avatar Justin Musick avatar

Watchers

 avatar Patrick B avatar

nerien-hekili-packs's Issues

Nice idea/Addon, would like to try to figure out if something would be possible.

Finding this addon gave me the idea of creating my own for my own profiles for hekili, I do have a question though on if it would be possible or not as I haven't been able to figure it out on my own, but would it be possible to create a classes.lua file (equivalent of https://github.com/Hekili/hekili/blob/dragonflight/Classes.lua without it being an exact duplicate of the file) but just to add in code like from this PR Hekili/hekili#2420 for example so that it would be possible to add health potions to hekili (or even do other things) without having to go in and edit the default hekili code?

would be a cool thing to do because then I couold add this code into a classes.lua file of my own:

local health_pots = {
    { name = "Refreshing Healing Potion 1", itemID = 191378 },
    { name = "Refreshing Healing Potion 2", itemID = 191379 },
    { name = "Refreshing Healing Potion 3", itemID = 191380 },
    { name = "Dreamwalkers Healing Potion 1", itemID = 207021 },
    { name = "Dreamwalkers Healing Potion 2", itemID = 207022 },
    { name = "Dreamwalkers Healing Potion 3", itemID = 207023 },
    { name = "Potion of Withering Dreams 1", itemID = 207039 },
    { name = "Potion of Withering Dreams 2", itemID = 207040 },
    { name = "Potion of Withering Dreams 3", itemID = 207041 },
}

for _, itemData in ipairs(health_pots) do
    local itemName = itemData.name:gsub("[^%w]+", "_"):lower()
    all:RegisterAbilities({
        [itemName] = {
            name = itemData.name,
            listName = function()
                local _, link, _, _, _, _, _, _, _, tex = GetItemInfo(itemData.itemID)
                if link and tex then return "|T" .. tex .. ":0|t " .. link end
                return "|cff00ccff[" .. itemData.name .. "]|r"
            end,
            cast = 0,
            cooldown = function() return time > 0 and 3600 or 60 end,
            gcd = "off",
            item = itemData.itemID,
            bagItem = true,
            startsCombat = false,
            texture = 4497595,
            usable = function()
                if GetItemCount(itemData.itemID) == 0 then return false, "requires " .. itemData.name .. " in bags" end
                if not IsUsableItem(itemData.itemID) then return false, itemData.name .. " on CD" end
                if health.current >= health.max then return false, "must be damaged" end
                return true
            end,
            readyTime = function()
                local start, duration = GetItemCooldown(itemData.itemID)
                return max(0, start + duration - query_time)
            end,
            handler = function()
                gain( 128250, "health" )
            end,
        }
    })
end

and have it work correctly without needing to go in and edit the classes.lua file of default hekili everytime they do an update.

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.