TheHaydens
Well-Known Member
For EQ2Bot, Trying to make the dirge remove rez sickness from players that are afflicted with it..
I got him to reconize the rez sickness from himself and remove it..
But now I want to implement a loop to always check everyone in the group for rez sickness at all times...
This is what I have right now and am stuck:
^^This is a lot messier than what I have in my Notepad++, not sure why it doesn't keep the "tabs"/"new lines" I tried to make it easier on the eyes here, sorry....
I got him to reconize the rez sickness from himself and remove it..
But now I want to implement a loop to always check everyone in the group for rez sickness at all times...
This is what I have right now and am stuck:
HTML:
;loop group members
do
{
;;Scans the Group for Rez Sickness
if ${Me.Group[${temph2}].ToActor(exists)} && ${Me.Group[${temph2}].IsAfflicted} && ${Me.Group[${temph2}].ToActor.Distance}<=${Me.Ability[${SpellType[384]}].Range} && ${Me.Ability[${SpellType[384]}].IsReady}
{
echo shit
;Remove the rez sickness
if ${Actor.Effect[detrimental,Revived Sickness](exists)}
{
echo fuck
call CastSpellRange 384 0 0 0 ${Me.Group[${temph2}].ID} 0 0 0 0 1 0
eq2execute gsay Removing Rez Sickness on ${Me.Group[${temph2}].ToActor}
wait 2
}
}
}
while ${temph2:Inc} <= ${Me.GroupCount}
^^This is a lot messier than what I have in my Notepad++, not sure why it doesn't keep the "tabs"/"new lines" I tried to make it easier on the eyes here, sorry....