This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hunter_mm(self) | |
-- Marksmanship Hunter by Chiffon with additions by Scribe | |
-- Change this to your Aimed Shot binding -- | |
local clickMF = "/click ActionButton3" | |
------------------------------------------ | |
local up = UnitPower | |
local r = RunMacroText; | |
local spell = nil | |
local raf_ready,raf_timeleft,_ = GetSpellCooldown("Rapid Fire"); | |
local chim_ready,chim_timeleft,_ = GetSpellCooldown("Chimera Shot"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hunter_mm(self) | |
-- Marksmanship Hunter by Chiffon with additions by Scribe | |
------------------------------------------ | |
local up = UnitPower | |
local r = RunMacroText; | |
local spell = nil | |
local raf_ready,raf_timeleft,_ = GetSpellCooldown("Rapid Fire"); | |
local chim_ready,chim_timeleft,_ = GetSpellCooldown("Chimera Shot"); | |
-- Interupting, Borrowed directly from feral cat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function hunter_mm(self) | |
-- Marksmanship Hunter by Chiffon with additions by Scribe | |
------------------------------------------ | |
local up = UnitPower | |
local r = RunMacroText; | |
local spell = nil | |
local raf_ready,raf_timeleft,_ = GetSpellCooldown("Rapid Fire"); | |
local chim_ready,chim_timeleft,_ = GetSpellCooldown("Chimera Shot"); | |
-- Interupting, Borrowed directly from feral cat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function jps.get_item_cooldown(slot) | |
local start,duration,_ = GetInventoryItemCooldown("player", slot) | |
local cd = start+duration-GetTime()-jps.Lag | |
if cd < 0 then return 0 end | |
return cd | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = "http://ventrilostatus.net/xml/nitrogen.typefrag.com:11101/"; | |
//$xml = file_get_contents($url); | |
$xml = file_get_contents("source.xml"); | |
$base = simplexml_load_string($xml); | |
$bold_pre = "\033[1;1m"; | |
$bold_post = "\033[0m"; | |
//print_r($array); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$url = "http://ventrilostatus.net/xml/nitrogen.typefrag.com:11101/"; | |
//$xml = file_get_contents($url); | |
$xml = file_get_contents("source.xml"); | |
$base = simplexml_load_string($xml); | |
$bold_pre = "\033[1;1m"; | |
$bold_post = "\033[0m"; | |
//print_r($base); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//geektool-vent.php | |
//version 1.0 | |
//created by kyletxag and benphelps | |
//download at pixelsoak.com | |
//uses geektool to monitor vent status using ventrilostatus.net | |
//edit these details | |
//$url = "http://ventrilostatus.net/xml/server:port/"; | |
$url = "http://ventrilostatus.net/xml/nitrogen.typefrag.com:11101/"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function warlock_affliction(self) | |
local mana = UnitMana("player")/UnitManaMax("player") | |
local shards = UnitPower("player",7) | |
local spell = nil | |
local bod_duration = cdo.debuff_duration("target","bane of doom") | |
local cpn_duration = cdo.debuff_duration("target","corruption") | |
local ua_duration = cdo.debuff_duration("target","unstable affliction") | |
-- focus dotting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function paladin_ret(self) | |
-- Rewrite for CDO by Kyletxag, altered from GoCargo's write. | |
local myHealthPercent = UnitHealth("player")/UnitHealthMax("player") * 100 | |
local targetHealthPercent = UnitHealth("target")/UnitHealthMax("target") * 100 | |
local myManaPercent = UnitMana("player")/UnitManaMax("player") * 100 | |
local hPower = UnitPower("player","9") | |
local race = UnitRace("player") | |
local inqDuration = cdo.buff_duration("player","Inquisition") | |
local cdProgression | |
local cdProgressionZeal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function paladin_ret(self) | |
-- Rewrite for CDO by Kyletxag, altered from GoCargo's write. | |
local myHealthPercent = UnitHealth("player")/UnitHealthMax("player") * 100 | |
local targetHealthPercent = UnitHealth("target")/UnitHealthMax("target") * 100 | |
local myManaPercent = UnitMana("player")/UnitManaMax("player") * 100 | |
local hPower = UnitPower("player","9") | |
local race = UnitRace("player") | |
local inqDuration = cdo.buff_duration("player","Inquisition") | |
-- Interrupt, works equally well with "focus" instead of "target" |
OlderNewer