diff options
author | Hello=) <hello@themanaworld.org> | 2024-08-18 15:03:43 +0300 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2024-08-28 13:00:57 +0000 |
commit | 59aa2316201d785beee4abe7a4cfe6b87f53beb1 (patch) | |
tree | 30601d80f61a6e655540e456aaceea0ed4a9ea6c /world | |
parent | a01cfaf7437652e79c3258aec08b4a3a776780bf (diff) | |
download | serverdata-59aa2316201d785beee4abe7a4cfe6b87f53beb1.tar.gz serverdata-59aa2316201d785beee4abe7a4cfe6b87f53beb1.tar.bz2 serverdata-59aa2316201d785beee4abe7a4cfe6b87f53beb1.tar.xz serverdata-59aa2316201d785beee4abe7a4cfe6b87f53beb1.zip |
This restores GPs yield of #kularzunevelafrill.
Ledmitz nerfed bone arrow price in one of previous commits:
NPC -> player vending price: 50 GP -> 8 GP (nerf factor of 6.25)
Player -> NPC selling price: 20GP -> 4 GP (nerf factor of 5)
This commit re-scales yield of spell to restore GP output, roughly
same as its been before nerf.
Rescale factor choosen 5.333 which fits between of 5 and 6.25 nicely
and convenient as it allows just minimal /32 -> /6 divisor change.
As far as I experimented, yield remains roughly same,
about 740 vs 756 GP. Slightly imperfect due to integer rounding,
if this is a big deal I can use more complicated formulae.
Diffstat (limited to 'world')
-rw-r--r-- | world/map/npc/magic/level2-make-bones.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-make-bones.txt b/world/map/npc/magic/level2-make-bones.txt index bc9bc6e5..b84cae6c 100644 --- a/world/map/npc/magic/level2-make-bones.txt +++ b/world/map/npc/magic/level2-make-bones.txt @@ -25,7 +25,7 @@ L_Resume: set CASTS, CASTS + 1; if (CASTS < 0) set CASTS, 1; // overflow misceffect FX_MAGIC_ARROW_CAST, strcharinfo(0); - setarray @create_params[0], (@spellpower/32)+1+(rand(max(1,(800-@spellpower)))/80), 500; + setarray @create_params[0], (@spellpower/6)+1+(rand(max(1,(800-@spellpower)))/80), 500; setarray @create_items$[0], "BoneArrows", "IronArrow"; callfunc "magic_create_item"; callfunc "magic_exp"; |