summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-18 03:22:04 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-18 03:22:04 -0300
commitf5c3f196fa233229d135d3d6fafd6896fb569b19 (patch)
treecf719f8c77e8c89597653ccf62f03e9b9d431b5d /npc/config
parent504fa5c8aff7649fbdd02c1b0a8d364d7b40cac2 (diff)
downloadserverdata-f5c3f196fa233229d135d3d6fafd6896fb569b19.tar.gz
serverdata-f5c3f196fa233229d135d3d6fafd6896fb569b19.tar.bz2
serverdata-f5c3f196fa233229d135d3d6fafd6896fb569b19.tar.xz
serverdata-f5c3f196fa233229d135d3d6fafd6896fb569b19.zip
Sage extra skill grants more mana exp (because their skills sucks :p)
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 95f9eb1b8..f7b22d47c 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -19,10 +19,11 @@
function script GetManaExp {
.@sk=getarg(0);
.@pt=getarg(1);
+ .@bonus=rand(0,getskilllv(TMW2_SAGE)*3/2);
if (LAST_SKILL == .@sk)
end;
LAST_SKILL=.@sk;
- MAGIC_EXP=MAGIC_EXP+.@pt;
+ MAGIC_EXP=MAGIC_EXP+.@pt+.@bonus;
end;
}