summaryrefslogtreecommitdiff
path: root/npc/craft
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-26 14:02:48 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-26 14:02:48 -0300
commit55fda42c02f8fc165b4d44202bdb657193213306 (patch)
treec40d48fb782972ed68d0b77e6180cdc617dceda4 /npc/craft
parent07326bfa98fb97b6784fd6bcf295c6dd3c693317 (diff)
downloadserverdata-55fda42c02f8fc165b4d44202bdb657193213306.tar.gz
serverdata-55fda42c02f8fc165b4d44202bdb657193213306.tar.bz2
serverdata-55fda42c02f8fc165b4d44202bdb657193213306.tar.xz
serverdata-55fda42c02f8fc165b4d44202bdb657193213306.zip
Simplify some code
Diffstat (limited to 'npc/craft')
-rw-r--r--npc/craft/options.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index c53bfef9b..f49269e1e 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -1044,13 +1044,13 @@ function script csysGUI_OptPrice {
switch (.@sk) {
case CRGROUP_BASE:
- return (.@lv < 10 ? 1000*.@lv : 1500*.@lv);
+ return (.@lv < 10 ? 1000 : 1500)*.@lv;
// Tier 1
case CRGROUP_ATK:
case CRGROUP_DEF:
case CRGROUP_ACC:
case CRGROUP_EVD:
- return (.@lv < 10 ? 7200*.@lv : 7000*.@lv);
+ return (.@lv < 10 ? 7200 : 7000)*.@lv;
// Tier 2
case CRGROUP_REGEN:
case CRGROUP_SPEED: