MAGIC-SPELL

Name

MAGIC-SPELL -- class

Description

A very simple wrapper about the spell and little else.

Class details

(defclass MAGIC-SPELL ()(...))
scopepackage ORG.LANGBAND.VANILLA
locationvariants/vanilla/base.lisp
# variables5
# methods10

Methods

(SETF SPELL.EFFECT)
 ((SETF SPELL.EFFECT) (OBJ MAGIC-SPELL)) [accessor]
Description 

A function which is invoked when the spell is cast.

Called By 

DEFINE-SPELL

SPELL.EFFECT
 (SPELL.EFFECT (OBJ MAGIC-SPELL)) [accessor]
Description 

A function which is invoked when the spell is cast.

Called By 

OK-OBJECT? and VAN-INVOKE-SPELL!

(SETF SPELL.EFFECT-TYPE)
 ((SETF SPELL.EFFECT-TYPE) (OBJ MAGIC-SPELL)) [accessor]
Description 

pointer to a spell-effect with necessary info.

Called By 

DEFINE-SPELL

SPELL.EFFECT-TYPE
 (SPELL.EFFECT-TYPE (OBJ MAGIC-SPELL)) [accessor]
Description 

pointer to a spell-effect with necessary info.

Called By 

GET-VISUAL-PROJECTILE

(SETF SPELL.ID)
 ((SETF SPELL.ID) (OBJ MAGIC-SPELL)) [accessor]
Description 

Id for the spell, everyone uses this id.

Called By 

PRODUCE-CHARACTER-CLASS

SPELL.ID
 (SPELL.ID (OBJ MAGIC-SPELL)) [accessor]
Description 

Id for the spell, everyone uses this id.

Called By 

DEFINE-SPELL, GET-SPELL-ID, LEARN-SPELL!, OK-OBJECT?, PRINT-OBJECT and PRINT-OBJECT

(SETF SPELL.NAME)
 ((SETF SPELL.NAME) (OBJ MAGIC-SPELL)) [accessor]
Description 

Name of the spell.

SPELL.NAME
 (SPELL.NAME (OBJ MAGIC-SPELL)) [accessor]
Description 

Name of the spell.

Called By 

LEARN-SPELL!, OK-OBJECT?, PRINT-OBJECT and VAN-INVOKE-SPELL!

(SETF SPELL.NUMERIC-ID)
 ((SETF SPELL.NUMERIC-ID) (OBJ MAGIC-SPELL)) [accessor]
Called By 

DEFINE-SPELL

SPELL.NUMERIC-ID
 (SPELL.NUMERIC-ID (OBJ MAGIC-SPELL)) [accessor]

Slots

EFFECT
slot EFFECT is of type T
Description 

A function which is invoked when the spell is cast.

EFFECT-TYPE
slot EFFECT-TYPE is of type T
Description 

pointer to a spell-effect with necessary info.

ID
slot ID is of type T
Description 

Id for the spell, everyone uses this id.

NAME
slot NAME is of type T
Description 

Name of the spell.

NUMERIC-ID
slot NUMERIC-ID is of type T

This documentation was generated Autumn 2003 from the original sources by Albert v.0.4.9.