#include "path.h" inherit "/obj/monster"; void setup() { set_name("Guardian"); set_race("demon"); add_alias("guardian"); add_alias("guard"); set_short("Guardian of the Arena"); set_long("You are looking at a very powerful demon Guardian, it is"+ " advisable not to cause trouble when it is around. It has"+ " black scales and a long strong looking tail. Protruding"+ " from its large jaws are rows of sharp ivory teeth which"+ " look like they could pierce even the toughest or armour.\n"); set_guild("monster"); set_level(400); set_str(25); set_con(25); add_skill_level("combat",200,0); set_alignment(2000); set_aggressive(1); add_attack("claw", 0, 80, ({30, 5, 20}), 20, ({20, 2, 50}), "sharp" ); add_attack("claw", 0, 80, ({30, 5, 20}), 20, ({20, 2, 50}), "sharp" ); add_attack("bite", 0, 40, ({100, 2, 50}), 0, 0, "sharp-bite" ); add_attack("standard", 0, 1, 1, 0, 0, "blunt" ); add_attack_spell( 10, "yeah_boy", this_object(), "do_burn"); } void do_burn() { object *target; string target_name, my_name; int i; my_name=this_object()->query_cap_name(); target = this_object()->query_attacker_list(); i = random(sizeof(target)); target_name = target[i]->query_cap_name(); say(my_name+" scorches "+target_name+" with a burst of white light from its tail!\n", target[i]); tell_object(target[i], "\n"+my_name+" scorches you with a white flame from its tail!\n\n"); target->adjust_hp(-(random(300) + 50)); }