diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-26 14:02:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-26 14:02:48 -0300 |
commit | 55fda42c02f8fc165b4d44202bdb657193213306 (patch) | |
tree | c40d48fb782972ed68d0b77e6180cdc617dceda4 /npc | |
parent | 07326bfa98fb97b6784fd6bcf295c6dd3c693317 (diff) | |
download | serverdata-55fda42c02f8fc165b4d44202bdb657193213306.tar.gz serverdata-55fda42c02f8fc165b4d44202bdb657193213306.tar.bz2 serverdata-55fda42c02f8fc165b4d44202bdb657193213306.tar.xz serverdata-55fda42c02f8fc165b4d44202bdb657193213306.zip |
Simplify some code
Diffstat (limited to 'npc')
-rw-r--r-- | npc/craft/options.txt | 4 |
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: |