Total War: WARHAMMER III

Total War: WARHAMMER III

Dynamic Drop Rate
19 kommentarer
xavi2333 12. okt. 2024 kl. 13:21 
Still working?
NeoKorp 18. juni 2024 kl. 19: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 12. feb. 2024 kl. 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 14. maj 2023 kl. 3:54 
any update?
Pyro 27. nov. 2022 kl. 7:09 
i see thanks for the reply :FH5Kudos:
Agarast  [ophavsmand] 27. nov. 2022 kl. 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 27. nov. 2022 kl. 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  [ophavsmand] 7. nov. 2022 kl. 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 6. nov. 2022 kl. 21: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 6. nov. 2022 kl. 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 3. nov. 2022 kl. 13:42 
Kk, thanks for the quick reply.
Agarast  [ophavsmand] 3. nov. 2022 kl. 13: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 3. nov. 2022 kl. 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  [ophavsmand] 13. okt. 2022 kl. 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 10. okt. 2022 kl. 21: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 22. sep. 2022 kl. 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  [ophavsmand] 22. sep. 2022 kl. 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 22. sep. 2022 kl. 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 4. sep. 2022 kl. 9:19 
Thank you