Welcome to the Builder Academy

Question Trigger of the Day Beginner - Mob Random Heal

More
01 Oct 2012 22:49 #845 by Rumble
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
If this was helpful please vote or leave a review for TBA.

Rumble
The Builder Academy
tbamud.com 9091
rumble@tbamud.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.154 seconds