Written by Pinkfish.
varargs int add_attack(string a_name,
int chance,
int * damage,
string type,
string skill,
mixed func,
mixed bogus_1,
mixed bogus_2)
void add_attack_message(string name,
string type,
string * data)
inherit "/obj/weapon";
void setup() {
...
add_attack_message("gumboot", "blunt", ({
0, "$N gumboot$s at $I with $D",
20, "$N lightly gumboot$s $I in the $z with $D",
60, "$N gumboot$s $I in the $z with $D",
5000, "$N heavily gumboot$s $I in the $z with $D" }));
...
} /* setup() */
void attack_function(string a_name,
int damage,
object attack_ob,
object attack_by)
int calc_attack(int number,
int percent)
int modify_damage(int damage,
string attack_name)
mixed * query_attack_data()
mixed * query_attack_message(string name,
string type)
string * query_attack_names()
string * query_attack_types()
mapping query_special_messages()
string query_weapon_type()
void remove_attack(string a_name)
mixed * weapon_attacks(int percent,
object target)