- Allow player to have probability to earn one special loot from item pools after a epic battle. - Support custom item mod for the custom item pool
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is opted-in to receive Donation Points
Changelogs
Version 1.1.7
Fix crafted weapon not excluded properly
Version 1.1.6
Fix Custom Battle Crash
Version 1.1.5
The future fix from the official should fix the issue about crafted weapon is not districted from non-crafted weapon. So just change the keyword first to allow the mod to work fine at that time.
Version 1.1.4
Fix a crash related the arena practice fight
Version 1.1.3
Add a configurable: excludeCraftedItem: if true, default item pool will exclude crafted weapon (Default is on)
Version 1.1.2
Fix the probability calculation
Version 1.1.1
Fix a probability related bug
Version 1.1.0
Support custom item from other mod to be available as special loot in custom item pool
Version 1.0.1
Distinguish default item pool and custom item pool (Currently Custom Item Pool have no items, custom item pool are item with IsUniqueItem being set to true for now)
This is a simple mod. Get a special loot after a huge fight. Whenever player encounter a battle, it will get the following stuff:
Total strength of the player and enemy parties (Attacker and Defender)
Party roguery skill
Optional multiplier.
After that, a probability will be calculated mainly based on the strength gap between player and enemy, and some bonus point to the probability based on roguery skill.
At the end of the battle, you will may have a chance to earn ONE special loot based on the probability.
There are two special loot item pool. NO NEW ITEMS BEEN ADDED.
Custom Item Pool: Item with tag IsUniqueItem. Way to add item are as follow. (Let me know the other suitable way to identify custom item if there are any)
To add custom item into the Custom Item Pool:
Open the items.xml of the custom item (..\(custom_item_folder)\ModuleData\items.xml)
Copy the item id
Open the config.json (..\SpecialLoot\bin\Win64_Shipping_Client\config.json)
Add the id into customItemId (You can just delete the test and test2, just let you know you can keep adding items like that)
"customItemId": [ "test", "test2" ]
Then these items will be set to true for isUniqueItem which will drop into the custom item pool
If you want to have higher chance to get custom item, just disable the defaultItemPool and enable customItemPool only.
There are two mode (i.e. Config itemPoolCriteria) for item get (For Default Item Pool ONLY):
Default based on Tier, the items get would be Tier 6, but you can configure it to other Tier.
Based on Value, the item value is greater than a fixed value.
The roguery skill boost on probability: Default is 20 value + 1%.
The multiplier is for those who want to have higher probability every battle. Default is 1, i.e. off.