home *** CD-ROM | disk | FTP | other *** search
- // *Defensive Thief
-
-
- //*Combat*
- IF
- HPPercentLT(Myself,50)
- See(NearestEnemyOf(Myself))
- THEN
- RESPONSE #100
- Help()
- RunAwayFrom(NearestEnemyOf(Myself),75)
- Hide()
- END
-
- IF
- Delay(30)
- !StateCheck(Myself,STATE_INVISIBLE)
- THEN
- RESPONSE #100
- Hide()
- END
-
- //*this should be in combat rather than control section so it doesn't override other, high priority commands
- IF
- ActionListEmpty()
- Help([PC])
- HPPercentGT(Myself,50)
- THEN
- RESPONSE #100
- AttackReevaluate(LastAttackerOf(LastHelp(Myself)),60)
- END
-
- IF
- ActionListEmpty()
- HPPercentGT(Myself,50)
- See(NearestEnemyOf(Myself))
- THEN
- RESPONSE #100
- AttackReevaluate(NearestEnemyOf(Myself),30)
- END
-
-
- IF
- ActionListEmpty()
- HPPercentGT(Myself,50)
- See(NearestEnemyOf(Myself))
- Range(NearestEnemyOf(Myself),4)
- THEN
- RESPONSE #100
- EquipMostDamagingMelee()
- AttackReevaluate(NearestEnemyOf(Myself),30)
- END