[LUA/Macro] Holy Power? menu

User Tag List

Results 1 to 4 of 4
  1. #1
    themipband's Avatar Private
    Reputation
    1
    Join Date
    Nov 2010
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LUA/Macro] Holy Power?

    Any one know how to incorporate holy power into LUA macro? This is macro im using so far and would like for an addition of usage with the new holy power stuff. I want to have something so where at 3 holy power i can cast spell templar's verdict

    any help would be awesome!

    here is what im using so far and works very well with the new ret pally set ups

    Code:
    /startattack
    
    /run if (UnitHealth("target")/UnitHealthMax("target")<0.2) and GetSpellCooldown("Hammer of Wrath") ==0 then CastSpellByName("Hammer of Wrath") end
    
    /run if UnitBuff("player", "avenging wrath") and GetSpellCooldown("hammer of wrath")==0 then CastSpellByName("hammer of wrath") end
    
    
    /run if UnitBuff("player", "the art of war") and GetSpellCooldown("exorcism")==0 then CastSpellByName("exorcism") end
    
    /run if UnitBuff("player", "hand of light") and GetSpellCooldown("templar's verdict")==0 then CastSpellByName("templar's verdict") end
    
    /run if GetSpellCooldown("Judgement") ==0 then CastSpellByName("Judgement") end
    
    
    /run if GetSpellCooldown("crusader strike") ==0 then CastSpellByName("crusader strike") end
    
    /run if GetSpellCooldown("holy wrath") ==0 then CastSpellByName("holy wrath") end
    
    
    
    /run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");

    [LUA/Macro] Holy Power?
  2. #2
    tiptopz's Avatar Active Member
    Reputation
    73
    Join Date
    Jan 2008
    Posts
    148
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seeing as you're using LUA:
    API UnitPower - Wowpedia - Your guide to the World of Warcraft


    Run the following to make sure you have the right powertype:
    API UnitPowerType - Wowpedia - Your guide to the World of Warcraft

  3. #3
    hellclaw's Avatar Private
    Reputation
    1
    Join Date
    Dec 2010
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Isn't CastSpellByName() a protected function and thus cant be used in combat?
    I thought this script couldn't function, anyway i tried since i dindn't play continuously since vanilla and i might have missed something, also as stated
    works very well with the new ret pally set ups
    ..but as i supposed it didn't :|

    Don't know how you could make it work, maybe explain me then i'm always opened to be more noobish than i was before. As it goes for me i pasted the code in a macro in Super Duper Macro (very handy addon to fire macros longer than 255 chars) and tried firing it in combat. Nothing happened.
    World of Warcraft API - Wowpedia - Your wiki guide to the World of Warcraft
    Secure code - Wowpedia - Your wiki guide to the World of Warcraft
    Last edited by hellclaw; 12-11-2010 at 05:07 PM.

  4. #4
    tiptopz's Avatar Active Member
    Reputation
    73
    Join Date
    Jan 2008
    Posts
    148
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They're using a tool like LuaNinja to unlock the protected functions. As it stands, there are only private tools available. (lol private = available)

Similar Threads

  1. paying for a good private lua macro for holy paladin and ret paladin pvp
    By Speedracer22 in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 03-25-2012, 02:00 PM
  2. [REQ] Holy Paladin LUA Macro Needs Update!
    By Sikas in forum WoW UI, Macros and Talent Specs
    Replies: 18
    Last Post: 04-20-2011, 08:35 PM
  3. [LUA/macro] Another "need help" thread, easy rep.
    By Ssateneth in forum WoW UI, Macros and Talent Specs
    Replies: 15
    Last Post: 11-26-2010, 06:04 AM
  4. [Guide] Easy Holy Power for Paladins 4.0.1
    By facelesssoul in forum World of Warcraft Guides
    Replies: 5
    Last Post: 10-24-2010, 12:54 AM
  5. [Paladin] "Unlimited" Holy power as holy paladin
    By munccu in forum World of Warcraft Exploits
    Replies: 6
    Last Post: 10-13-2010, 05:37 PM
All times are GMT -5. The time now is 08:25 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search