summaryrefslogtreecommitdiff
path: root/npc/items/books.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-22 16:16:05 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-22 16:16:05 -0300
commit93d9e1bc1e9f2f19bbd227a90d9a614cc36db0da (patch)
treee286b97a94e4c61c32492ad6a3fcb4c0a5b84c35 /npc/items/books.txt
parent62052250f34b8425dc2975b5a83d0355168ed342 (diff)
downloadserverdata-93d9e1bc1e9f2f19bbd227a90d9a614cc36db0da.tar.gz
serverdata-93d9e1bc1e9f2f19bbd227a90d9a614cc36db0da.tar.bz2
serverdata-93d9e1bc1e9f2f19bbd227a90d9a614cc36db0da.tar.xz
serverdata-93d9e1bc1e9f2f19bbd227a90d9a614cc36db0da.zip
Move abizit to a function in config/magic.txt (required for Academy release)
Diffstat (limited to 'npc/items/books.txt')
-rw-r--r--npc/items/books.txt16
1 files changed, 1 insertions, 15 deletions
diff --git a/npc/items/books.txt b/npc/items/books.txt
index eae6c4e99..b0a18c083 100644
--- a/npc/items/books.txt
+++ b/npc/items/books.txt
@@ -235,21 +235,7 @@ OnInit:
mesc l("Summon Plants - @sk-plantkingdom");
next;
- mesn l("Current Magic Control");
- .@val=MAGIC_EXP+rand(-MAGIC_LVL*5, MAGIC_LVL*5);
- .@base=(MAGIC_LVL**3);
- if (.@val > .@base*5)
- mesc l("You are perfectly in control of your magic."), 3;
- else if (.@val > .@base*4)
- mesc l("You are mostly in control of your magic."), 2;
- else if (.@val > .@base*3)
- mesc l("You are somewhat in control of your magic."), 4;
- else if (.@val > .@base*2)
- mesc l("Your magic is more powerful than you, but you can control."), 7;
- else if (.@val > .@base)
- mesc l("You still are overwhelmed by your magic."), 6;
- else
- mesc l("You are completly overwhelmed by your magic."), 1;
+ abizit();
next;
break;
case 3: