set_damage_chance.c

skylib_fluffos_v3/mudlib/d/learning/school/item_school/set_damage_chance.c · 508 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

/*
* Function information room
* Feb 7 '02 by Avelan
*/

#include "defs.h"

inherit ROOM_OBJ;

void setup(){
    set_light(80);
    set_short("function room");
    set_long("set_damage_chance() sets the percentage"
      " of the damage carried through to the item when"
      " it is hit.  The higher the number, the more damage"
      " the item takes.\nSyntax:\nset_damage_change(amount);\n"
      "Example:\nset_damage_chance(20);\n");

    add_exit("back",ITEMSC+"basic_start","path");

} /* setup() */

Site Stats

Snippets: 1791
Codebases: 571