LunaEclipse»Combat Rogue

Combat Rogue

LunaEclipse's Combat Rogue Forms

For use with LazyScript's LazyRogue version 4.0 alpha or higher.


Credits

Via macro's Parmeus was able to intigrate Smartmedic into how his LazyRogue form works. First off, you need to download and install the latest version of smartmedic from this site: http://ui.worldofwar.net/ui.php?id=1580

Before making your form you have to make the following macro's:

Macro's "Required"

  • "Heal"
   /smartmedic health

  • "Aid"
   /smartmedic bandage

  • "Food"
   /smartmedic food

Thanks Parmeus that helped alot!


Form - Default - This should be set to your default form

##
## Set Form
##
setForm=Stealth-ifStealthed
setForm=In_Combat-ifInCombat
setForm=Out_Combat


Form - Out_Combat

##
## Exit if wrong form
##
setForm=Stealth-ifStealthed
setForm=In_Combat-ifInCombat
##
## Bandage
##
action=Aid-ifNotHasBuff=firstAid-ifNotHasDebuff=recentlyBandaged-ifPlayer<60%hp-ifCtrlDown
##
## Eat Food
##
action=Food-ifNotHasBuff=firstAid-ifPlayer<65%hp-ifCtrlDown
##
## Apply Poisons for PvP
##
applyPoisonMainHand=Crippling Poison II-ifNotPoisoned=MainHand-ifFlaggedPVP-ifCtrlDown
applyPoisonOffHand=Wound Poison IV-ifNotPoisoned=OffHand-ifFlaggedPVP-ifCtrlDown
##
## Apply Poisons for PvE
##
applyPoisonMainHand=Instant Poison VI-ifNotPoisoned=MainHand-ifNotFlaggedPVP-ifCtrlDown
applyPoisonOffHand=Instant Poison VI-ifNotPoisoned=OffHand-ifNotFlaggedPVP-ifCtrlDown
##
## Stealth
##
stealth-ifNotStealthed-ifCtrlDown


Form - Stealth

##
## Exit if wrong form
##
setForm=Default-ifNotTargetAlive
setForm=Default-ifNotStealthed
##
## Stops
##
stopAll-ifHasBuff=vanish-ifNotShiftDown-ifNotCtrlDown
stopAll-ifTargetIs=CCd-ifNotShiftDown-ifNotCtrlDown
stopAll-ifNotTargetHostile-ifNotShiftDown-ifNotCtrlDown
stopAll-ifTargetFlaggedPVP-ifNotFlaggedPVP-ifNotShiftDown-ifNotCtrlDown
stopAll-ifNotShiftDown-ifNotCtrlDown
##
## Sapping
##
sap-ifNotTargetImmune=sap-ifTargetType=Humanoid-ifCtrlDown
##
## Ambushing
##
ambush-ifNotTargetImmune=ambush-ifTargetClass=Mage
##
## Garrote
##
garrote-ifNotTargetImmune=garrote-ifTargetImmune=cs
##
## Cheap Shot
##
cs-ifNotTargetImmune=cs


Form - In_Combat

##
## Exit if wrong form
##
setForm=Default-ifNotTargetAlive
setForm=Stealth-ifStealthed
setForm=Out_Combat-ifNotInCombat
##
## Dismount for combat
##
dismount-ifMounted-ifNotShiftDown
##
## Set Form
##
setForm=Defense-ifPlayer<60%hp
setForm=Offense


Form - Offense

