Welcome to the Builder Academy

Question Trigger of the Day Intermediate - Thief

More
29 Aug 2012 14:17 #758 by Rumble
Code:
Name: 'Thief - 129, 183', VNum: [ 165], RNum: [ 165] Trigger Intended Assignment: Mobiles Trigger Type: Random , Numeric Arg: 10, Arg list: None Commands: * By Rumble of The Builder Academy tbamud.com 9091 * Actor is not defined in random trigs so set it first. set actor %random.char% if %actor% if %actor.is_pc% && %actor.gold% %send% %actor% You discover that %self.name% has %self.hisher% hands in your wallet. %echoaround% %actor% %self.name% tries to steal gold from %actor.name%. eval coins %actor.gold% * %random.10% / 100 nop %actor.gold(-%coins%) nop %self.gold(%coins%) 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.179 seconds