Can't land full-strength attacks on low-health mobs with certain maxed-out swords
James103 opened this issue ยท 0 comments
As of All the Mods 9 version 0.2.46, when attacking low-health mobs with certain maxed-out swords, the attack always fails to land at full strength regardless of the time elapsed since last attack. This results in critical hits and sweeps being disabled against such mobs, increasing the time to kill them all if there are a lot.
To test:
- Paste the attached command into a command block, then activate it.
- Find or summon a small slime or another mob with less than 10 HP.
- Try to attack the mob using the sword from step 1; the current behavior makes the attack hit at zero strength (as if one tried to attack, missed, then immediately landed a hit in the same or next tick).
give @p allthemodium:unobtainium_sword{RepairCost: 1, affix_data: {gems: [{id: "apotheosis:gem", Count: 1b, tag: {affix_data: {rarity: "apotheosis:ancient"}, gem: "apotheosis:the_end/endersurge"}}, {id: "apotheosis:gem", Count: 1b, tag: {affix_data: {rarity: "apotheosis:ancient"}, gem: "apotheosis:core/splendor", uuids: [[I; -642101178, 2101955156, -1711166865, -2126521220]]}}, {id: "apotheosis:gem", Count: 1b, tag: {affix_data: {rarity: "apotheosis:ancient"}, gem: "apotheosis:core/splendor", uuids: [[I; -1525059206, 783696681, -2114833745, -1101087364]]}}, {id: "apotheosis:gem", Count: 1b, tag: {affix_data: {rarity: "apotheosis:ancient"}, gem: "apotheosis:core/splendor", uuids: [[I; -985902223, 1391871268, -1200367325, -151568487]]}}], affixes: {"apotheosis:sword/attribute/spellbreaking": 0.7689382f, "apotheosis:sword/attribute/infernal": 0.41971213f, "apotheosis:sword/attribute/violent": 0.85343444f, "apotheosis:sword/special/festive": 0.94683295f, "apotheosis:sword/mob_effect/sophisticated": 0.96700984f, "apotheosis:sword/attribute/piercing": 0.6372473f, "apotheosis:durable": 0.37f}, name: '{"color":"#ED7014","translate":"misc.apotheosis.affix_name.three","with":[{"translate":"affix.apotheosis:sword/attribute/infernal"},"",{"translate":"affix.apotheosis:sword/special/festive.suffix"}]}', sockets: 4, rarity: "apotheosis:mythic", uuids: [[I; 1849684998, -744930931, -1570513649, -1201680771]]}, Enchantments: [{lvl: 9s, id: "minecraft:sharpness"}, {lvl: 10s, id: "minecraft:smite"}, {lvl: 8s, id: "ensorcellation:vorpal"}, {lvl: 5s, id: "minecraft:knockback"}, {lvl: 5s, id: "minecraft:fire_aspect"}, {lvl: 8s, id: "minecraft:looting"}, {lvl: 9s, id: "reliquary:severing"}, {lvl: 3s, id: "apotheosis:scavenger"}, {lvl: 8s, id: "minecraft:sweeping"}, {lvl: 6s, id: "evilcraft:life_stealing"}, {lvl: 8s, id: "ensorcellation:leech"}, {lvl: 7s, id: "apotheosis:capturing"}, {lvl: 1s, id: "tombstone:soulbound"}]}
Edit: After checking the server logs, when killing named entities, the death message ____ was scorched to death
appears in the log for entities killed with the above sword, which has a trait that makes it deal a small amount of fire damage in addition to regular damage.
[23:44:32] [Server thread/INFO] [minecraft/LivingEntity]: Named entity Slime['Acidic Slime'/112817, l='ServerLevel[M9-2]', x=-89.00, y=253.00, z=-19.27] died: Acidic Slime was scorched to death