Welcome to the Builder Academy

Question Trigger of the Day - Mob Cast Example

More
05 Feb 2013 01:57 #1455 by Rumble
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
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.194 seconds