##
## Exit if wrong form
##
setForm=Default-ifNotTargetAlive
setForm=Stealth-ifStealthed
setForm=Out_Combat-ifNotInCombat
setForm=Defense-ifPlayer<60%hp-ifNotHistory=1=setForm
##
## Feint
##
feint-ifInGroup-ifTargetOfTarget-ifNotFlaggedPVP
feint-ifInGroup-ifNotFlaggedPVP-every20s
##
## Insignia of the Alliance
##
use=Insignia of the Alliance-ifIs=Charmed,Feared,Polymorphed
##
## Drink Tea to regain energy
##
tea-ifTarget>50%hp-ifPlayer<15%energy-ifNotDueling-ifShiftDown
##
## Stops
##
stopAll-ifTargetIs=CCd-ifNotCtrlDown
stopAll-ifNotTargetHostile-ifNotCtrlDown
stopAll-ifTargetFlaggedPVP-ifNotFlaggedPVP-ifNotCtrlDown
##
## Try for a Kill Shot
##
evisc-ifLastChance->2cp
evisc-ifKillShot80%
##
## Interrupt Casting
##
setForm=Casting-ifTargetIsCasting
##
## Keep Energy for Caster Interrupting
##
autoAttack-ifPlayer<60%energy-ifTargetClass=Mage,Priest,Warlock
##
## Riposte if possible
##
riposte
##
## Eviscerate
##
evisc-5cp
##
## Gouge
##
gouge-ifNotTargetImmune=gouge-ifNotTargetIs=Stunned-ifNotHasBuff=snd,bladeFlurry,adrenaline-ifTarget>15%hp-<5cp
##
## Kidney Shot
##
ks-ifNotTargetImmune=ks-ifTarget>40%hp-5cp-ifShiftDown
ks-ifNotTargetImmune=ks-ifNotTargetIs=Stunned-ifInCooldown=gouge-ifTarget<85%hp->2cp
##
## Expose Armor
##
expose-ifNotTargetImmune=expose-ifNotTargetHasDebuff=expose,sunder-ifTarget>60%hp-5cp
##
## Rupture
##
rupture-ifNotTargetImmune=rupture-ifNotTargetHasDebuff=rupture-ifTarget>60%hp-5cp
rupture-ifNotTargetImmune=rupture-ifNotTargetHasDebuff=rupture-ifTargetFleeing
##
## Adrenaline for Faster Energy if Increased Attack Speed
##
adrenaline-ifHasBuff=snd
adrenaline-ifHasBuff=bladeFlurry
##
## Blade Fury if using Slice and Dice
##
bladeFlurry-ifHasBuff=snd
##
## Slice and Dice
##
snd-ifNotHasBuff=snd-<3cp-ifTarget>70%hp-ifNotTargetElite
snd-ifNotHasBuff=snd-<3cp-ifTarget>35%hp-ifTargetElite
##
## Gouge
##
gouge-ifNotTargetImmune=gouge-ifNotTargetIs=Stunned-ifNotHasBuff=snd-ifTarget>15%hp-<5cp
##
## Backstab
##
bs-ifInFrontAttackJustFailed
##
## Nothing else so use Sinister Strike
##
ss
##
## No energy use bow or attack
##
crossbow-ifShiftDown
autoAttack


Form - Casting

##
## Exit if wrong form
##
setForm=Default-ifNotTargetAlive
setForm=Stealth-ifStealthed
setForm=Out_Combat-ifNotInCombat
setForm=Defense-ifNotTargetIsCasting-ifPlayer<60%hp-ifNotHistory=1=setForm
setForm=Offense-ifNotTargetIsCasting
##
## Interupts
##
kick-ifNotTargetImmune=kick
gouge-ifNotTargetImmune=gouge
ks-ifNotTargetImmune=ks
blind-ifNotTargetImmune=blind
##
## No interrupts, return to offense
##
setForm=Offense


Form - Defense

##
## Exit if wrong form
##
setForm=Default-ifNotTargetAlive
setForm=Stealth-ifStealthed
setForm=Out_Combat-ifNotInCombat
setForm=Offense-ifPlayer>60%hp
##
## Vanish
##
vanish-ifNotIs=Bleeding,Dotted,Stung-ifPlayer<20%hp-ifNotDueling
##
## Evasion
##
evasion-ifPlayer<50%hp
##
## Healing Potions
##
action=Heal-ifPlayer<40%hp-ifShiftDown-ifNotDueling
##
## Bandage
##
action=Aid-ifNotHasBuff=firstAid-ifNotHasDebuff=recentlyBandaged-ifPlayer<60%hp-ifShiftDown-ifNotDueling
##
## Switch to Offense
##
setForm=Offense


