Code:
Name: 'Apprentice healer - 201', VNum: [ 146], RNum: [ 146]
Trigger Intended Assignment: Mobiles
Trigger Type: Random , Numeric Arg: 20, Arg list: None
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
* This is required because a random trig does not have an actor.
set actor %random.char%
* only continue if an actor is defined.
if %actor%
* If they have lost more than half their hitpoints heal them.
if %actor.hitp% < %actor.maxhitp% / 2
wait 1 sec
tell %actor.name% You are injured, let me help.
wait 2 sec
%echoaround% %actor% %self.name% lays %self.hisher% hands on %actor.name%'s wounds and bows %actor.hisher% head in concentration.
%send% %actor% %self.name% lays %self.hisher% hands on your wounds and bows %actor.hisher% head in concentration.
dg_cast 'heal' %actor%
end
end
for TBA.