예제 #1
0
void mudlib_setup()
{
    ::mudlib_setup();
    set_id("sword");
    set_combat_messages("combat-sword");
    set_damage_type("blade");
}
예제 #2
0
파일: combat_spell.c 프로젝트: Lundex/lima
void setup()
{
   set_damage_type("magic");
#ifdef USE_SKILLS
   set_skill_used("spell");
#endif
}
예제 #3
0
void mudlib_setup()
{
   ::mudlib_setup();
   set_id("torch");
   set_fuel(600);
   set_combat_messages("combat-torch");
   set_damage_type("fire");
   set_weapon_class(5);
}
예제 #4
0
static void create() {
  ::create();
  set_name("a bloodletting knife");
  add_id("knife");
  set_long("A surgeon knife drenched in blood.");
  set_class(11);
  set_value(866);
  set_damage_type("pierce");
  set_weight(1);
  add_property("metal");
  add_hook("__wield",store_fp("do_wield"));
  add_hook("__remove",store_fp("do_unwield"));
}
예제 #5
0
static void create() {
    ::create();

    set_name("sword");
    set_short("katana");
    add_id("sword");
    set_long("This is a well forged twohanded katana.\n");
    set_class(20);
    set_weight(7);
    set_type("twohanded");
    set_value(600);
    set_damage_type("slash");
    add_property("steel");
}
예제 #6
0
파일: axe.c 프로젝트: simonthoresen/viking
void create() {
    ::create();
    set_name("Axe of Khorne");  
    set_short("a huge axe covered with runes");
    set_long("The Axe of Khorne is only used by the most devoted and " +
             "powerful of Khornes champions. It has runes engraved all " +
             "over its surface, and you can barely hold it in your hands " +
             "due to the power it contains.");
    add_id("axe");
    set_class(20);
    set_value(10000); 
    set_weight(6);
    set_damage_type("chop");
    set_type("twohanded");
    set_break_chance(1);
    set_break_msg("The axe explodes in an inferno of flames.\n");
    set_broken_desc("This was once a truly amazing weapon."); 
    add_property(({ "tagged", "hidden" }));