Module m_damage_sink
Documentation for the modules-m_damage_sink module in /std/modules/m_damage_sink.c.
Functions
-
void set_armour_class(int x)
Set the protection of the particular damage sink. random(class) points of damage will be prevented.
-
int query_armour_class()
Query the current armour class of an object. Higher is better.
-
void set_resist(string type, int amt)
set_resist(type, amt) specifies that for damage of type ‘type’, the armour class should be increased by ‘amt’
-
void set_resistances(mapping x)
void set_resistances(mapping) - Set all the resistances an armour possesses.
-
void set_weakness(string type, int amt)
set_weakness(type, amt) specifies that for damage of type ‘type’, the armour class should be decreased by ‘amt’
-
void set_weaknesses(mapping weak)
void set_weaknesses(mapping) - Set all the weaknesses an armour possesses.
-
int is_armour()
Returns 1 if the object is a damage_sink.
File generated by Lima 1.1a4 reStructured Text daemon.