Author's Notes

As you can see using multiple forms makes it extremely easy to edit if you need to make changes, as well as making it alot more readible.

It also increases performance as when in combat it usually only runs the form Offense, when stealthed it only runs the for Stealth, meaning there is alot less code for LazyRogue to parse.


Comments Section

Please leave your name if you are making comments!

Casmiar-I think your form is the best I've seen. I have tried to down size it to my lvl 18 rogue. Everything works great other than the stealth form. I can’t get these to work

sap-ifNotTargetImmune=sap-ifTargetType=Humanoid-ifCtrlDown

ambush-ifNotTargetImmune=ambush-ifTargetClass=Mage

garrote-ifNotTargetImmune=garrote-ifTargetImmune=cs

Could this be because i don't have cheep shot yet.(I understand why cs does not work. I don’t have it) I don’t know why that would not let these activate. The actions do light up. I can sap ambush and garrote manually. I'm using LazyRogue 4.0 alpha 4.

Thanks for any advice you can give.
Response: Thats a possibility, also keep in mind the stealth form is designed to take no action at all unless you press the Ctrl key or the Shift Key, Sap is on the Ctrl key, this allows you to specifically sap a target instead of performing another action. If the target is a mage it should ambush if you have the shift key pressed. The only thing I can think of, is you are not pressing the Ctrl key, so its not sapping, so if the target is not a mage, and is not immune to cheap shot, then it will perform no action, because it only attempts to garrote if the target is listed as immune to cheap shot.

Try changing "garrote-ifNotTargetImmune=garrote-ifTargetImmune=cs" to "garrote-ifNotTargetImmune=garrote//-ifTargetImmune=cs" and see if that fixes you problem, it should then garrote if the target isn't a mage, unless the target is immune to garrote, such as undead.

Casmiar-Thank you for the reply. I understand that nothing will happen in stealth form if Shift or Ctrl is not down. I found that I had a typo in one of the setform=names. I don’t know why that would have prevented the sap from working. I fixed the typo. I can now use sap ifCtrldown. I still can’t get ambush or garrote to work with your suggestions. I will just have to perform them manually for now.

Thank you for the help
Response: You will find in PvE ambush will almost never work, this is because of the classing Blizzard gives its NPC's, most melee mobs, are classified as Warrior, and nearly all mobs with Mana are classified as Paladin, this means it almost never meets the "ifTargetClass=Mage criteria" rest assured in PvP when you are fighting mages it does indeed ambush. The Garrote, I am not sure, as long as you commented out the "-ifTargetImmune=cs" by placing a "//" in front of it to make it "//-ifTargetImmune=cs" then it should automatically garrote unless the target is immune to garrote, the only possible reason I can think of for that not to work is the fact that it is a behind attack only.

I love they way this Form is settup. But i am having a ton of problems w/ it in PVE. mainly from the holding shift and Control. the Ambush stuff is horrible(dont know why u said its imposible to ambush in PVE.. i get it off about 95% of the time) holding shift and control makes it impossilbe to walk unless u use the left and right click walk.... but holding shift and CTRL at the same time while doing that makes it into a lock which makes it impossible to stop walking. i plan to tottally rewrite this to remove all shift and ctrl locks. also i hit a few points when it just kept skiping back from offense to defense.. back and forth w/o anything happening.. but as i said great base. but buggy when put into effect. also alot of the form skiping slows down combat. the checks look good in code.. but in practice they just dont work... im gonna try cutting it down to three maybe 4 forms and see if that helps. i think having the Stealth form being seperate from the combat form causes alot of problems. ill make another comment after i am done w/ the Rewrite and removing half of the if checks. ~roman thrall