home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 61 / CDPowerplay61Disc2.iso / data1.cab / hd0_scripts / Text / fighter4.baf < prev    next >
Encoding:
Text File  |  2000-10-12  |  715 b   |  34 lines

  1. // * melee, aggressive
  2. // *  Will try and stay out of range, but once in close will start attacking melee.
  3.  
  4. //*Check for Injured Mages/Clerics to defend*
  5. IF
  6.     See([ENEMY])
  7.     OR(2)
  8.     See([PC.0.0.MAGE_ALL])
  9.     See([PC.0.0.CLERIC_ALL])
  10.     HPPercentLT(LastSeenBy(Myself),50)
  11.     !Dead(LastAttackerOf(LastSeenBy(Myself)))
  12.     Exists(LastAttackerOf(LastSeenBy(Myself)))
  13. THEN
  14.     RESPONSE #100
  15.         AttackReevaluate(LastAttackerOf(LastSeenBy(Myself)),60)    
  16. END
  17.  
  18. //*Combat*
  19.  
  20. IF
  21.     ActionListEmpty()
  22.     Help([PC])
  23. THEN
  24.     RESPONSE #100
  25.         AttackReevaluate(LastAttackerOf(LastHelp(Myself)),60)
  26. END
  27.  
  28. IF
  29.     ActionListEmpty()
  30.     See(NearestEnemyOf(Myself))
  31. THEN
  32.     RESPONSE #100
  33.         AttackReevaluate(NearestEnemyOf(Myself),60)
  34. END