Code:
Name: 'Dragon Breath attack', VNum: [ 0], RNum: [ 0]
Trigger Intended Assignment: Mobiles
Trigger Type: Fight , Numeric Arg: 20, Arg list:
Commands:
* Dragon Breath Attack, using saving_breath to deflect.
set sv %actor.saving_breath%
eval rnd %random.100% - 1
if %sv% < %rnd%
%send% %actor% The dragon bathes you in flames, leaving you scorched and smoking.
%echoaround% %actor% The dragon bathes %actor.name% in its fiery breath.
eval dam (%actor.maxhitp% / 15) + %random.20%
%damage% %actor% %dam%
else
%send% %actor% The dragon aims its fiery breath at you, but you sidestep the attack.
%echoaround% %actor% The dragon aims it's fiery breath at %actor.name%, but misses.
end
for TBA.