diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-01-08 16:52:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-01-08 16:52:43 -0300 |
commit | 063dccafa05f6495fe48f5e93fd64a7e11709b49 (patch) | |
tree | 8fe04e2ff4940cfef174f99b4859ab4c7e693ec7 | |
parent | d7c60f32b33c03ad0f64d318c4980750910e2002 (diff) | |
download | serverdata-063dccafa05f6495fe48f5e93fd64a7e11709b49.tar.gz serverdata-063dccafa05f6495fe48f5e93fd64a7e11709b49.tar.bz2 serverdata-063dccafa05f6495fe48f5e93fd64a7e11709b49.tar.xz serverdata-063dccafa05f6495fe48f5e93fd64a7e11709b49.zip |
Lower ihclot money demand, minimum now is 250k. World hero now gets discounts.
It would be 200k for a lv 50 item and lv 10 craft.
Level 100 item at lv 10 craft - 2 millions for world hero
Level 50 item at lv 100 craft - 2 millions for world hero
Level 100 item at lv 100 craft - 20 millions for world hero
Such are the cruel prices of Ihclot.
-rw-r--r-- | npc/025-1/ihclot.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/025-1/ihclot.txt b/npc/025-1/ihclot.txt index d4f260d67..889f9aba9 100644 --- a/npc/025-1/ihclot.txt +++ b/npc/025-1/ihclot.txt @@ -113,7 +113,10 @@ function apRefresh { function getPriceInt { .@price=getarg(0); .@level=getarg(1); - return .@price*.@level/3; + .@final=.@price*.@level/5; + if (strcharinfo(0) == $MOST_HEROIC$) + .@final=max(1, .@final-(.@level*5000)); + return .@final; } function getPrice { |