全面战争:战锤3

全面战争:战锤3

73 个评价
Dynamic Drop Rate
   
奖励
收藏
已收藏
取消收藏
campaign
标签: mod
文件大小
发表于
更新日期
722.827 KB
2022 年 9 月 3 日 上午 6:04
2024 年 6 月 18 日 下午 12:52
5 项改动说明 ( 查看 )

订阅以下载
Dynamic Drop Rate

描述
Effects :

This mod add some spice to the post battle item drops.

Base game :

- 10% rare items
- 30% uncommon items
- 60% common items

This mod :

Rare and uncommon items are slightly rarer at the start. But increasing your lord levels and adding some magic find will drastically improve your drop rate quality.

Examples :

-- lvl 10 with no magic find : 67% common, 24% for uncommon, 9% for rare.
-- lvl 25 with 10% magic find : 55% for common, 30% for uncommon, 15% for rare.
-- lvl 50 with 50% magic find : 27% for common, 46% for uncommon, 27% for rare.


Compatibility :

Compatible with everything, except if a mod modifies the exact same files :
- If someone also changes drop rates, but as long as you load this mod afterwards it should be ok.
- If somone add droppable items to the list.

Save game compatible and can be removed mid game.

Works in multiplayer.

For modders :

It's only a script edit. Can be integrated into bigger overhauls with ease as I put all the configuration variables on top of the files. Please ask beforehand before copying / merging this mod and provide a link to the original.
19 条留言
xavi2333 2024 年 10 月 12 日 下午 1:21 
Still working?
NeoKorp 2024 年 6 月 18 日 下午 7:05 
Can I request a
Common 15%
UC 10%
Rare 5%
drop rate all the time please?

Item management gets annoying even if I just use 1 army.
Lycia Pintella 2024 年 2 月 12 日 上午 5:11 
Does this mod cause Dwarfen runes to drop for other races? I'm playing High Elves and getting a bunch of runes.
figgy 2023 年 5 月 14 日 上午 3:54 
any update?
Pyro 2022 年 11 月 27 日 上午 7:09 
i see thanks for the reply :FH5Kudos:
Agarast  [作者] 2022 年 11 月 27 日 上午 6:50 
Everything concerning the type of the item is between line 688 and 714.
If you want to always drop the same type, remove the whole "if index==" until the "end".
Replace the "local new_ancillary_list = {};" with the one you want, like "local new_ancillary_list = ancillary_list.banner;"

If I have the time, during the next edit I'll add some easily editable config at the top of the script with weights for each type, on top of the rarity weighs I added.
Pyro 2022 年 11 月 27 日 上午 4:50 
what needs to be changed in the script so it only drops a specific type of item like only banners or so?
Agarast  [作者] 2022 年 11 月 7 日 上午 11:29 
True, they moved the general_has_caster_embedded_in_army from utility functions to the campaign manager, didn't catch that.

I updated the mod, thanks for the very detailed report ! There isn't any other differences in the original script so hopefully it's good now.
Lycia Pintella 2022 年 11 月 6 日 下午 9:54 
Looks like line 692 is missing the cm part here:

if character:is_caster() or cm:general_has_caster_embedded_in_army(character) then
Lycia Pintella 2022 年 11 月 6 日 上午 8:06 
I installed the script debug logger out of curiosity and I dunno if it matters but here is the error:

ERROR - SCRIPT HAS FAILED - event callback was called after receiving event [TriggerPostBattleAncillaries] but the script failed with this error message:
[string "script\campaign\wh3_campaign_magic_items.lua"]:692: attempt to call global 'general_has_caster_embedded_in_army' (a nil value)