Atrinik Server 2.5
Functions
types/power_crystal.c File Reference
#include <global.h>

Go to the source code of this file.

Functions

void apply_power_crystal (object *op, object *crystal)

Detailed Description

Handles code related to power crystals.

Definition in file power_crystal.c.


Function Documentation

void apply_power_crystal ( object op,
object crystal 
)

This function handles the application of power crystals.

Power crystals, when applied, either suck mana from the applier, if he's at full spellpoints, or give him mana, if it's got spellpoints stored.

Parameters:
opWho is applying the crystal.
crystalThe crystal.

Definition at line 40 of file power_crystal.c.