diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-05-15 00:08:32 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-05-15 00:08:32 -0300 |
commit | 2d2e87a7ae95c9785cf7c214aaf61982869a2764 (patch) | |
tree | c1fa1d5acb85867cf03fc292656d21c76deca38f /npc/017-10 | |
parent | e7b49f6476e9404709052ec22e6c51bfc99a3f51 (diff) | |
download | serverdata-2d2e87a7ae95c9785cf7c214aaf61982869a2764.tar.gz serverdata-2d2e87a7ae95c9785cf7c214aaf61982869a2764.tar.bz2 serverdata-2d2e87a7ae95c9785cf7c214aaf61982869a2764.tar.xz serverdata-2d2e87a7ae95c9785cf7c214aaf61982869a2764.zip |
[Consistency] Restrict Platinum Ore sale or mining if Fortress Town is closed
Diffstat (limited to 'npc/017-10')
-rw-r--r-- | npc/017-10/dispatcher.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/017-10/dispatcher.txt b/npc/017-10/dispatcher.txt index d48d418fb..07ea3ab22 100644 --- a/npc/017-10/dispatcher.txt +++ b/npc/017-10/dispatcher.txt @@ -347,6 +347,7 @@ function lootField { break; case HCD_OREMINES: .@val+=2400; + .@mk = ($FORTRESS_STATE ? 10 : 5); anyloot(Coal, .@lv, 9999, IronOre, max(1, .@lv/2), 2000, CopperOre, max(1, .@lv/2), 1000, @@ -354,9 +355,9 @@ function lootField { GoldOre, max(1, .@lv/4), 450, TinOre, max(1, .@lv/5), 350, LeadOre, max(1, .@lv/6), 300, - TitaniumOre, max(1, .@lv/8), 100, - (REBIRTH ? IridiumOre : TitaniumOre), max(1, .@lv/10), 80, - (REBIRTH ? PlatinumOre : IridiumOre), 1, 20); + TitaniumOre, max(1, .@lv/8), 10 * .@mk, + (REBIRTH ? IridiumOre : TitaniumOre), max(1, .@lv/10), 8 * .@mk, + (REBIRTH ? PlatinumOre : IridiumOre), 1, 2 * .@mk); break; case HCD_RAREMINES: .@val+=2500; |