Code:
Name: 'Mob Cast Example', VNum: [ 76], RNum: [ 76]
Trigger Intended Assignment: Mobiles
Trigger Type: Cast , Numeric Arg: 100, Arg list: None
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
if %spellname% == magic missile
%echo% %self.name% is protected by a shield spell negating %actor.name%s %spellname%.
* Return 0 prevents the spell from working.
return 0
else
%echo% %self.name%s shield spell doesn't protect %self.himher% from %actor.name%'s %spellname%.
* Return 1 allows the trigger to continue and the spell to work. It is not needed
* since this is the normal return state of a trigger.
return 1
end
for TBA.