diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-07-05 12:25:49 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-07-05 12:30:10 -0700 |
commit | 89e2ac5687d698f0843ac46612ee33b6692bbc93 (patch) | |
tree | 8ea32e1691381e9d4db72b54c4ebed0ce809c3d2 /world/map/npc/functions/magic.txt | |
parent | 27ad0933834fb488c6deac76d660cda338bb5da8 (diff) | |
download | serverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.tar.gz serverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.tar.bz2 serverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.tar.xz serverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.zip |
Move starting brace to new line
Diffstat (limited to 'world/map/npc/functions/magic.txt')
-rw-r--r-- | world/map/npc/functions/magic.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/world/map/npc/functions/magic.txt b/world/map/npc/functions/magic.txt index bbd242c8..9fcb5226 100644 --- a/world/map/npc/functions/magic.txt +++ b/world/map/npc/functions/magic.txt @@ -10,8 +10,8 @@ // ------------------------------------------------------------ // Gain initial magic skill // ------------------------------------------------------------ -function|script|MagicGainBasic|{ - +function|script|MagicGainBasic| +{ set MAGIC_FLAGS, MAGIC_FLAGS | MFLAG_DRANK_POTION; close; @@ -20,7 +20,8 @@ function|script|MagicGainBasic|{ // ------------------------------------------------------------ // Initialise Menu for selecting a choice of things to ask about // ------------------------------------------------------------ -function|script|MagicTalkOptionsSetup|{ +function|script|MagicTalkOptionsSetup| +{ set @QQ_ELANORE, 1; set @QQ_MANASEED, 2; set @QQ_MANAPOTION, 4; @@ -40,7 +41,8 @@ function|script|MagicTalkOptionsSetup|{ // ------------------------------------------------------------ -function|script|MagicTalkMenu|{ +function|script|MagicTalkMenu| +{ setarray @choice$, "", "", "", "", "", "", "", "", "", ""; set @choices_nr, 0; setarray @choice_idx, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; @@ -159,7 +161,8 @@ L_Q_post_astralsoul: // @SUP_name$ name of the skill to level up // @SUP_xp # of experience points to award if the level up succeeds // ------------------------------------------------------------ -function|script|SkillUp|{ +function|script|SkillUp| +{ if (getskilllv(@SUP_id) >= @SUP_lvl) goto L_shortcut; |