Welcome to the Builder Academy

Question Trigger of the Day - Object Spells

More
28 Jun 2012 06:18 #304 by Rumble
Code:
Name: 'Object Spells', VNum: [ 202], RNum: [ 201] Trigger Intended Assignment: Objects Trigger Type: Command , Numeric Arg: 1, Arg list: c Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Allow a magic user to cast fireshield, but only twice. if %cmd.mudcommand% == cast && fireshield /= %arg% if %actor.class% == Magic User %echoaround% %actor% %self.shortdesc% that %actor.name% is wearing glows brightly for a moment. %send% %actor% Your %self.shortdesc% glows brightly for a moment. dg_cast 'armor' %actor% end eval ward_major %ward_major%+1 if %ward_major% == 2 detach all %self.id% end global ward_major 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.171 seconds