Again cameron, clear your sent pm's as well. Cant send you pm's otherwise.
Is there any way to add "Aspect of the Cheetah" while out of combat?
+Rep if you're able to help me.
good to see you bk mentaly looking forward to lock profile and thx for priest
This is what i use in mine, just make a new ability for it, spellid is 0
PHP Code:
--Code By Crystal_tech
---If running without mount and out of combat then cast Aspect of the Cheetah
if not UnitAffectingCombat("player")
and not IsMounted()
and PQR_IsMoving(4)
and not UnitIsDead("player") then
if GetShapeshiftForm() ~= 3 then
CastShapeshiftForm(3)
return true
end
end
--End Code By Crystal_tech
Please if someone helped you donate rep to them.
i've switched to a toggle switch for cds and such:
put it at the top of the rotation but below setup stuff and you'll see a msg when you hit left shift. Change 'IsLeftShiftKeyDown()' to any key you want. Spellid 0.PHP Code:
--Code by Crystal_tech
---my moded switch code
if modtime == nil then
modtime = 0
end
---Toggle for Main CDs
if IsLeftShiftKeyDown() and GetTime() - modtime > .2 then
modtime = GetTime()
if CDSwap then
CDSwap = nil
PQR_WriteToChat("Cooldowns: \124cFFE61515Disabled")
else
CDSwap = 1
PQR_WriteToChat("Cooldowns: \124cFF15E615Enabled")
end
end
--End Code By Crystal_tech
now to make it work with other spells you need to add a check with the var defined in the switch code I use CDSwap.
so eg to use cd only if its enabled is:
PHP Code:
--Use ability if enabled
if CDSwap then return true end
or
--don't use this ability if switch is enabled
if not CDSwap then return true end
Please if someone helped you donate rep to them.
Can you explain the 2nd part a bit better? I get that I need to put my "AOE Toggle" at the top, but I', not sure what you mean about adding this to existing codes. I essentially want a basic Multi-Shot AOE toggle with the behaviors you guys already have in place for keeping that active (Steady Shots to maintain focus, etc).
once you get the switch coded you add the var CDSwap to your spells that you want to cast with it enabled.
if CDSwap then cast multishot end
if you are looking to disable a spell then at the top of the spells you want disabled then type this
if CDSwap then return false end
if you need more examples check out my hunter code: https://dl.dropbox.com/u/23527046/Surhunter.rar
Please if someone helped you donate rep to them.
Is there any sort of guide on how to code rotations/abilities? I really want to understand the wonderful profiles you have all contributed, and hopefully contribute some of my own. I'm not familiar with whatever language is being used, but I learn pretty fast. Can anybody point me in the right direction? I don't want to be a "Lazy Leecher" anymore :P
@ian: The language it's written in is LUA. You can find a lot of resources through wowpedia.com, lua.org and wowpedia's WoW API documentation pages.![]()
Last edited by Kinky; 11-05-2012 at 09:56 PM.
hey Kinkeh the DND isn't working on right shift it only switches between single target and aoe mode