Total War: WARHAMMER III

Total War: WARHAMMER III

Dynamic Drop Rate
19 Comments
xavi2333 12 Oct, 2024 @ 1:21pm 
Still working?
NeoKorp 18 Jun, 2024 @ 7:05pm 
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 12 Feb, 2024 @ 5:11am 
Does this mod cause Dwarfen runes to drop for other races? I'm playing High Elves and getting a bunch of runes.
figgy 14 May, 2023 @ 3:54am 
any update?
Pyro 27 Nov, 2022 @ 7:09am 
i see thanks for the reply :FH5Kudos:
Agarast  [author] 27 Nov, 2022 @ 6:50am 
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 27 Nov, 2022 @ 4:50am 
what needs to be changed in the script so it only drops a specific type of item like only banners or so?
Agarast  [author] 7 Nov, 2022 @ 11:29am 
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 6 Nov, 2022 @ 9:54pm 
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 6 Nov, 2022 @ 8:06am 
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 3 Nov, 2022 @ 1:42pm 
Kk, thanks for the quick reply.
Agarast  [author] 3 Nov, 2022 @ 1:38pm 
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 3 Nov, 2022 @ 12:11pm 
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  [author] 13 Oct, 2022 @ 12:14pm 
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 10 Oct, 2022 @ 9:09pm 
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 22 Sep, 2022 @ 10:03am 
@Agarast, many thanks for the answer. I hope you won't drop this mod, because I absolutely love the idea, thank you!
Agarast  [author] 22 Sep, 2022 @ 9:57am 
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 22 Sep, 2022 @ 1:13am 
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 4 Sep, 2022 @ 9:19am 
Thank you