From de89bf394211adba7875f1d6fe846516ee8607d2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 5 Jun 2019 15:40:07 -0300 Subject: Bump craft skills max level to 200 and prevent splash damage from increasing --- npc/craft/options.txt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'npc/craft') diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 794001a0f..84ff8be3b 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -342,7 +342,7 @@ function script csys_Multiplier { .@sk=getarg(0); switch (.@sk) { case IOPT_SPLASHDAMAGE: - return 1; + return 0; case VAR_AGIAMOUNT: case VAR_LUKAMOUNT: case VAR_DEXAMOUNT: @@ -736,7 +736,6 @@ function script csysGUI_OptPrice { .@lv+=((.@lv/25)*5); // Every 99 skills levels (including the 0), price raises in 7 - // (Which will never happen) .@lv+=((.@lv/99)*7); switch (.@sk) { @@ -784,15 +783,15 @@ function script csysGUI_OptLearnMenu { // csysGUI_RaiseOpt( cr ) // Returns true if can raise group, false otherwise -// You can't raise if max level (50) is exceeded -// A level 50 average would result to: 5 Splash Radius , 25% EXP, 125 HP +// You can't raise if max level (200) is exceeded +// A level 50 average would result to: 1 Splash Radius, 100% EXP, 500 HP function script csysGUI_RaiseOpt { .@sk=getarg(0); .@pc=csysGUI_OptPrice(.@sk); .@lv=getd("CRAFTSYS["+.@sk+"]"); if (csysGUI_OptReq(.@sk)) { - if (.@lv > 50) { - mesc l("You cannot raise crafting skills beyond level 50!"), 1; + if (.@lv > 200) { + mesc l("You cannot raise crafting skills beyond level @@!", 200), 1; return false; } if (Mobpt >= .@pc) { -- cgit v1.2.3-60-g2f50