Total War: WARHAMMER III

Total War: WARHAMMER III

73 arvostelua
Dynamic Drop Rate
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
campaign
Tunnisteet: mod
Tiedostokoko
Julkaistu
Päivitetty
722.827 KB
3.9.2022 klo 6.04
18.6.2024 klo 12.52
5 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Dynamic Drop Rate

Kuvaus
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 kommenttia
xavi2333 12.10.2024 klo 13.21 
Still working?
NeoKorp 18.6.2024 klo 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.2.2024 klo 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.5.2023 klo 3.54 
any update?
Pyro 27.11.2022 klo 7.09 
i see thanks for the reply :FH5Kudos:
Agarast  [tekijä] 27.11.2022 klo 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.11.2022 klo 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  [tekijä] 7.11.2022 klo 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.11.2022 klo 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.11.2022 klo 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)