ADDMAGICPROTECTION

NAME
        AddMagicProtection()

SYNOPSIS
        int AddMagicProtection(class MagicProtection cl)

DESCRIPTION
        This is the rather complex means by which to add sophisticated magical protection to a creature. An item must first create a protection class, then pass it as an argument to this funtion in the creature. 

EXAMPLES
        Please see the buffer spell, /spells/buffer.c , for a detailed example of the mechanics of this system.

LOCATION
        /lib/body


SEE ALSO
        SetProtect, GetProtect, RemoveMagicProtection, eventCheckProtection

Author
        Cratylus

