AddMagicProtection
ds2.10/lib/doc/lfun/lib/body/AddMagicProtection · 610 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
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