Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Case $MaxNumofMobs = 6
- If Hex(PixelGetColor($xBattle_Left1_mob,$yBattle_Left1_mob),6) <> "000000" Then
- MouseMove($xBattle_Left1_mob,$yBattle_Left1_mob) ;click to attack far left monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Left2_mob,$yBattle_Left2_mob),6) <> "000000" Then
- MouseMove($xBattle_Left2_mob,$yBattle_Left2_mob) ;click to attack left monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Left3_mob,$yBattle_Left3_mob),6) <> "000000" Then
- MouseMove($xBattle_Left3_mob,$yBattle_Left3_mob) ;click to attack left monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Left4_mob,$yBattle_Left4_mob),6) <> "000000" Then
- MouseMove($xBattle_Left4_mob,$yBattle_Left4_mob) ;click to attack left monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Left5_mob,$yBattle_Left5_mob),6) <> "000000" Then
- MouseMove($xBattle_Left5_mob,$yBattle_Left5_mob) ;click to attack left monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Mid_mob,$yBattle_Mid_mob),6) <> "000000" Then
- MouseMove($xBattle_Mid_mob,$yBattle_Mid_mob) ;click to attack middle monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Right1_mob,$yBattle_Right1_mob),6) <> "000000" Then
- MouseMove($xBattle_Right1_mob,$yBattle_Right1_mob) ;click to attack right monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Right2_mob,$yBattle_Right2_mob),6) <> "000000" Then
- MouseMove($xBattle_Right2_mob,$yBattle_Right2_mob) ;click to attack far right monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Right3_mob,$yBattle_Right3_mob),6) <> "000000" Then
- MouseMove($xBattle_Right3_mob,$yBattle_Right3_mob) ;click to attack far right monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Right4_mob,$yBattle_Right4_mob),6) <> "000000" Then
- MouseMove($xBattle_Right4_mob,$yBattle_Right4_mob) ;click to attack far right monster
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
- If Hex(PixelGetColor($xBattle_Right5_mob,$yBattle_Right5_mob),6) <> "000000" Then
- MouseMove($xBattle_Right5_mob,$yBattle_Right5_mob) ;click to attack far right monster
- MouseDown("left")
- MouseUp("left")
- EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement