Garalon PQR Help menu

User Tag List

Results 1 to 7 of 7
  1. #1
    turtlemans's Avatar Member
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Garalon PQR Help

    I'm running Kinkeh's DW Frost Rotation bot for this, but I'm having some trouble with Soul Reaper. Soul reaper doesn't proc the extra haste on Garalon's legs, so it isn't helpful to use soul reaper as they so often die before it can proc. However, I do want to use soul reaper on garalon's body. Here is the code I am using for the ability to not target garalon's legs with soul reaper.

    Code:
    local Targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local SpellCheck = PQR_SpellAvailable(130735)
    
    if SpellCheck then
       if Targethealth <= 35 then
       		if UnitIsUnit ("Target","Garalon's Leg") == nil then
         		if UnitLevel("target") == -1 or UnitIsUnit("target", "boss1") then
             return true
          end
       end
    end
    However, this is making the rotation hang. What am I doing wrong?

    Garalon PQR Help
  2. #2
    Rubim's Avatar Contributor
    Reputation
    247
    Join Date
    Mar 2010
    Posts
    267
    Thanks G/R
    4/7
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by turtlemans View Post
    I'm running Kinkeh's DW Frost Rotation bot for this, but I'm having some trouble with Soul Reaper. Soul reaper doesn't proc the extra haste on Garalon's legs, so it isn't helpful to use soul reaper as they so often die before it can proc. However, I do want to use soul reaper on garalon's body. Here is the code I am using for the ability to not target garalon's legs with soul reaper.

    Code:
    local Targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local SpellCheck = PQR_SpellAvailable(130735)
    
    if SpellCheck then
       if Targethealth <= 35 then
       		if UnitIsUnit ("Target","Garalon's Leg") == nil then
         		if UnitLevel("target") == -1 or UnitIsUnit("target", "boss1") then
             return true
          end
       end
    end
    However, this is making the rotation hang. What am I doing wrong?
    Or you could:

    Code:
    local Targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local SpellCheck = PQR_SpellAvailable(130735)
    local TargetName = UnitName("target")
    
    if SpellCheck
    and Targethealth <= 35
    and TargetName ~= "Garalon's Leg"
    then
    	return true
    end
    https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-bot-maps-profiles/385569-pqr-death-knight-monk-tank-dps-profiles.html#post2582063

  3. #3
    turtlemans's Avatar Member
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a ton! Could I just keep adding targets to that list that I don't want to use soul reaper on?

    i.e.
    Code:
    local Targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local SpellCheck = PQR_SpellAvailable(130735)
    local TargetName = UnitName("target")
    
    if SpellCheck
    and Targethealth <= 35
    and TargetName ~= "Garalon's Leg"
    and TargetName ~= "Celestial Protector"
    and TargetName ~= "Energy Charge"
    then
    	return true
    end
    Also, you're the best!

  4. #4
    Rubim's Avatar Contributor
    Reputation
    247
    Join Date
    Mar 2010
    Posts
    267
    Thanks G/R
    4/7
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by turtlemans View Post
    Thanks a ton! Could I just keep adding targets to that list that I don't want to use soul reaper on?

    i.e.
    Code:
    local Targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local SpellCheck = PQR_SpellAvailable(130735)
    local TargetName = UnitName("target")
    
    if SpellCheck
    and Targethealth <= 35
    and TargetName ~= "Garalon's Leg"
    and TargetName ~= "Celestial Protector"
    and TargetName ~= "Energy Charge"
    then
    	return true
    end
    Also, you're the best!
    I would suggest a table.

    Code:
    local Targethealth = 100 * UnitHealth("target") / UnitHealthMax("target")
    local SpellCheck = PQR_SpellAvailable(130735)
    local TargetName = UnitName("target")
    
    CanSoulReaper = true
    
    local SoulReaperMobs = {
    "Garalon's Leg",
    "Celestial Protector",
    "Energy Charge"
    }
    
    for i=1, #SoulReaperMobs do
    	if TargetName == SoulReaperMobs[i]
    	then
    		CanSoulReaper = false
    	end
    end
    
    if SpellCheck
    and Targethealth <= 35
    and CanSoulReaper = true
    then
    	return true
    end
    https://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-bots-programs/wow-bot-maps-profiles/385569-pqr-death-knight-monk-tank-dps-profiles.html#post2582063

  5. #5
    imdasandman's Avatar Contributor
    Reputation
    206
    Join Date
    Feb 2011
    Posts
    965
    Thanks G/R
    9/4
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On the legs I manually pop soul reaper around 50% so it does go off within the 35% window. It hits like a truck like that.

    Sent from my SAMSUNG-SGH-I717 using Tapatalk 2
    My Frost/Unholy DK WoL ranking edits(4.3) and crystals Hunter Beta profiles-
    https://imdasandmandeathknight.googl...com/svn/trunk/
    Originally Posted by Valma View Post
    Oh sure. (: Plz,lord,rewrite my profile without "re-inventing a wheel".I'm really interested how would you do so.I even ready to eat my pants if yours will perform better in raids than mine

  6. #6
    turtlemans's Avatar Member
    Reputation
    1
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The first one you posted causes it to hang immediately and the second you posted causes it to hang at 35%.



  7. #7
    Aleksonfire's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Nov 2012
    Posts
    132
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by turtlemans View Post
    The first one you posted causes it to hang immediately and the second you posted causes it to hang at 35%.


    Did you make sure put the spell id in the little window on the lower left? and set target as target?
    Resto Shammy Profile - https://goo.gl/nm5Nc

Similar Threads

  1. [PQR] help
    By TheLordJesusHimself in forum WoW Bots Questions & Requests
    Replies: 5
    Last Post: 04-13-2013, 06:05 PM
  2. PQR Help !
    By sevennsins in forum WoW Bot Maps And Profiles
    Replies: 1
    Last Post: 03-19-2013, 12:50 PM
  3. [PQR] help :D
    By jacobmohan in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 02-01-2013, 10:29 AM
  4. [PQR] Help with Eclipse mechanic! (3.3.5)
    By Zyraxian in forum WoW Bots Questions & Requests
    Replies: 8
    Last Post: 11-25-2012, 11:06 AM
  5. [Bot] PQR Help!
    By TheEmptyOne in forum World of Warcraft Bots and Programs
    Replies: 1
    Last Post: 06-19-2012, 03:31 PM
All times are GMT -5. The time now is 01:52 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search