|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Defines | |
| #define | POTION_IMPROVE_STATS 3 |
| #define | POTION_IMPROVE_HP 0 |
| #define | POTION_IMPROVE_SP 1 |
| #define | POTION_IMPROVE_GRACE 2 |
Functions | |
| static int | potion_improve_apply (object *op, object *tmp) |
| static int | potion_special_apply (object *op, object *tmp) |
| static int | potion_restoration_apply (object *op, object *tmp) |
| int | apply_potion (object *op, object *tmp) |
Variables | |
| static const size_t | potion_improve_stat_offsets [POTION_IMPROVE_STATS] |
| static const char *const | potion_improve_stat_names [POTION_IMPROVE_STATS] |
Handles potion related code.
Definition in file potion.c.
const char* const potion_improve_stat_names[POTION_IMPROVE_STATS] [static] |
{
"health", "mana", "grace"
}
String representations of the stats improvement potions can improve. These are used in potion_improve_apply() to inform a player which stat has increased (or decreased, in case of cursed potions).
const size_t potion_improve_stat_offsets[POTION_IMPROVE_STATS] [static] |
1.7.4