Welcome to the Builder Academy

Question Trigger of the Day - Random Mob Purge

More
18 Aug 2012 00:54 #698 by Rumble
Code:
Name: 'Random Mob Purge', VNum: [ 1375], RNum: [ 454] Trigger Intended Assignment: Rooms Trigger Type: Random , Numeric Arg: 100, Arg list: None Commands: * This script checks if anyone is in the room. If so each mob has a 50% chance of * being purged 5% of the time. eval target %self.people% while %target% eval tmp_target %target.next_in_room% if %target.vnum% != -1 && %random.2% != 1 %echo% The gods destroy %target.name% %purge% %target% end eval target %tmp_target% done
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.203 seconds