Welcome to the Builder Academy

Question Trigger of the Day Beginner - Room Healing

More
21 Sep 2012 12:05 #816 by Rumble
Code:
Name: 'Room Heals - 101', VNum: [ 163], RNum: [ 163] Trigger Intended Assignment: Rooms Trigger Type: Random , Numeric Arg: 100, 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.is_pc% * check if they are hurt. if %actor.hitp% < %actor.maxhitp% * heal them their level in hitpoints. %damage% %actor% -%actor.level% 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.164 seconds