summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-08 16:52:43 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-08 16:52:43 -0300
commit063dccafa05f6495fe48f5e93fd64a7e11709b49 (patch)
tree8fe04e2ff4940cfef174f99b4859ab4c7e693ec7
parentd7c60f32b33c03ad0f64d318c4980750910e2002 (diff)
downloadserverdata-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.txt5
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 {