Code: Select all
|Frenzy.mac -- 1/30/2004
|
|Presses frenzy, Head Strike and disarm so you don't have to.
#Event Stun "You are stunned!"
#Event Unstunned "You are unstunned."
Sub Main
/echo Frenzy.mac Started....
/declare HeadStrikeTimer timer
/if $defined(Param0)==TRUE /if n @Param0==1 {
/echo Frenzy ON
/echo Stun ON
/goto :LoopBoth
} else {
/echo Frenzy ON
/echo Stun OFF
/goto :LoopFrenzy
}
:LoopFrenzy
/if $combat=="TRUE" {
/if n $target(distance)<18 {
/doability "74"
}
}
/if $combat=="TRUE" {
/if n $target(distance)<10 {
/doability "disarm"
}
}
/delay .5s
/goto :LoopFrenzy
:LoopBoth
/if $combat=="TRUE" {
/if n $target(distance)<18 {
/doability "74"
}
/if n $target(distance)<18 {
/if n @HeadStrikeTimer<=0 {
/disc Head Strike
/varset HeadStrikeTimer 12s
}
}
}
/if $combat=="TRUE" {
/if n $target(distance)<10 {
/doability "disarm"
}
}
/delay .5s
/goto :LoopBoth

