Combat Expanded: Difference between revisions
Difficulty Update
m (add version) |
(username removed) (Difficulty Update) |
||
Line 3: | Line 3: | ||
|creator=Thanathor | |creator=Thanathor | ||
|versions=1.19.2, 1.20+}} | |versions=1.19.2, 1.20+}} | ||
This module adds custom modifiers to | This module adds custom modifiers to armor, weapons, and mobs as well as a ramping difficulty curve the longer you survive. | ||
==Features== | ==Features== | ||
Combat Expanded expands on the game's difficulty. Mobs will be given additional stats and gear scaling over time. This gear can be dropped for the player as | Combat Expanded expands on the game's difficulty. Mobs will be given additional stats and gear scaling over time. This gear can be dropped for the player with special modifiers that alter the players stats and abilities. | ||
=== Home Bed === | |||
Players can designate a bed as a "Home Bed" by sleeping in it. Only the last bed slept in by any player can be a Home Bed. While a player is online their Home Bed serves as a beacon that lowers difficulty in an area of 128 blocks around it. Only one Home Bed can affect an area at a time. | |||
===Mobs=== | ===Mobs=== | ||
As a player stays alive in the world for longer the mobs that spawn around them will grow in strength. Mobs will spawn with higher health, damage, movement speed and with better | As a player stays alive in the world for longer the mobs that spawn around them will grow in strength. Mobs will spawn with higher health, damage, movement speed and with better armor and weapons. | ||
Mobs will also receive additional bonusses depending on what biome they spawn in. | Mobs will also receive additional bonusses depending on what biome they spawn in. | ||
Line 21: | Line 24: | ||
Blaze, Drowned, Slimes, Magma Cubes, Phantoms, Shulkers, Ghasts, Guardians, and Elder Guardians will gain modifiers even if spawned from a spawner. | Blaze, Drowned, Slimes, Magma Cubes, Phantoms, Shulkers, Ghasts, Guardians, and Elder Guardians will gain modifiers even if spawned from a spawner. | ||
====Zombie | ====Zombie Alternatives==== | ||
* Zombie reinforcements will not drop their equipment. | |||
* Baby zombies have -60% Max Health. | |||
* Zombie Leaders are replaced with zombies that have highly increased stats and much better gear than ordinary zombies. In addition Zombie Leaders will be equipped with a shield enchanted with Unbreaking V. All of the equipment has a high chance of being dropped on death. | |||
====Phantoms==== | |||
Phantoms will no longer spawn from insomnia. Instead they can be found above high mountains, unless a players Home Bed is nearby. Phantoms will take damage upon contact with water. | |||
=== Item Modifiers === | |||
Custom armor and weapons are dropped at 8.5% and 20% respectively, scaling with looting. Any items dropped like this will be prefixed with a special modifier. | |||
====Weapons==== | ====Weapons==== | ||
{{/Weapons}} | {{/Weapons}} | ||
==== | ====Armor==== | ||
{{/Armour}} | {{/Armour}} | ||
Line 47: | Line 47: | ||
!Requirement | !Requirement | ||
|- | |- | ||
|{{Advancement|item=Leather Tunic|title=Hidden Power|desc= | |{{Advancement|item=Leather Tunic|title=Hidden Power|desc=Obtain a Modified weapon or piece of armor from a mob}} | ||
| | |Pick up an item with a Modifier | ||
|- | |- | ||
|{{Advancement|item= | |{{Advancement|item=Chorus Fruit|title=Vwoops!|bg=fancy|desc=Who thought this was a good idea?}} | ||
| | |Teleport using a piece of Vorpal armor | ||
|} | |||
==Technical Details== | |||
====Player Difficulty==== | |||
Each player has their own Player Difficulty, which is calculated every 5 minutes or on respawn. | |||
<code>Player Difficulty = Playtime * (1 - Death Multiplier) * World Difficulty</code>, where | |||
<code>Playtime:</code> goes up by 1 every 5 minutes a player is online, up to 100. | |||
<code>Death Multiplier:</code> is calculated on death by: <code>Death Multiplier = Death Multiplier * 0.75 + 0.2</code>, every time difficulty is calculated it is reduced by 0.01 for every 5 minutes since the last death. | |||
<code>World Difficulty:</code> is based on world difficulty: 0.3 for easy, 0.4 for medium and 0.5 for hard | |||
====Mob Difficulty==== | |||
When a mob spawns it will be assigned a Mob Difficulty of its own to modify its stats. | |||
<code>Player Difficulty * Difficulty Modifier + Random Offset + Illager Bonus</code>, where | |||
<code>Player Difficulty:</code> Difficulty taken from the closest player | |||
<code>Difficulty Modifier:</code> is calculated based on the environment where the mob spawned: | |||
* Start with a random value between -0.1 - 0.1 | |||
* If it's raining: +0.2 | |||
* If the mob spawned on the surface and it is night time: +0.1 for crescent moon, +0.2 for quarter moon, +0.3 for gibbous moon or +0.4 for a full moon | |||
* If mob spawned underground (Dark): +0.3 | |||
* If in Mountainous biomes: +0.2 | |||
* If an active Home Bed is within 128 blocks: -0.4 | |||
<code>Random Offset:</code> a random value between -5 and 5 | |||
<code>Illager Bonus:</code> applied to Illagers under certain conditions: | |||
* Pillager patrol leaders: +10 | |||
* Pillager/Vindicator raider: +<code>3*(raid wave)</code> | |||
A mobs Difficulty is then used to calculate their stats. Each mobs has their own Stat Page with Base and Caps for each stat. Each stat calculates its score by applying a normal distribution of the Base, then taking a percentage of that equal to the mobs Mob Difficulty. This score cannot exceed the Cap listed on the mobs Stat Page. | |||
Each | |||
Finally the actual stat is calculated as follows: | |||
<code>Max Health = score * 1</code> | |||
<code>Attack Damage = score * 0.5</code> | |||
<code>Movement Speed = score * 0.02 (% multiply_base)</code> | |||
= | <code>Armor = score * 1</code> | ||
* | |||
< | <code>Armor Toughness = score * 3</code> | ||
==== | ==== Mob Modifiers ==== | ||
If the chance for a modifier is <u>underlined</u> it scales up with Mob Difficulty, the displayed chance is for 100 Mob Difficulty, e.g. an 80% chance at 100 Mob Difficulty would be a 40% chance at 50 Mob Difficulty. | |||
{| class="wikitable mw-collapsible mw-collapsed" | {| class="wikitable mw-collapsible mw-collapsed" | ||
! colspan=" | ! colspan="4" |General Mob Modifiers | ||
|- | |- | ||
!Mob | !Mob | ||
! | !Base Stats | ||
!Stat | !Stat Page (Base / Cap) | ||
!Additional Effects | |||
!Effects | |- | ||
|Zombie/Husk/Drowned | |||
| -3 Max Health | |||
-1.5 Attack Damage | |||
-4% Movement Speed | |||
|'''Max Health:''' 20 / 15 | |||
'''Attack Damage:''' 35 / 7 | |||
'''Movement Speed:''' 15 / 6 | |||
'''Armor:''' 10 / 4 | |||
'''Armor Toughness:''' 25 / 8 | |||
|<u>33% chance</u> to equip a weapon | |||
<u>75% chance</u> to equip armor (4x) | |||
<u>15% chance</u> for +15% Movement Speed | |||
<u>40% chance</u> for +45% Knockback Resistance | |||
|- | |- | ||
| | |Skeleton/Stray | ||
| | | -5 Max Health | ||
-20% Movement Speed | |||
|'''Max Health:''' 30 / 12 | |||
'''Attack Damage:''' 24 / 9 | |||
'''Movement Speed:''' 12 / 10 | |||
'''Armor:''' 7 / 3 | |||
'' | '''Armor Toughness:''' 5 / 2 | ||
|<u>75% chance</u> to equip armor (4x) | |||
<u>10% chance</u> for Power Enchantment | |||
<u>7.5% chance</u> for {{Stack|effect:Instant Damage}}Harming arrows | |||
| | |||
|- | |- | ||
| | |Spider | ||
| | | -6 Max Health | ||
-0.5 Attack Damage | |||
|'' | |||
-6% Movement Speed | |||
|'''Max Health:''' 30 / 12 | |||
| | '''Attack Damage:''' 18 / 10 | ||
'''Movement Speed:''' 64 / 34 | |||
'''Armor:''' 4 / 2 | |||
| | |||
|- | |- | ||
| | |Cave Spider | ||
| | | -8 Max Health | ||
-1.5 Attack Damage | |||
-12% Movement Speed | |||
|'' | |'''Max Health:''' 30 / 10 | ||
'' | '''Attack Damage:''' 8 / 4 | ||
'' | '''Movement Speed:''' 36 / 17 | ||
| | | | ||
|- | |- | ||
|Creeper | |Creeper | ||
| | | -5 Max Health | ||
|'''Max Health:''' 30 / 12 | |||
'''Movement Speed:''' 20 / 8 | |||
'''Armor:''' 14 / 7 | |||
| | | | ||
|- | |- | ||
|Magma Cube/ | |Slime / Magma Cube | ||
|<u>- | | -3 Max Health<ref>Except for Size 0 Slimes / Magma Cubes</ref> | ||
|''+ | |'''Max Health:''' 30 / 10 | ||
'''Attack Damage:''' 8 / 3 | |||
|<u>35% chance</u> to grow 1 size (up to 4) | |||
<u>10% chance</u> to grow 1 size (up to 4) | |||
|- | |||
|Enderman | |||
| -2 Max Health<ref name=":0">Except in The End</ref> | |||
-3 Attack Damage | |||
-10% Movement Speed | |||
|'''Max Health:''' 45 / 16<ref name=":0" /> | |||
'''Attack Damage:''' 32 / 12 | |||
'''Movement Speed:''' 8 / 8 | |||
'''Armor:''' 26 / 9 | |||
|in '''The End:''' | |||
* +20% Attack Damage | |||
* +15% Movement Speed | |||
|- | |||
|Phantom | |||
| -15 Max Health | |||
-1.5 Attack Damage | |||
|'''Max Health:''' 33 / 16 | |||
'''Attack Damage:''' 11 / 6 | |||
'''Armor:''' 8 / 5 | |||
| | | | ||
|- | |- | ||
| | |Wither Skeleton | ||
| | | -2 Max Health | ||
-6 Attack Damage | |||
-4% Movement Speed | |||
+66% Knockback Resistance | |||
|'''Max Health:''' 34 / 14 | |||
'''Attack Damage:''' 26 / 14 | |||
'''Movement Speed:''' 6 / 6 | |||
'''Armor:''' 8 / 8 | |||
''' | '''Armor Toughness:''' 14 / 8 | ||
|<u>100% chance</u> to equip Iron or Chainmail armor (4x) | |||
<u>40% chance</u> to equip a bow with {{Stack|effect:Wither}}Wither arrows | |||
|- | |||
|Piglin | |||
| -2 Max Health | |||
-0.5 Attack Damage | |||
'' | -4% Movement Speed | ||
|'''Max Health:''' 80 / 24 | |||
'''Movement Speed:''' 18 / 8 | |||
'' | '''Armor:''' 6 / 4 | ||
'' | '''Armor Toughness:''' 6 / 2 | ||
|<u>33% chance</u> to equip Gold armor (4x) | |||
| | |||
|- | |- | ||
| | |Zombified Piglin | ||
| -3 Max Health | |||
| | -1 Attack Damage | ||
-2% Movement Speed | |||
|'''Max Health:''' 65 / 24 | |||
'''Attack Damage:''' 17 / 7 | |||
'''Movement Speed:''' 20 / 10 | |||
| | | | ||
|- | |- | ||
| | |Pillager | ||
| | | -4 Max Health | ||
|''+ | -15% Movement Speed | ||
'' | |'''Max Health:''' 32 / 10 | ||
'''Movement Speed:''' 15 / 12 | |||
'''Armor:''' 34 / 6 | |||
'''Armor Toughness:''' 12 / 5 | |||
|If '''Patrol Leader:''' | |||
* Piercing Enchantment | |||
If i'''n Patrol:''' | |||
* '''Movement Speed:''' 34 / 14 | |||
If '''in Raid Wave 4+:''' | |||
* '''Max Health:''' 32 / 18 | |||
* '''Armor:''' 34 / 12 | |||
'' | If '''in Raid Wave 5/6/7/8:''' | ||
* 20/40/60/80% chance of Piercing Enchantment | |||
|- | |- | ||
| | |Vindicator | ||
| | | -2 Max Health | ||
|'' | -3 Attack Damage | ||
'' | |||
-10% Movement Speed | |||
|'''Max Health:''' 40 / 24 | |||
'''Attack Damage:''' 20 / 7 | |||
'' | |||
'''Movement Speed:''' 24 / 15 | |||
'''Armor:''' 36 / 15 | |||
''+ | '''Armor Toughness:''' 30 / 5 | ||
|If '''in Raid Wave 4+:''' | |||
* '''Max Health:''' 60 / 24 | |||
* '''Armor Toughness:''' 30 / 12 | |||
|- | |- | ||
| | |Hoglin | ||
| | | -16 Max Health | ||
-14% Movement Speed | |||
|'''Max Health:''' 100 / 36 | |||
'''Attack Damage:''' 22 / 6 | |||
'''Movement Speed:''' 16 / 7 | |||
'''Armor:''' 24 / 6 | |||
| | | | ||
|- | |- | ||
| | |Other<ref>Elder Guardian | ||
Endermite | |||
Evoker | |||
Guardian | |||
Ravager | |||
Shulker | |||
Silverfish | |||
Witch | |||
Zoglin</ref> | |||
| | | | ||
|'' | |'''Max Health:''' 15 / 6<ref>Witches that spawned in Witch Huts do not gain Max Health</ref> | ||
'''Attack Damage:''' 11 / 5 | |||
'' | |||
'''Movement Speed:''' 15 / 7 | |||
'''Armor:''' 7 / 4 | |||
| | | | ||
|} | |} | ||
{| class="wikitable mw-collapsible mw-collapsed" | {| class="wikitable mw-collapsible mw-collapsed" | ||
! colspan=" | ! colspan="5" |Biome Specific Mob Modifiers (Overworld) | ||
|- | |- | ||
!Biomes | !Biomes | ||
Line 262: | Line 351: | ||
Skeletons/Stray | Skeletons/Stray | ||
!Effects on | !Effects on | ||
Other Mobs | |||
|- | |- | ||
|'''Dark''' | |'''Dark'''<ref>Mobs are considered to have spawned in the "Dark" if they spawn at light level 0, except if they spawned in Lush Caves.</ref> | ||
| | | +15% Max Health | ||
+10% Attack Damage | |||
+5% Movement Speed | |||
Weapon droprate to 8.5% | Weapon droprate to 8.5% | ||
Armor droprate to 4.25% | Armor droprate to 4.25% | ||
| | |<nowiki>+25% Reinforcement Chance</nowiki> | ||
+25% | |||
<u>25% chance</u> to spawn 1 extra Zombie | |||
|''+ | |Movement Speed Base +2 | ||
'' | Armor Toughness Base +2 | ||
|'''Cave Spider:''' | |||
* +15% Movement Speed | |||
'''Creeper:''' | |||
* Explosion Radius set to 4 | |||
'''Spider:''' | |||
* <u>10% chance</u> of Invisibility | |||
|- | |- | ||
| | | | ||
Line 307: | Line 396: | ||
Eroded Badlands | Eroded Badlands | ||
|} | |} | ||
| | |<nowiki>+10% Movement Speed</nowiki> | ||
<u>40% chance</u> of Fire Aspect Enchantment | |||
<u>40% chance</u> of Flame enchantment | |||
|'''Husk:''' | |||
*-65% Max Health | *-65% Max Health | ||
*-25% Attack Damage | *-25% Attack Damage | ||
* | *<u>200% chance</u> to spawn extra Husk (4x) | ||
*<u>90% chance</u> to spawn extra Husk (3x) | |||
*<u>45% chance</u> to spawn extra Husk (4x) | |||
| | | | ||
|'''Cave Spider / Spider:''' | |||
* <u>50% chance</u> of Fire Resistance | |||
'''Creeper:''' | |||
* Fuse reduced by 25% | |||
'''Phantom:''' | |||
* Fire Resistance | |||
* <u>35% chance</u> to grow 1 size | |||
|- | |- | ||
| | | | ||
Line 331: | Line 432: | ||
Deep Frozen Ocean | Deep Frozen Ocean | ||
|} | |} | ||
| | | +60% Armor Toughness | ||
|'''Drowned''': | |'''Drowned''': | ||
* +20% Attack Damage | |||
| | | | ||
| | | | ||
Line 351: | Line 451: | ||
|} | |} | ||
| | | | ||
| | |Head slot is replaced with a "Zombie Spore" that comes in 3 varieties: | ||
'''Cherry''' in Cherry Groves: | |||
*grants 16 Max Health | |||
*grants 2 Attack Damage | |||
'''Normal''' in other Flowering Biomes (66% chance) | |||
*grants 8 Max Health | |||
*grants -1.5 Attack Damage | |||
'''Flowering''' in other Flowering Biomes (33% chance) | |||
Each Spore also reduces the mobs Max Health by 25%. | |||
Killing a Spore Zombie will drop the Spore which will respawn a new Spore Zombie after 8 seconds. | |||
Every time a Spore respawns a Zombie the drop chance of its subsequent Spores drops by 10%. | |||
Setting | Setting Spore Zombies on fire destroys the Spore. | ||
|85% chance to be replaced with 3 zombies. | |85% chance to be replaced with 3 zombies. | ||
In '''Lush Caves''' only 1 zombie spawns | In '''Lush Caves''' only 1 zombie spawns | ||
|''' | |'''Enderman:''' | ||
replaced with | |||
* 50% chance to be replaced with a Slime | |||
'''Creeper:''' | |||
* Invisible until it gets close to a player | |||
'''Phantom:''' | |||
* <u>35% chance</u> to grow 1 size | |||
* <u>50% chance</u> to grow 1 size | |||
'''Slime:''' | |||
* <u>35% chance</u> to grow 1 size (up to 4) | |||
* <u>35% chance</u> to grow 1 size (up to 4) | |||
|- | |- | ||
| | | | ||
Line 385: | Line 507: | ||
Mangrove Swamp | Mangrove Swamp | ||
|} | |} | ||
|80% chance of | |<u>80% chance</u> of Projectile Protection Enchantment | ||
|Replaced with 3 Skeletons | |Replaced with 3 Skeletons | ||
| -25% Max Health | | -25% Max Health | ||
+24% Movement Speed | |||
Spawns with melee weapons | |||
|'''Cave Spider / Spider:''' | |||
* Spawn a second (Cave) Spider | |||
* <u>60% chance</u> to spawn a third | |||
'''Creeper:''' | |||
* +20% Movement Speed | |||
'''Slime:''' | |||
* Spawn additional small Slimes, 1 per size above 0 | |||
|- | |- | ||
| | | | ||
Line 428: | Line 552: | ||
Eroded Badlands | Eroded Badlands | ||
|} | |} | ||
| | |<nowiki>+10% Attack Damage</nowiki> | ||
+50% Armor Toughness | |||
Mob Difficulty +20% | |||
<u>40% chance</u> for Knockback Enchantment | |||
| | |||
<u>35% chance</u> for Punch Enchantment | |||
|<u>40% chance</u> to spawn a Phantom | |||
+1 Attack Knockback | |||
Max Health Base +6 | |||
| | | | ||
|'''Cave Spider / Spider:''' | |||
* <u>40% chance</u> of {{Stack|effect:Speed}}Speed | |||
'''Creeper:''' | |||
* +40% Knockback Resistance | |||
|- | |- | ||
| | | | ||
Line 448: | Line 580: | ||
|Warm Ocean | |Warm Ocean | ||
|} | |} | ||
|50% chance of depth strider enchantment | |<u>50% chance</u> of depth strider enchantment | ||
| | |'''Drowned:''' | ||
'''Drowned:''' | * +100% Movement Speed | ||
* +10% Armor | |||
+100% Movement Speed | * +75% Armor Toughness | ||
* +2 Attack Damage | |||
* <u>45% chance</u> to spawn a Guardian, thrice | |||
* <u>60% chance</u> to spawn a Drowned, twice | |||
* <u>40% chance</u> to spawn with a Trident | |||
| | | | ||
| | | | ||
Line 493: | Line 618: | ||
Deep Frozen Ocean | Deep Frozen Ocean | ||
|} | |} | ||
| | |<nowiki>-15% Movement Speed</nowiki> | ||
- | +15% Max Health | ||
|Attacks apply {{Stack|effect:Slowness}} Slowness (0:15) | |||
|'''Stray:''' | |||
* {{Stack|effect:Slowness}} Slowness III (0:30) arrows | |||
|'''Cave Spider / Spider:''' | |||
* Attacks apply {{Stack|effect:Slowness}} Slowness (0:15) | |||
'''Creeper:''' | |||
* +30% Max Health | |||
* -10% Movement Speed | |||
'''Phantom:''' | |||
* Attacks apply {{Stack|effect:Slowness}} Slowness (0:15) | |||
'''Slime:''' | |||
* | * Size +1 (up to 3) | ||
|- | |- | ||
| | | | ||
Line 518: | Line 653: | ||
Bamboo Jungle | Bamboo Jungle | ||
|} | |} | ||
| | | | ||
|Attacks apply: | |Attacks apply {{Stack|effect:Weakness}}Weakness and {{Stack|effect:Hunger}}Hunger II (0:15) | ||
|{{Stack|effect:Hunger}}Hunger II, {{Stack|effect:Poison}} Poison and {{Stack|effect:Weakness}}Weakness (0:05) arrows | |||
|'''Cave Spider:''' | |||
* attacks apply {{Stack|effect:Hunger}} Hunger II and {{Stack|effect:Weakness}} Weakness in addition to poison | |||
'''Creeper:''' | |||
* Leaves a cloud of {{Stack|effect:Weakness}} Weakness II, {{Stack|effect:Blindness}} Blindness, {{Stack|effect:Nausea}} Nausea and {{Stack|effect:Hunger}}Hunger II | |||
'''Slime:''' | |||
''' | |||
* {{Stack|effect:Poison}} Poison nearby entities on landing, effect scales with size | |||
| | |||
'''Spider:''' | |||
* spawn 3 Cave Spiders with -3 Max Health | |||
| | |} | ||
effect | {| class="wikitable mw-collapsible mw-collapsed" | ||
! colspan="6" |Biome Specific Mob Modifiers (Nether) | |||
|- | |||
!Biome | |||
!Effect on | |||
Piglin | |||
!Effect on | |||
Zombified Piglin | |||
!Effect on | |||
Skeleton | |||
!Effect on | |||
Magma Cube | |||
!Effect on | |||
Enderman | |||
|- | |||
|Nether Wastes | |||
| | |||
| | |||
| | |||
| | |||
|95% chance to replace with Blaze | |||
|- | |||
|Soul Sand Valley | |||
| | |||
| | |||
|{{Stack|effect:Fire Resistance}}Fire Resistance | |||
| | |||
|90% chance to replace with Wither Skeleton | |||
|- | |||
|Crimson Forest | |||
|Max Health Cap from 18 to 28 | |||
|<u>33% chance</u> to spawn with Gold armor (4x) | |||
| | |||
| | |||
| | |||
|- | |||
|Warped Forest | |||
| | |||
| | |||
| +35% Max Health | |||
-6% Movement Speed | |||
+3 Attack Damage | |||
spawn without bow | |||
| | |||
|33% chance to replace with 3 Skeletons | |||
|- | |||
|Basalt Deltas | |||
| | |||
| | |||
| | |||
|Size +1 (up to 3) | |||
+15% Attack Damage | |||
| | | | ||
|} | |} | ||
Line 559: | Line 744: | ||
|Updated for 1.20 | |Updated for 1.20 | ||
Module is no longer experimental | Module is no longer experimental | ||
|- | |||
|1.20.4 | |||
|25 Jan 2024 | |||
|Updated for 1.20.4 | |||
Introduced the Difficulty Update | |||
|} | |} | ||
==Previous Versions== | ==Previous Versions== | ||
===MC 1.19 Version=== | |||
=== MC 1.20.2 Version === | |||
In the 1.20 version Difficulty was calculated in a much simpler way, ranging from 1-10, going up by one for every Minecraft day a player survived. | |||
The 1.20.4 Difficulty Update reworked almost all of how mob stats were calculated to provide a smoother and slower increase in difficulty while making it easier to balance. | |||
Unidentified items were also removed after this version, instead items are "identified" as soon as they drop.. | |||
=== MC 1.19 Version === | |||
Many Modifiers have been significantly changed or completely replaced since the original 1.19 version. As the 1.19 version of the module was an experimental version there is no easy upgrade path to 1.20. | Many Modifiers have been significantly changed or completely replaced since the original 1.19 version. As the 1.19 version of the module was an experimental version there is no easy upgrade path to 1.20. | ||
(username removed)