Greetings this is the third trigger (I miss titled the second one
) related to combat I'm seeking
to be looked over and I've included my mhunt trigger as well. I've done limited testing myself and
they appear to be working as intended, however due to the small number of players on the MUD I'm
hoping to get some others to look them over and provide pointers on optimizing them or fixing them
if there are any issues I don't see/haven't encountered.
Trigger 3 Goal - Pretty straight forward, does additional damage to the tanking attacker.
Code:
Trigger Intended Assignment: Mobiles
Trigger Type: Fight, Numeric Arg: 5, Arg list: none
Commands:
*Mob does unresisted damage to the tanking enemy randomly
*To provide a simple plug and play template damage is based on 2 x the mobs level
eval mob_damage %self.level% * 2
%damage% %actor% %mob_damage%
*Change the echo to something appropriate for the mobs special
%send% %actor% %self.name% smacks you viciously with it's wide tail!
%echoaround% %actor% %self.name% smacks %actor.name% viciously with it's wide tail!
mhunt trigger goal - Starts hunting fleeing pc without the need of a second encounter
Code:
Name: 'mob act mremember mhunt 'mob hunts fleeing PC''
Trigger Intended Assignment: Mobiles
Trigger Type: Act , Numeric Arg: 0, Arg list: panics, and attempts to flee!
Commands:
if %actor.is_pc%
wait 1 sec
mremember %actor%
end
wait 2 sec
mhunt %actor.name%
mhunt %actor%
Thanks again, Kastil