summaryrefslogtreecommitdiff
path: root/npc/functions/magic.txt
blob: eab4b60ab824ea264e86f8e80bbb7407ae8325e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Basic magic functionality

// Magic system uses:
// - MAGIC_EXP (magic experience points, gained for spellcasting)
// - MAGIC_FLAGS

// ------------------------------------------------------------
// Gain initial magic skill
// ------------------------------------------------------------
function	script	MagicGainBasic	{

        set MAGIC_FLAGS, MAGIC_FLAGS | MFLAG_DRANK_POTION;
        close;

}