SPELLCASTING-CLASS

Name

SPELLCASTING-CLASS -- class inheriting CHARACTER-CLASS

Description

A subclass of the class character-class. Represents a class with spell-castin capabilities.

Class details

(defclass SPELLCASTING-CLASS (CHARACTER-CLASS)(...))
scopepackage ORG.LANGBAND.VANILLA
locationvariants/vanilla/base.lisp
inheritsCHARACTER-CLASS
# variables5
# methods10

Methods

(SETF CLASS.LEARNT-SPELLS)
 ((SETF CLASS.LEARNT-SPELLS) (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

An array with ids to learnt spells (in order). Is saved with the player-object.

Called By 

PRODUCE-CHARACTER-CLASS

CLASS.LEARNT-SPELLS
 (CLASS.LEARNT-SPELLS (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

An array with ids to learnt spells (in order). Is saved with the player-object.

Called By 

CAN-LEARN-MORE-SPELLS?, FILED-PLAYER-DATA, HAS-LEARNT-SPELL?, LEARN-SPELL!, LOAD-OBJECT and SAVE-OBJECT

(SETF CLASS.MAX-ARMOUR-WEIGHT)
 ((SETF CLASS.MAX-ARMOUR-WEIGHT) (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

What is the max weight of armour the mage can wear?

Called By 

PRODUCE-CHARACTER-CLASS

CLASS.MAX-ARMOUR-WEIGHT
 (CLASS.MAX-ARMOUR-WEIGHT (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

What is the max weight of armour the mage can wear?

(SETF CLASS.SPELL-STAT)
 ((SETF CLASS.SPELL-STAT) (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

What is the spell-stat?

Called By 

PRODUCE-CHARACTER-CLASS

CLASS.SPELL-STAT
 (CLASS.SPELL-STAT (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

What is the spell-stat?

Called By 

CAN-LEARN-MORE-SPELLS?

(SETF CLASS.SPELLS)
 ((SETF CLASS.SPELLS) (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

An array with the possible spells (of type spell-classdata) the class can have.

Called By 

PRODUCE-CHARACTER-CLASS

CLASS.SPELLS
 (CLASS.SPELLS (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

An array with the possible spells (of type spell-classdata) the class can have.

Called By 

GET-SPELL-DATA

(SETF CLASS.SPELLS-AT-LEVEL)
 ((SETF CLASS.SPELLS-AT-LEVEL) (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

At what level does the spellcaster get spells?

Called By 

PRODUCE-CHARACTER-CLASS

CLASS.SPELLS-AT-LEVEL
 (CLASS.SPELLS-AT-LEVEL (OBJ SPELLCASTING-CLASS)) [accessor]
Description 

At what level does the spellcaster get spells?

Slots

LEARNT-SPELLS
slot LEARNT-SPELLS is of type T
Description 

An array with ids to learnt spells (in order). Is saved with the player-object.

MAX-ARMOUR-WEIGHT
slot MAX-ARMOUR-WEIGHT is of type T
Description 

What is the max weight of armour the mage can wear?

SPELL-STAT
slot SPELL-STAT is of type T
Description 

What is the spell-stat?

SPELLS
slot SPELLS is of type T
Description 

An array with the possible spells (of type spell-classdata) the class can have.

SPELLS-AT-LEVEL
slot SPELLS-AT-LEVEL is of type T
Description 

At what level does the spellcaster get spells?

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