Checks for Building Holy/Down Flags - MMOBugs Wiki

For each Downshit and Holyshit you can have a standard check before using it, example:

downshitif=${If[!${Select[${Zone.ID},151,202,203,219,344,345,463,33480,33113]} && !${Me.Moving} && ${Me.Standing} && !${Me.Invis},1,0]}

This will limit the use of any Downshit, independent of the check for that individual shit. Specifically this statement will verify your not in one of the listed zones, that your not moving, that you are standing, and that you are not invis. If everything is true it will process each shit using it's /if statement.


A Typical downshit for a casted buff would look like this:

downshit0=/if (!${Me.Buff[${Spell[SpellName].RankName}].ID} && ${Me.PctMana}>30 && ${Spell[${Spell[SpellName].RankName}].Stacks}) /multiline ; /target ${Me.CleanName} ; /casting "${Spell[SpellName].RankName}" gem12

This statement will cast SpellName if the following are true: We don't have the buff, we are greater than 30% mana, and the spell stacks. Using ${Spell[SpellName].RankName} will cast the named spell regardless of rank, so there is no need to update as you gain higher ranked spells. Also there is no need to include the rank with the name. So if everything is true, it will target you, and cast the buff.

The /multiline ; /target ${Me.CleanName] ; portion can be omitted for self only buffs that do not require a target.


${Me.AltAbilityReady[Alt Ability Here]} = Is my AA Ready?

${Me.AltAbilityReady[261]} = Alternate AA Check, By AA #

!${Me.Buff[Buff Name Here].ID} = Do I have this Buff?

${Spell[Buff Name Here].Stacks} = Buff Stack Check

${Me.PctHPs}<40 = My %Hps Less than

${Me.PctHPs}>40 = My %Hps Greater Than

${Melee.Combat} = Melee Combat check

${Cast.Ready[Item Name]} = Item Cast Ready Check

${Target.Named} = If this is a named mob

${Me.PctMana}>40 = My %Mana is greater than

${Me.PctMana}<40 = My %Mana is less than

!${Me.Invis} = Invis Check

${Target.Type.Equal[NPC]} = Ensures Target is NPC

/casting "Doppelganger" alt = AA Casting Option (Several ways to do this)

/casting 1010101(Item ID#)|Item = Clicky usage with ID

!${Target.Buff[Buff Name Here].ID} = Checks for buff on target

${Target.PctHPs}<98 = Target %Hp Less than 98%

!${Raid.Members} = No Raid Members

${Me.Buff[Resurrection Sickness].Duration}<38 = Rez Sickness Less than 38 Seconds left

${Me.Buff[Revival Sickness].Duration}<18 = Revival Sickness Less than 18 Seconds left

!${Me.Feigning} = Not FD

!${SpawnCount[NPC radius 30 zradius 10]}>1 = More than 1 NPC withing 30 Radius and 10 up

${Me.PctEndurance}>30 = More than 30 % End

${Me.AutoFire} = Auto Fire is on