home *** CD-ROM | disk | FTP | other *** search
- // * Mar 22, 2000.
- // * Brent Knowles
- // * Paladin. A paladin script, heals hurt party members. Protects the weak.
-
- //*Lay On Hands*
- IF
- ActionListEmpty()
- HPPercentLT(MostDamagedOf(),50)
- !StateCheck(MostDamagedOf(),STATE_INVISIBLE)
- HaveSpell(PALADIN_LAY_ON_HANDS)
- THEN
- RESPONSE #100
- Spell(MostDamagedOf(),PALADIN_LAY_ON_HANDS)
- END
-
- //*Heal*
- IF
- ActionListEmpty()
- HPPercentLT(MostDamagedOf(),50)
- !StateCheck(MostDamagedOf(),STATE_INVISIBLE)
- HaveSpell(CLERIC_CURE_MEDIUM_WOUNDS)
- THEN
- RESPONSE #100
- Spell(MostDamagedOf(),CLERIC_CURE_MEDIUM_WOUNDS)
- 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