From 88ecb27b010ef6b75ff913647a726360cbb74d99 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 8 Jun 2020 15:57:50 -0300 Subject: [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. --- npc/config/magic.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/config') 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; -- cgit v1.2.3-70-g09d2