summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-26 14:05:47 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-26 14:05:47 -0300
commitbf1f850dbc4989a968cc7af38011e7658c3cf2fc (patch)
tree78998e1d92601c00bbe829a9beaf480e84e1e8fb /npc
parent55fda42c02f8fc165b4d44202bdb657193213306 (diff)
downloadserverdata-bf1f850dbc4989a968cc7af38011e7658c3cf2fc.tar.gz
serverdata-bf1f850dbc4989a968cc7af38011e7658c3cf2fc.tar.bz2
serverdata-bf1f850dbc4989a968cc7af38011e7658c3cf2fc.tar.xz
serverdata-bf1f850dbc4989a968cc7af38011e7658c3cf2fc.zip
Invert the opt price sequence from ASC to DESC.
This should make crafting higher levels considerably cheaper.
Diffstat (limited to 'npc')
-rw-r--r--npc/craft/options.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index f49269e1e..6264734e6 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -1027,20 +1027,20 @@ function script csysGUI_OptPrice {
.@sk=getarg(0);
.@lv=getd("CRAFTSYS["+.@sk+"]")+1;
- // Every 3 skills levels (including the 0), price raises in 1
- .@lv+=(.@lv/3);
+ // Every 99 skills levels (including the 0), price raises in 7
+ .@lv+=((.@lv/99)*7);
- // Every 10 skills levels (including the 0), price raises in 2
- .@lv+=((.@lv/10)*2);
+ // Every 25 skills levels (including the 0), price raises in 5
+ .@lv+=((.@lv/25)*5);
// Every 15 skills levels (including the 0), price raises in 1
.@lv+=(.@lv/15);
- // Every 25 skills levels (including the 0), price raises in 5
- .@lv+=((.@lv/25)*5);
+ // Every 10 skills levels (including the 0), price raises in 2
+ .@lv+=((.@lv/10)*2);
- // Every 99 skills levels (including the 0), price raises in 7
- .@lv+=((.@lv/99)*7);
+ // Every 3 skills levels (including the 0), price raises in 1
+ .@lv+=(.@lv/3);
switch (.@sk) {
case CRGROUP_BASE: