Skip to main content

set_protector

Discworld combat help

set_protector

Name

set_protector - Sets the protector object.

Syntax

void set_protector(object ob);

Description

The protector object is used when the person is being attacked. The object has an 80% chance of taking the attack instead of the creature being attacked.

See also

attack, combat, query_protector