SPELL-CLASSDATA

Name

SPELL-CLASSDATA -- class

Description

Information that a class have about a spell. To cast a spell the class needs this information. This information varies from class to class, but the spell is usually the same.

Class details

(defclass SPELL-CLASSDATA ()(...))
scopepackage ORG.LANGBAND.VANILLA
locationvariants/vanilla/base.lisp
# variables6
# methods12

Methods

(SETF SPELL.FAILURE)
 ((SETF SPELL.FAILURE) (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The base failure-rate in %.

Called By 

PRODUCE-CHARACTER-CLASS

SPELL.FAILURE
 (SPELL.FAILURE (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The base failure-rate in %.

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

Id to the real spell, used for lookup.

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

Id to the real spell, used for lookup.

(SETF SPELL.LEVEL)
 ((SETF SPELL.LEVEL) (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The level the caster must be.

Called By 

PRODUCE-CHARACTER-CLASS

SPELL.LEVEL
 (SPELL.LEVEL (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The level the caster must be.

Called By 

LEARN-SPELL! and PRINT-OBJECT

(SETF SPELL.MANA)
 ((SETF SPELL.MANA) (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The mana the caster needs.

Called By 

PRODUCE-CHARACTER-CLASS

SPELL.MANA
 (SPELL.MANA (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The mana the caster needs.

Called By 

VAN-INVOKE-SPELL!

(SETF SPELL.TRIED)
 ((SETF SPELL.TRIED) (OBJ SPELL-CLASSDATA)) [accessor]
Description 

This slot is saved with the player-object.

Called By 

VAN-INVOKE-SPELL!

SPELL.TRIED
 (SPELL.TRIED (OBJ SPELL-CLASSDATA)) [accessor]
Description 

This slot is saved with the player-object.

Called By 

VAN-INVOKE-SPELL!

(SETF SPELL.XP)
 ((SETF SPELL.XP) (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The xp given for first-time casting.

Called By 

PRODUCE-CHARACTER-CLASS

SPELL.XP
 (SPELL.XP (OBJ SPELL-CLASSDATA)) [accessor]
Description 

The xp given for first-time casting.

Called By 

VAN-INVOKE-SPELL!

Slots

FAILURE
slot FAILURE is of type T
Description 

The base failure-rate in %.

ID
slot ID is of type T
Description 

Id to the real spell, used for lookup.

LEVEL
slot LEVEL is of type T
Description 

The level the caster must be.

MANA
slot MANA is of type T
Description 

The mana the caster needs.

TRIED
slot TRIED is of type T
Description 

This slot is saved with the player-object.

XP
slot XP is of type T
Description 

The xp given for first-time casting.

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