This was converted from a special procedure in Sundhaven by Mercy. Someone mentioned a dexterity check on another thread. Trigedit is a great way to make player stats more meaningful.
Code:
Name: 'Slipping on Marbles - 27147', VNum: [27108], RNum: [ 2675]
Trigger Intended Assignment: Objects
Trigger Type: Leave , Numeric Arg: 100, Arg list: None
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
* A leave trigger that checks for low dexterity.
if %actor.is_pc%
if %actor.dex% < 15
%send% %actor% You slip on %self.shortdesc% and fall flat on your face.
%echoaround% %actor% %actor.name% slips on %self.shortdesc% and falls on his face.
return 0
nop %actor.pos(sitting)%
else
%send% %actor% You slip on %self.shortdesc%, but manage to regain your balance.
%echoaround% %actor% %actor.name% slips on %self.shortdesc%, but manages to regain %actor.hisher% balance.
end
end
If this was helpful please
vote
or leave a
review
for TBA.