Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;at this point i assume that you have pulled all enemies and stored their id's in an array called $target[], $target[0] contains the number of enemies
- Do
- For $i=1 To $target[0]
- ;check all enemies for hexes here, store the id's in an array with the number in [0] (e.g. $hexedEnemies[])
- ;check rits for key skills, store the id's in an array with the number in [0] (e.g. $castingEnemies[])
- Next
- For $i=1 To 8
- ;check skill availability here, store 0/1 in an array depending on recharge status (e.g. $recharged[8]
- Next
- ;determine which skill to use:
- If $castingEnemies[0] And $recharged[3] Then
- ;interrupt enemy in $hexedEnemies[1]
- ElseIf $hexedEnemies[0] And $recharged[1] Then
- ;hit enemy in $castingEnemies[1] with sniper shot
- Else
- ;use another skill depending on recharge status, energy and health (nature's blessing)
- EndIf
- $cbType = "float"
- CmdCB($CA_GETNEARESTALIVEENEMYTOAGENT, -2)
- Until $cbVar[1] > 1200; to determine whether there is an enemy left to kill
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement