discing

cactusdan

New member
Joined
Jul 11, 2006
Messages
94
Reaction score
0
Points
0
Location
Oregon
adding to mac have question

how can a mac tell if a disc is running. one is runing and when its done i want another to run with out the spam of disc in use. here is what i have.

Code:
Sub KillTarget
  /delay 1
  /if (!${Target.ID}) /return
  /face nolook fast
  /declare counter int local 0
  /if (${DEBUG}) /echo Moving to :WaitForMob in Sub KillTarget
  :WaitForMob
   /if (${Int[${Target.Distance}]} > 25) {
    /delay 3
     /varcalc counter ${counter}+1
     /if (${counter} > 100) /goto :Combat
     /goto :WaitForMob
  }    
  /if (${DEBUG}) /echo Moving to :Combat in Sub KillTarget
   :Combat   
     /if (${Int[${Target.Distance}]} > 100) {
      /call ResetVars
      /return
    }
     /if (!${Me.Combat}) {
        /varset Engaged TRUE
        /attack on
      /squelch /stick 10 moveback
      }
      /if (${Target.Named} && ${Me.CombatAbilityReady[Fellstrike Discipline]}) {
      	/disc Fellstrike Discipline
      	/g Disking fellstrike kill this bitch
      }
      /if (${Target.Named} && ${Me.CombatAbilityReady[Brutal Onslaught discipline Rk. II]}) {
      	/disc Brutal Onslaught discipline Rk. II
      	/g Disking Onslought kill this bitch
      }
      /if (${Me.PctHPs} < 20 && ${Me.CombatAbilityReady[Fortitude discipline]}) {
      	/disc Fortitude discipline
      	/echo about dead hitting Fort, heal me
      	/bca cast epic
      }
      /if (${Me.AbilityReady[Taunt]}&&!${Me.Stunned}&&!${Me.Casting.ID}) {
      /doability "Taunt"
      }
      /if (${Me.AbilityReady[Bash]}&&!${Me.Stunned}&&!${Me.Casting.ID}) {
            /doability "Bash"
      }
      /if (${Me.AbilityReady[Kick]}&&!${Me.Stunned}&&!${Me.Casting.ID}) {
                  /doability "Kick"
      }
    /if (!${Target.ID}) {
      /call CheckForAdd
      /if (${Target.ID}) /goto :Combat
      /attack off
      /doevents
      /return
    }
    /delay 1
    /doevents
    /goto :Combat
/return

that is the whole kill sub from a mac i am fixing up for me. i did get this mac for mq2 site. i am just adding more to it to fit my group setup.

thanks for the help.

Cactusdan
 
Last edited:
${Window[CombatAbilityWnd].Child[CAW_CombatEffectLabel].Text.Equal[No Effect]}

If this is true, then NO disc is running and you can fire your next disc.