全面战争:战锤3

全面战争:战锤3

Dynamic Drop Rate
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)
Lycia Pintella 2022 年 11 月 3 日 下午 1:42 
Kk, thanks for the quick reply.
Agarast  [作者] 2022 年 11 月 3 日 下午 1:38 
I checked but didn't see any edits to the drop script in the last update so it shouldn't break.

I had some weird behavior happening with the developper mode though, which is known to be quite unstable (hence the script break icon).
Lycia Pintella 2022 年 11 月 3 日 下午 12:11 
The game loads fine with this mod enabled but after I end turn and start my next turn I will get a lua script break error icon in the top right. Does it need an update?
Agarast  [作者] 2022 年 10 月 13 日 下午 12:14 
The axe of khorne is indeed in the drop list, but there's like 60 weapons to drop.
So you have around 1/6 chance to drop a weapon, then you have like 33% drop rate for rare quality at the maximum, and then 1/60 chance to drop the axe of khorne specifically. So you would need to drop 1091 items on average with max magic find & lvl 50 to drop that yeah.
Foks 2022 年 10 月 10 日 下午 9:09 
I dig the mod in general, gearing up heroes and generals makes the game lot more fun so thanks for this!
There is a question I got though, as I swear some items never seem to drop.
Like Axe of Khorne, which is part of a two piece set. I've gotten every other imaginable rare item for Khorne in my on-going IE Skarbrand but not a single Axe of Khorne has dropped.
Are there variables for specific items in base game, is there a bug with some items or is this just some incredible bad luck curse I'm dealing with?
Talaskur 2022 年 9 月 22 日 上午 10:03 
@Agarast, many thanks for the answer. I hope you won't drop this mod, because I absolutely love the idea, thank you!
Agarast  [作者] 2022 年 9 月 22 日 上午 9:57 
I made a "protection" about mods increasing magic drop chance and lords levels :

To prevent any weird behaviors I capped the internal values at 50 for both levels and magic find, meaning you can use any mods but it won't affect the drop quality above 50 anyway.
Talaskur 2022 年 9 月 22 日 上午 1:13 
Hi, thanks for the great mod! I was wondering, if I have 100% drop chance mod, how will that affect this one? I didn't per say see only rare items.
Tiberious_Of_Elona 2022 年 9 月 4 日 上午 9:19 
Thank you