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
for TBA.