Mudlib combat_spell
Documentation for the std-combat_spell functions for the mudlib in /std/combat_spell.c.
Functions
- varargs void do_spell_damage(object attacker, object target, mixed damage, string limb, int no_dodge)
Inflicts damage on the target and initiates combat between the attacker and the target. Parameters: - attacker: The object performing the attack. - target: The target object to receive the damage. - damage: The amount of damage to inflict, or a function to calculate the damage. - limb: (optional) The specific limb to apply the damage to. If not specified, a random limb is chosen. - no_dodge: (optional) If set to 1, the target cannot dodge the attack.
-
int is_combat_spell()
Indicates that this is a combat spell.
- string short()
Returns a short description of the spell.
File generated by Lima 1.1a4 reStructured Text daemon.