summaryrefslogtreecommitdiff
path: root/npc/craft/price.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-15 23:21:37 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-15 23:21:37 -0300
commit84ff563767cb680a457af4396199a2f0b59e5d39 (patch)
tree198dcadc2e941a79914fe1023f0be43353e12dd7 /npc/craft/price.txt
parent49b90f38dc31893bcb30fb619cc6d449de186abd (diff)
downloadserverdata-84ff563767cb680a457af4396199a2f0b59e5d39.tar.gz
serverdata-84ff563767cb680a457af4396199a2f0b59e5d39.tar.bz2
serverdata-84ff563767cb680a457af4396199a2f0b59e5d39.tar.xz
serverdata-84ff563767cb680a457af4396199a2f0b59e5d39.zip
Add Helmet and Gloves new auto-generated price, and fix CI bugs
Diffstat (limited to 'npc/craft/price.txt')
-rw-r--r--npc/craft/price.txt38
1 files changed, 31 insertions, 7 deletions
diff --git a/npc/craft/price.txt b/npc/craft/price.txt
index e50af153a..74111b3cf 100644
--- a/npc/craft/price.txt
+++ b/npc/craft/price.txt
@@ -51,7 +51,7 @@ function script _fix_cPrice {
// Increase the final price
//debugmes("Price %d + %d GP (%dx %s)", .@price, getiteminfo(.@recipe_item, ITEMINFO_SELLPRICE),
- .@recipe_qty, getitemname(.@recipe_item));
+ // .@recipe_qty, getitemname(.@recipe_item));
.@price += getiteminfo(.@recipe_item, ITEMINFO_SELLPRICE) * .@recipe_qty;
//debugmes("New price: %d", .@price);
}
@@ -167,14 +167,38 @@ function script fix_cPrice {
_fix_cPrice(LeatherTrousers);
_fix_cPrice(JeansChaps);
_fix_cPrice(SilkPants);
- _fix_cPrice(ChainmailSkirt);
- _fix_cPrice(BromenalPants);
+ _fix_cPrice(ChainmailSkirt); // <= Pre-Fortress
+ _fix_cPrice(BromenalPants); // <= Fortress
_fix_cPrice(WarlordPants);
_fix_cPrice(AssassinPants);
- // TOOD: Gloves, Helmets
- //_fix_cPrice(Kitana);
-
+ // Gloves (more expensive due ASPD)
+ _fix_cPrice(SilkGloves, 40);
+ _fix_cPrice(LeatherGloves, 40);
+ _fix_cPrice(BromenalGloves, 40);
+ _fix_cPrice(ManaGloves, 40);
+ _fix_cPrice(WarlordGloves, 40);
+ _fix_cPrice(AssassinGloves, 40);
+
+ // Helmets
+ _fix_cPrice(InfantryHelmet);
+ _fix_cPrice(DesertHelmet);
+ _fix_cPrice(BromenalHelmet);
+ _fix_cPrice(CandleHelmet);
+ _fix_cPrice(CrusadeHelmet);
+ _fix_cPrice(WarlordHelmet);
+ _fix_cPrice(VikingHelmet);
+ _fix_cPrice(TerraniteHelmet); // Cheaper than the real cost due 2x Earth Powder
+ _fix_cPrice(CenturionHelmet);
+ _fix_cPrice(BullHelmet);
+ _fix_cPrice(DarkHelm);
+ _fix_cPrice(DarkKnightHelmet);
+ _fix_cPrice(SamuraiHelmet);
+
+ // TODO: Verify drops and the new GP exploit
+ // TODO: Rewrite meltdown forge to similar formula
+ // Giving 30%~50% instead of 50%~70%
+ // Max rounded down, Min rounded up
return;
}
@@ -188,7 +212,7 @@ OnCall:
OnInit:
bindatcmd "reloaditemdb2", "craft_price_fix::OnCall", 99, 100, 1;
- // This should be called last
+ // This should be called last? Maybe?
sleep(750);
fix_cPrice();
end;