|
Atrinik Server 2.5
|
#include <spells.h>
Data Fields | |
| char | name [BIG_NAME] |
| int | type |
| char * | icon |
| char * | description |
| int | level |
| int | sp |
| int | time |
| int | scrolls |
| int | charges |
| int | range |
| float | value_mul |
| int | bdam |
| int | bdur |
| int | ldam |
| int | ldur |
| int | spl |
| const char * | sound |
| int | spell_use |
| uint32 | flags |
| uint32 | path |
| char * | archname |
| char* spell_struct::archname |
A combination of Spell flags.
| char* spell_struct::icon |
| char spell_struct::name[BIG_NAME] |
| const char* spell_struct::sound |
| int spell_struct::sp |
A combination of Spell use flags.
| float spell_struct::value_mul |
Used when we have an item of this kind of spell. A magic potion has value x.
We do: (x * value_mul) * level to increase the value.
1.7.4