Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
|-------------------------------------------------------------------------
| DPS Macro
| dps.mac
| Author : phazor
| Mods : GreenPlastik
| Version : 0.ask.phazor *grin*
| Useage : /macro dps
| Description : This macro will give you some basic information
| about your damage output.
|-------------------------------------------------------------------------
|
|
| Things to do:
| - Eliminate other people's spell damage.
| - Implement detect that runs the macro while autoattack is on
| and pauses it while autoattack is off
|
| Just making some changes to a much needed macro by:
| phazor
| Keep up the good work.
|
|-------------------------------------------------------------------------
#event dp1 "#*#You slash #*#for #1# points#*#"
#event dp2 "#*#You kick #*#for #1# points#*#"
#event dp3 "#*#You punch #*#for #1# points#*#"
#event dp4 "#*#You crush #*#for #1# points#*#"
#event dp5 "#*#You pierce #*#for #1# points#*#"
#event dp6 "#*#You strike #*#for #1# points#*#"
#event dp7 "#*#You bash #*#for #1# points#*#"
#event dp8 "#*#has taken #1# damage#*#"
#event whatis "#*#reportdps#*#"
| make a hotkey /echo reportdps to trigger this event to display your dps
Sub Main
/declare dps int outer
/declare dmg int outer
/declare spell int outer
/declare kick int outer
/declare nonmelee int outer
/declare slash int outer
/declare crush int outer
/declare pierce int outer
/declare punch int outer
/declare special int outer
/declare seconds int outer
:loop
/doevents
/delay 1s
/varcalc seconds ${seconds}+1
/goto :loop
/return
Sub Event_dp1(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc slash ${slash}+${hit}
/return
Sub Event_dp2(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc kick ${kick}+${hit}
/return
Sub Event_dp3(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc punch ${punch}+${hit}
/return
Sub Event_dp4(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc crush ${crush}+${hit}
/return
Sub Event_dp5(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc pierce ${pierce}+${hit}
/return
Sub Event_dp6(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc special ${special}+${hit}
/return
Sub Event_dp7(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc special ${special}+${hit}
/return
Sub Event_dp8(string line, int hit)
/echo dps ${hit}
/varcalc dmg ${dmg}+${hit}
/varcalc nonmelee ${nonmelee}+${hit}
/return
Sub event_whatis
/varcalc dps ${dmg}/${seconds}
/echo I have done ${dmg} in ${seconds} seconds. ${dps} dps.
/echo kick: ${kick} slash: ${slash} crush: ${crush} pierce: ${pierce} punch: ${punch} special: ${special} non-melee: ${nonmelee}
/return