Obtaining
Kodoku
Result: 1 Kodoku
Usage
Living attackers accumulate Kodoku value when they kill other living things. The defeated target's value transfers to the killer, with an additional base point and configurable health and armor contributions.
Right-click a living target with an unused Kodoku worm to attach it. Kill that target, then right-click the surviving worm entity to return it to item form. Its tooltip displays the captured Kodoku value.
Place a charged worm in the world and kill it with fire, burning, or lava to add mana to active nearby Mana Circuits. The generated amount is its Kodoku value multiplied by 8 plus the local leyline value.
For sympathetic magic, place charged Kodoku worms in an inventory directly below an active Scrying circle. Throw a supported ingredient onto the circle to attempt its remote effect. The strength and resistance rules are listed under Sympathetic Magic below.
Sympathetic Magic
| Item thrown onto Scrying circle | Attempted effect |
|---|---|
| Blaze Powder | Sets the target on fire. |
| Rabbit's Foot | Launches the target upward. |
| Splash Potion | Applies the potion at the target's location. |
| Glowstone Dust | Applies Glowing. |
| Rotten Flesh | Removes 5 hunger points from a player target. |
| Charged Kodoku | Applies Misfortune based on that worm's value. |
| Ender Pearl | Teleports the target to the Scrying circle. Player targets require a Contract with the caster. |
| Nether Wart | Applies Confusion. |
The fuel worm's effective value is reduced by the target's strongest carried Kodoku. If the target's protection is more than twice the fuel value, the attempted effect is reflected toward the caster instead.
For probability-based ingredient effects, the attempt chance is the corresponding base chance multiplied by the square root of the effective Kodoku value.
Blaze Powder, Rabbit's Foot, Rotten Flesh, Glowstone Dust, Ender Pearls, Nether Wart, and charged Kodoku consume one thrown item and one fuel worm when attempted. A Splash Potion chance roll consumes one potion and one fuel worm whether that roll succeeds or fails.
Configuration
| Setting | Default | Range | Effect |
|---|---|---|---|
KODOKU_ARMOR_FACTORmahoutsukai-server.tomlkodoku | 0 | -10000000–10000000 | Multiplier for the defeated target's armor when calculating Kodoku gained by a player or other attacker that is not a mob. |
KODOKU_ARMOR_FACTOR_MOBmahoutsukai-server.tomlkodoku | 0 | -10000000–10000000 | Multiplier for the defeated target's armor when calculating Kodoku gained by a mob killer. |
KODOKU_CONFUSE_CHANCEmahoutsukai-server.tomlkodoku | 0.01 | 0–1 | Base chance for Nether Wart to apply Confusion to the Scrying target when the effective Kodoku value is 1. |
KODOKU_FIRE_CHANCEmahoutsukai-server.tomlkodoku | 0.1 | 0–1 | Base chance for Blaze Powder to set the Scrying target on fire when the effective Kodoku value is 1. |
KODOKU_GLOW_CHANCEmahoutsukai-server.tomlkodoku | 0.02 | 0–1 | Base chance for Glowstone Dust to apply Glowing to the Scrying target when the effective Kodoku value is 1. |
KODOKU_HEALTH_FACTORmahoutsukai-server.tomlkodoku | 0.1 | -10000000–10000000 | Multiplier for the defeated target's health when calculating Kodoku gained by a player or other attacker that is not a mob. |
KODOKU_HEALTH_FACTOR_MOBmahoutsukai-server.tomlkodoku | 0.1 | -10000000–10000000 | Multiplier for the defeated target's health when calculating Kodoku gained by a mob killer. |
KODOKU_HOP_CHANCEmahoutsukai-server.tomlkodoku | 0.08 | 0–1 | Base chance for a Rabbit's Foot to launch the Scrying target upward when the effective Kodoku value is 1. |
KODOKU_HUNGER_CHANCEmahoutsukai-server.tomlkodoku | 0.15 | 0–1 | Base chance for Rotten Flesh to lower a player Scrying target's hunger when the effective Kodoku value is 1. |
KODOKU_LOOT_DIVISORmahoutsukai-server.tomlkodoku | 10 | 0–100000000 | Divides Misfortune's Kodoku level to determine how many entries are removed from affected loot drops. |
KODOKU_MISFORTUNE_AGGRO_CHANCEmahoutsukai-server.tomlkodoku | 0.0004 | 0–1 | Base chance for Misfortune to provoke nearby mobs at Kodoku value 1. |
KODOKU_MISFORTUNE_DROP_CHANCEmahoutsukai-server.tomlkodoku | 0.00007142857142857143 | 0–1 | Base chance for Misfortune to make its target drop a random carried item at Kodoku value 1. |
KODOKU_MISFORTUNE_LIGHTNING_CHANCEmahoutsukai-server.tomlkodoku | 0.00002 | 0–1 | Base chance for Misfortune to strike its target with lightning at Kodoku value 1. |
KODOKU_MISFORTUNE_TRIP_CHANCEmahoutsukai-server.tomlkodoku | 0.00004 | 0–1 | Base chance for Misfortune to trip its target at Kodoku value 1. |
KODOKU_SPLASH_CHANCEmahoutsukai-server.tomlkodoku | 0.05 | 0–1 | Base chance for a Splash Potion to affect the Scrying target when the effective Kodoku value is 1. |
KODOKU_TELEPORT_CHANCEmahoutsukai-server.tomlkodoku | 0.08 | 0–1 | Base chance for an Ender Pearl to teleport the Scrying target when the effective Kodoku value is 1. |
KODOKU_TOOL_BREAK_DIVISORmahoutsukai-server.tomlkodoku | 10 | 0–100000000 | Divides Misfortune's Kodoku level to determine the extra durability damage applied to tools when used. |