summaryrefslogtreecommitdiff
path: root/npc/craft/options.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-05 15:40:07 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-05 15:40:07 -0300
commitde89bf394211adba7875f1d6fe846516ee8607d2 (patch)
tree601b6686bde9c9548ab049aa8ea41c3f939ba7c5 /npc/craft/options.txt
parentb01eab62b5ec0f1c7bb423937744f051d1ad381b (diff)
downloadserverdata-de89bf394211adba7875f1d6fe846516ee8607d2.tar.gz
serverdata-de89bf394211adba7875f1d6fe846516ee8607d2.tar.bz2
serverdata-de89bf394211adba7875f1d6fe846516ee8607d2.tar.xz
serverdata-de89bf394211adba7875f1d6fe846516ee8607d2.zip
Bump craft skills max level to 200 and prevent splash damage from increasing
Diffstat (limited to 'npc/craft/options.txt')
-rw-r--r--npc/craft/options.txt11
1 files changed, 5 insertions, 6 deletions
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) {