From c35b2ff82b940d1c5515f68e92ea54a9e48ba009 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 30 May 2019 16:18:23 -0300 Subject: Hmm, fix bugs in Intense Beard and @ucp, but I'm concerned with... ...Players getting sucked in collect-forge-collect-forge or start using the tweak system like a gamble machine, and spin it until run out of money >.> --- npc/craft/options.txt | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'npc/craft/options.txt') diff --git a/npc/craft/options.txt b/npc/craft/options.txt index 6a4c9a970..cd779c747 100644 --- a/npc/craft/options.txt +++ b/npc/craft/options.txt @@ -389,8 +389,8 @@ function script csys_Apply { .@slot=0; while (.@slot < min(3, .@max_attr)) { - // You have 100% for first bonus, -30% each, depending on skill lv - .@base=3000-(.@lv*75); + // You have 100% for first bonus, -35% each, depending on skill lv + .@base=3500-(.@lv*75); if (rand(10000) > 10000-(.@base*.@slot)) break; @@ -537,9 +537,9 @@ function script csysGUI_OptToogleMenu { .@sk=getarg(0); if (getd("CRAFTSYS["+.@sk+"]")) { if (CRAFTSYS_CURRENT & .@sk) - return "Active "+csysGUI_CRName(.@sk); - else return "Remove "+csysGUI_CRName(.@sk); + else + return "Active "+csysGUI_CRName(.@sk); } return ""; } @@ -634,7 +634,19 @@ function script csysGUI_OptReq { // Return group option price and requisites function script csysGUI_OptPrice { .@sk=getarg(0); - .@lv=getd("CRAFTSYS["+.@sk+"]"); + .@lv=getd("CRAFTSYS["+.@sk+"]")+1; + + // Every 3 skills levels (including the 0), price raises in 1 + .@lv+=(.@lv/3); + + // Every 10 skills levels (including the 0), price raises in 3 + .@lv+=((.@lv/10)*3); + + // Every 25 skills levels (including the 0), price raises in 5 + .@lv+=((.@lv/25)*5); + + // Every 99 skills levels (including the 0), price raises in 7 + .@lv+=((.@lv/99)*7); switch (.@sk) { case CRGROUP_BASE: @@ -673,7 +685,7 @@ function script csysGUI_OptPrice { function script csysGUI_OptLearnMenu { .@sk=getarg(0); if (csysGUI_OptReq(.@sk)) { - .@ms$="Upgrade "+csysGUI_CRName(.@sk)+" for "+csysGUI_OptPrice(.@sk)+" Mobpt"; + return "Upgrade "+csysGUI_CRName(.@sk)+" for "+csysGUI_OptPrice(.@sk)+" Mobpt"; } return ""; } -- cgit v1.2.3-70-g09d2