home *** CD-ROM | disk | FTP | other *** search
- // * melee, aggressive
- // * Will try and stay out of range, but once in close will start attacking melee.
-
- //*Check for Injured Mages/Clerics to defend*
- IF
- See([ENEMY])
- OR(2)
- See([PC.0.0.MAGE_ALL])
- See([PC.0.0.CLERIC_ALL])
- HPPercentLT(LastSeenBy(Myself),50)
- !Dead(LastAttackerOf(LastSeenBy(Myself)))
- Exists(LastAttackerOf(LastSeenBy(Myself)))
- THEN
- RESPONSE #100
- AttackReevaluate(LastAttackerOf(LastSeenBy(Myself)),60)
- END
-
- //*Combat*
-
- IF
- ActionListEmpty()
- Help([PC])
- THEN
- RESPONSE #100
- AttackReevaluate(LastAttackerOf(LastHelp(Myself)),60)
- END
-
- IF
- ActionListEmpty()
- See(NearestEnemyOf(Myself))
- THEN
- RESPONSE #100
- AttackReevaluate(NearestEnemyOf(Myself),60)
- END