Moderator: MacroQuest Developers


Code: Select all
/varset Special2 Celestial Fists
/varset SpecialTime2 170
Code: Select all
:attackspecial2
/if @Special2==NULL /goto :attackfight
| Need to check if vallon’s is on, which I’m not sure how to do
/cast item "@Special2"
/varset TimerSpecial2 @SpecialTime2
/goto :attackfight
Code: Select all
/if $char(buff,"Vallon's Quickening")==0 { }Not at home so can't reference my stuff, but that does look exactly like what I use. =)Achy Wrists wrote:Would it be...???Code: Select all
/if $char(buff,"Vallon's Quickening")==0 { }

Code: Select all
/if $char(buff,"Vallon's Quickening")==0 { }
Code: Select all
/if n $char(buff,"Vallon's Quickening")==0 { }
Code: Select all
/if n $char(buff,"Vallon's Quickening")==0 {
| Rebuff Code Here
} else {
/if n $char(buff,$char(buff,"Vallon's Quickening"),duration)<3 {
| Rebuff Code Here
}
}
Code: Select all
sub event_rageon
/echo Rage On
/attack off
/return
sub event_rageoff
/echo Rage Off
/attack on
/return Code: Select all
Sub Event_rageon
|check if the mob youre targeting raged
/if n $target(hp,pct)>=12 /return
| check if youre attacking so we can turn attack back on after rage
/if $combat=="TRUE" /varset Attack 1
/if n @Attack==1 /attack off
/return
Sub Event_rageoff
/if n @Attack==1 {
/if "$target()"=="TRUE" /attack on
}
/varset Attack 0
/return

what i needed to chang to have the macro end after the mob is dead
Code: Select all
sub event_exp
/echo exp
[color=red] /endmacro[/color]