summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-08 15:57:50 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-08 15:57:50 -0300
commit88ecb27b010ef6b75ff913647a726360cbb74d99 (patch)
treefbe07d041a09bc41feb9ba10196e1dc8b0589cbc /npc
parent0a84d3f6dd2e90844218dc5be862137b1e089be5 (diff)
downloadserverdata-88ecb27b010ef6b75ff913647a726360cbb74d99.tar.gz
serverdata-88ecb27b010ef6b75ff913647a726360cbb74d99.tar.bz2
serverdata-88ecb27b010ef6b75ff913647a726360cbb74d99.tar.xz
serverdata-88ecb27b010ef6b75ff913647a726360cbb74d99.zip
[skip ci] CHAOS CONTROL
Remove half of WIP Job Exp Table New hardcoded limit (NOT FOR PLAYERS): 255 -> 175 Also: Improve randomness mechanism of Mana Wisdom bonuses.
Diffstat (limited to 'npc')
-rw-r--r--npc/config/magic.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index c4f4e2912..d8339622c 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -42,7 +42,7 @@ function script AdjustAttackpower {
function script GetManaExp {
.@sk=getarg(0);
.@pt=getarg(1);
- .@bonus=rand(0,getskilllv(TMW2_SAGE)*3/2);
+ .@bonus=rand2(0,getskilllv(TMW2_SAGE)*3/2);
if (LAST_SKILL == .@sk) {
.@pt=limit(0, (.@pt+.@bonus)/3, 1);
.@bonus=0;