About this mod
- This is just the merged mod of Necromancy and Summoning for better managing
- Necromancy: Troop Infection in battle or after battle, Raise Corpse, etc.
- Summoning: Summoning Unit in battle
- Permissions and credits
- Changelogs
- You can just turn off the features that you don't need via configuration
- There is a limit for reanimation, if there are too much troop and horse in battle, reanimated troop will still add to party but will not spawn in battle to prevent crashing the game (Summon unit will not spawn either) (Currently set: 1,500).
- Before update, remember to back up your own config
Necromancy
- Added a zombie looter and some items (Just for testing)
- Optional enableTroopInfect: When defined troop kill an enemy troop, it will change it to specific troop defined in unit_unit_config.json.(Default: ON)
Player has ability to infect in default, player unitId: main_hero - Optional enableItemInfect: When use a defined item kill an enemy, it will change it to specific troop defined in itemInfectUnit of item_unit_config.json.(Default: OFF)
- Optional enableItemRaiseCorpse: When use a defined throw item to throw at corpse (killed unit) in battlefield, it will spawn defined unit, but they will not join party. And some corpse may already be "infected", so they will not be able to raise again (Refer to immuneInfectTroop).(Player ONLY) (Default: OFF)
- Optional enableNPCInfect: Lord NPC that are not Clan Leader has a chance to be forced to join in player clan (In battle ONLY) (Default: OFF)
- Optional joinPartyMode: Killed enemy will have chances to turn the into defined unit, spawn immediately on killed unit corpse and join player party afterward (Default: ON)
- (Disabled function, need to fix)
Optional spawnPartyMode: All the killed enemy within battle that had turn into defined unit will be recorded according to clan. After the battle, mobile party will be spawned based on clan respectively, the member would be the recorded killed enemy. (If the number of member is less than minimum, party will not spawn(Default is 10)) (Default: OFF) - Optional battleSimulationMode: Reanimation will happen in simulation battle if there are infector within the party. All the reanimated troop will join the strongest party with infector. (Default: OFF)
- Optional enableBuildTroopFromPart: Kill enemy in battle will get bone parts, go to a village to use these bone parts to build new troop unit. (Default: OFF)
- Optional enableRaiseCrimeRating: Clan crime rating would raise based on reanimated unit proportion within player party (Default: OFF)
- Player and Troop can both use the effect (Default for troop is off)
- Added a item summon stone (Just throwing stone with different id and 1 damage)
- When throwing this stone in battle, it will spawn a certain unit on the place where it hits.
- These summoned unit are just temporarily.
- If you want to add summon item and respective unit on your own, please aware only throwing weapon would have the effect, while unit don't have any restrictions.
Configuration:
- config.json
- enablePlayerSummon: Allow player use summon item to summon (Default is ON)
- enableTroopSummon: Allow troop with summon item to summon (Default is OFF)
- summonEachKillXp: The experience provided by summon unit for each kill, xp will be distributed among all unit with summon item (Default: 10)
- enableTroopInfect: see above
- enableItemInfect: see above
- enableItemRaiseCorpse: see above
- enableNPCInfect: see above
- NPCInfectionResistPercentage: This percentage will be used to reduce the chance of npc being infected
- joinPartyMode: see above
spawnPartyMode: see abovespawnPartyMinUnit: Minimum unit required for a party to spawn if spawnPartyMode is enabled- battleSimulationMode: see above
- infectionBasePercentage: Percentage will also be affected by infector level & tier and infected level& tier in some mode, but base percentage will affect all mode
- immuneInfectTroop: If troop id contain any string in this array, these unit will not be infected (reanimated)
The troop id contained in following lists will also become immune if respective option are enabled- item_unit_config: UnitId
- unit_unit_config: InfectedUnitId
- unit_build_from_part_config: UnitId
- enableBuildTroopFromPart: see above
- enableRaiseCrimeRating: see above
- item_unit_config
itemInfectUnit: (enableItemInfect need to set to true)
- ItemId is the item that a troop needed to equipped and used to kill the enemy
- UnitId is the troop that will be spawned after an enemy is killed by that item
itemRaiseCorpse: (enableItemRaiseCorpse need to set to true)
- ItemId is the item that player used to throw at corpse, item must be throwing weapon
- Radius is the range of searching corpse for landing location of the throwing weapon
- UnitId is the troop that will be spawned from the corpse
- RaiseMaxLimit is the max number of troops that will be spawned from the corpse per "ammo"
itemSummonUnit: (enablePlayerSummon or enableTroopSummon need to set to true)
- ItemId is the item that a troop needed to summon
- UnitId are the list of possible summon when using the desired item, it will randomly select unit to summon from the list
- SummonAmount is the amount of summon unit per "ammo"
- unit_unit_config (enableTroopInfect need to set to true)
- InfectorUnitId is the troop that kill the enemy, i.e. infector
- UnitId is the troop that will be spawned after an enemy is killed by the troop
- unit_build_from_part_config (enableBuildTroopFromPart need to set to true)
- boneParts: Just used clay as few new item which are gonna be used for build troop from part
- UnitId is the troop that will be built
- BoneNeeded is the item that needed to build the troop, the order are following the boneParts
- Amount is the number of unit that will be built
Known issue:
- The amount of throwable item to summon unit and raise corpse is always the amount of ammo minus one.
Check Out My Other Mods~