Dragons Revamped
这是我尝试重做末影龙战斗的模组。原版战斗非常简单且无趣,因此本模组旨在解决这一问题。
艰苦战斗的开始...
功能概览
– 程序生成的自定义末地水晶柱
– 更大的竞技场
– 随参与战斗玩家数量增加而提升的生命值
– 整体移动速度加快
– 5 种不同的攻击方式
– 末影水晶重生
– 生命值降至 50% 时触发事件
– 自定义小 Boss
– 高度可配置
对抗冲锋的有效策略
攻击方式
冲锋
末影龙会选择一名随机玩家并快速向其冲锋,造成极高的伤害和击退效果。
一头末影龙向毫无防备的玩家发起冲锋
火球
飞向一座随机的外岛,并向玩家快速发射爆炸性的末影龙火球。火球会留下末影龙吐息。
此攻击不会连续出现两次。
末影龙准备进行火球攻击
闪电
飞至高空位置,在几秒钟的预警后,对所有暴露在外(未处于遮蔽物下)的玩家造成毁灭性的真实伤害。
此攻击不会连续出现两次。
玩家被闪电击中(简单难度!)
狂暴冲锋
以比普通冲锋更快的速度,在短时间内多次向附近的玩家发起冲锋。
此攻击不会连续出现两次。
在被末影龙冲锋后缓慢坠入虚空……
吐息攻击
俯冲至玩家附近较低的 Y 轴高度,并喷出一串末影龙吐息。
此攻击不会连续出现两次。
末影龙执行其吐息攻击
水晶守护小 Boss
一只极具威慑力的生物
生命值:40.0
护甲:2/4 下界合金甲,保护 IV
跟随范围:196.0m
坐骑生命值:70.0
坐骑护甲:下界合金马铠
坐骑速度:非常快
坐骑步高:3.0m
该小 Boss 每隔几分钟生成一次,具体取决于参与战斗的玩家数量,并锁定 Y 轴最高的玩家作为目标。
骷髅会根据其与目标的距离切换使用弓、长矛和剑。它的马匹非常迅速,可以攀爬高达 3 格的墙壁,这意味着它可以在几秒钟内爬上末地水晶柱。
一颗不可破坏的末影水晶环绕着它,直到它被击杀,随后水晶会在 2 秒后爆炸。末影龙可以从这颗水晶中恢复生命。
在其周围 12 格范围内的末影水晶将免疫伤害。
一种没有马匹的变体在末影龙生命值降至一半后生成于末地水晶上。它们会射击正在攀爬其末地水晶柱的玩家,并在受到损伤时从水晶上跳开。
一只守护着末地水晶的水晶守护者
其他功能
– 超量治疗在末影龙长时间未受到伤害后激活
– 末影龙吐息赋予末影人力量 II 和速度 II 增益效果
– 末影龙吐息会销毁物品
– 爆头造成双倍伤害
– 免疫“一循环杀”(即单 tick 内多次伤害判定),单次伤害最高为 200
– 保护附魔的效果降低
– 末影龙不再拥有伤害无敌帧,因此高频攻击变得有效
– 移除末影龙战斗迷雾
– 末影龙栖息概率降低
– 基岩燃烧灵魂之火而非普通火焰
– 自定义末影龙死亡消息
– 末影珍珠生成末影螨的概率提高
配置
配置文件生成于 config/dragons-revamped.json,并在每次世界或服务器启动时重新加载。以下是默认设置。注释仅用于解释说明,因为 JSON 文件无法包含注释。所有文本均使用 MiniMessage 格式。
{
// 战斗平衡所针对的玩家数量。几乎会影响所有数值
"playerCount": 1,
// 末影龙的自定义名称
"dragonName": "<light_purple>Ender Dragon</light_purple>",
"dragon": {
// 覆盖缩放后的生命值
"healthOverride": null,
// 宽限期,让玩家能够登上末地岛而不会被击落
"gracePeriodSeconds": 15,
// 龙移动速度倍率
"speedMultiplier": 0.8,
// 冲撞攻击的速度倍率
"diveSpeedMultiplier": 1.0,
// 单次命中造成的伤害上限
"limitMaxDamagePerHit": true,
"maxDamagePerHit": 200.0
},
"healing": {
// 龙通过水晶恢复生命值的速率倍率
"crystalHealRate": 1.0,
// 超频治疗:如果长时间未受到伤害,龙将极速恢复生命值
"hyperHeal": true,
// 超频治疗的速率倍率
"hyperHealRate": 1.0
},
"crystals": {
// 被摧毁的末影水晶重生速度
"respawnRate": 1.0,
// 剩余水晶数量低于此值时开始重生
"respawnThreshold": 7,
// 首次摧毁水晶时对龙造成的伤害
"initialDamage": 50.0,
// 重生后的水晶被摧毁时对龙造成的伤害
"respawnedDamage": 30.0
},
"crystalProtectors": {
// 同时存在的守护者最大数量,默认为玩家数量的平方根向上取整
"maxAlive": null,
// 生成频率
"spawnRate": 1.0,
// 守护末影水晶的数量(在半血事件期间)
"amountOnCrystals": 2
},
"damage": {
// 不同难度下龙头和翅膀接触造成的伤害。和平难度使用简单难度的数值
"headContact": { "easy": 9.0, "normal": 16.0, "hard": 24.0 },
"wingContact": { "easy": 6.5, "normal": 11.0, "hard": 16.5 },
// 闪电攻击造成的真实伤害
"lightning": { "easy": 6.75, "normal": 11.5, "hard": 17.25 },
// 保护附魔对头部和翅膀撞击伤害的减免效果。
// 1.0 为原版数值,0.0 表示忽略保护附魔
"protectionEffectiveness": 0.5
},
"misc": {
// 移除战斗期间的黑暗雾气
"disableFog": true,
// 龙的呼吸是否会腐蚀地上的物品
"dragonBreathErodesItems": true,
// 龙存活期间末影珍珠生成末影螨的概率(原版为 0.05)
"endermiteChance": 0.5
},
"messages": {
// 占位符:
// <player> (玩家名称)
// <dragon> (龙名称)
// <count> (剩余水晶数量)
// <health> (龙/守护者的剩余生命值)
// 死亡消息
"lightningKill": "<player> 被 <dragon> 雷击击杀",
"bodyKill": "<player> 被 <dragon> 身体撞穿",
// 当龙生命值降至一半时发送
"rageAnnouncement": "<dark_purple>[<dragon>]</dark_purple> <white>我最强大的士兵已抵达,这将终结这场战斗!</white>",
// 水晶重生时的消息
"crystalRespawned": "<light_purple>一个末影水晶已重生!</light_purple>",
// 守护者生成时的消息
"protectorJoined": "<dark_purple>一名水晶守护者加入了战斗!</dark_purple>",
// 攻击由守护者守护的水晶时的动作栏提示
"crystalIsProtected": "<light_purple>该水晶由附近的水晶守护者守护!</light_purple>",
// 显示剩余水晶数量的动作栏提示
"crystalsRemaining": "<dark_purple>✦ 剩余水晶: <count></dark_purple>",
// 击中龙后的动作栏提示
"dragonHealth": "<red>❤ 龙生命值: <health></red>",
// 击中水晶守护者后的动作栏提示
"protectorHealth": "<dark_aqua>❤ 守护者生命值: <health></dark_aqua>"
}
}
技巧与窍门
推荐装备:
– 满级下界合金/钻石盔甲
– 一把附魔了抢夺 III 的强力剑(用于获取珍珠)
– 附魔了力量 V 的弓以及若干组箭矢(或无限附魔)
– 一把附魔了冲刺 III 的长矛
– 一把附魔了密度(用于在栖息时造成高额伤害)的重锤
– 一把快速镐子
– 大量的不死图腾
– 若干组末影珍珠
– 若干组方块
– 若干组风之充能
– 2+ 组营养食物
– 金苹果用于紧急治疗
– 鞘翅(配合火箭)如果有条件的话
**–一些缓慢下落药水
躲在方块下方以避免闪电攻击。在困难模式下,这会造成 8.5 颗心的真实伤害,因此躲避绝对值得。
龙的速度极快,因此从高处射击比在地面更容易。但请准备好在被击飞时使用末影珍珠。
杀死水晶守护者在后,准备好奔跑或使用珍珠离开,因为水晶将在 2 秒后爆炸。
缓慢下落药水通常很有用,但如果被击飞到离岛非常远的地方,你可以结合使用缓慢下落药水和冲刺长矛来回到末影珍珠的投掷范围内。
将难度切换为简单或普通,或者调整配置,并不丢人。这场战斗的设计初衷就是极具挑战性。
安装说明
需要 Fabric API 和 Fabric Language Kotlin。
自定义的末地尖刺仅在没有玩家进入过的末地维度中生成。
如果你希望重置你的末地以添加此模组,请在关闭世界时删除你世界的 dimensions/minecraft/the_end 文件夹。
对于服务器,请在配置中将 playerCount 设置为参与战斗的玩家数量。
未来计划
– 支持更多版本
开发者信息
这是项目的早期版本。
欢迎贡献。
备注
如果能附上链接作为致谢,我们将不胜感激。不过这并不是强制要求。
Dragons Revamped
This is my attempt at reworking the Ender Dragon Fight. The vanilla fight is very easy and uninteresting, so this mod aims to fix that.
The beginning of a grueling fight...
Feature Summary
– Procedurally generated custom end spikes
– Bigger Arena
– Increased health that scales with the number of fighting players
– Faster overall movement
– 5 different attacks
– Respawning end crystals
– Event upon reaching 50% health
– A custom miniboss
– Highly configurable
A good strategy to counter the charges
Attacks
Charge
The dragon chooses a random player and quickly charges at them, dealing very high damage and knockback.
A dragon charging at an unprepared player
Fireballs
Flies towards a random outpost and rapidly shoots at players with explosive dragon fireballs. The fireballs leave behind dragon's breath.
This attack can't happen twice in a row.
The dragon preparing its fireball attack
Lightning
Flies to a high location, then after a few seconds of warning, strikes all exposed players with devastating true damage.
This attack can't happen twice in a row.
The player getting struck by lightning (easy difficulty!)
Enraged Charge
Charges at nearby players multiple times in quick succession, at an even faster speed than normal charges.
This attack can't happen twice in a row.
Slowly falling into the void after getting charged at by a dragon...
Breath Attack
Dives towards a lower Y-level near a player, and breathes a trail of dragon's breath.
This attack can't happen twice in a row.
The dragon performing its breath attack
Crystal Protector Miniboss
A very menacing creature
Health: 40.0
Armor: 2/4 Netherite, Protection IV
Follow Range: 196.0m
Mount Health: 70.0
Mount Armor: Netherite Horse Armor
Mount Speed: Very Fast
Mount Step Height: 3.0m
This miniboss spawns once every few minutes, depending on the amount of fighting players, and targets the player with the highest Y-level.
The skeleton switches between a bow, a spear and a sword depending on its distance to its target. Its horse is pretty fast and can run up walls up to 3 blocks tall, meaning it can scale an end spike in a matter of seconds.
An indestructible end crystal orbits it until it gets killed, after which the crystal explodes after 2 seconds. The dragon can heal from this crystal.
End crystals within a 12-block radius of it become immune to damage.
A variant of this without a horse spawns on the end crystals after the dragon reaches half health. They shoot at players climbing up their end spike, and jump off their crystal when damaged.
A crystal protector guarding an end crystal
Other Features
– Hyper heal activates after dragon isn't damaged for a long time
– Dragon's breath buffs endermen with strength II and speed II
– Dragon's breath destroys items
– Headshots do 2x damage
– Immune to one-cycling, and a single hit deals at most 200 damage
– Effectiveness of the protection enchantment is reduced
– Dragon no longer has damage invincibility, so spamming becomes effective
– Dragon fight fog removed
– Dragon has a lower chance of perching
– Bedrock burns soul fire instead of fire
– Custom dragon death messages
– Higher chance of endermites appearing from ender pearls
Configuration
The config is generated at config/dragons-revamped.json and reloaded whenever a world or server starts. These are the defaults. The comments are only here for explanation, since JSON files can't contain comments. All text uses MiniMessage formatting.
{
// How many players the fight is balanced for. Scales basically everything
"playerCount": 1,
// The dragon's custom name
"dragonName": "<light_purple>Ender Dragon</light_purple>",
"dragon": {
// Overrides the scaled health
"healthOverride": null,
// Grace period so players can get onto the end island without being knocked off
"gracePeriodSeconds": 15,
// Dragon movement speed multiplier
"speedMultiplier": 0.8,
// Speed multiplier for its charge attacks
"diveSpeedMultiplier": 1.0,
// How much damage one single hit can do
"limitMaxDamagePerHit": true,
"maxDamagePerHit": 200.0
},
"healing": {
// Multiplier for how fast the dragon heals from crystals
"crystalHealRate": 1.0,
// Hyper heal makes the dragon heal super fast if it's not damaged for a long time
"hyperHeal": true,
// Multiplier for hyper heal
"hyperHealRate": 1.0
},
"crystals": {
// How fast destroyed end crystals respawn
"respawnRate": 1.0,
// Amount of crystals remaining for respawns to start
"respawnThreshold": 7,
// How much damage the first crystals do to the dragon when destroyed
"initialDamage": 50.0,
// How much damage respawned crystals do to the dragon when destroyed
"respawnedDamage": 30.0
},
"crystalProtectors": {
// Maximum amount of crystal protectors alive at once, default is the square root of playerCount, rounded up
"maxAlive": null,
// How often they spawn
"spawnRate": 1.0,
// How many spawn guarding end crystals (during half health event)
"amountOnCrystals": 2
},
"damage": {
// Damage from the dragon's head and wings for each difficulty. Peaceful uses easy
"headContact": { "easy": 9.0, "normal": 16.0, "hard": 24.0 },
"wingContact": { "easy": 6.5, "normal": 11.0, "hard": 16.5 },
// True damage from the Lightning attack
"lightning": { "easy": 6.75, "normal": 11.5, "hard": 17.25 },
// How much the Protection enchantment counts against head and wing hits.
// 1.0 is the vanilla amount, 0.0 ignores protection
"protectionEffectiveness": 0.5
},
"misc": {
// Removes the dark fog during the fight
"disableFog": true,
// Whether the dragon's breath destroys items on the ground
"dragonBreathErodesItems": true,
// Chance for an ender pearl to spawn an endermite while the dragon is alive (vanilla is 0.05)
"endermiteChance": 0.5
},
"messages": {
// Placeholders:
// <player> (player name)
// <dragon> (dragon name)
// <count> (remaining crystals)
// <health> (remaining health of dragon/protector)
// Death messages
"lightningKill": "<player> was struck down by <dragon>",
"bodyKill": "<player> got run through by <dragon>",
// Sent when the dragon reaches half health.
"rageAnnouncement": "<dark_purple>[<dragon>]</dark_purple> <white>My strongest soldiers have arrived to end this battle!</white>",
// Message when a crystal respawns
"crystalRespawned": "<light_purple>An End Crystal has respawned!</light_purple>",
// Message when a crystal protector spawns
"protectorJoined": "<dark_purple>A Crystal Protector joins the battle!</dark_purple>",
// Action bar when hitting a crystal guarded by protector
"crystalIsProtected": "<light_purple>This crystal is guarded by a nearby Crystal Protector!</light_purple>",
// Action bar showing how many crystals are left
"crystalsRemaining": "<dark_purple>✦ Crystals Remaining: <count></dark_purple>",
// Action bar after hitting a dragon
"dragonHealth": "<red>❤ Dragon Health: <health></red>",
// Action bar after hitting a crystal protector
"protectorHealth": "<dark_aqua>❤ Protector Health: <health></dark_aqua>"
}
}
Tips & Tricks
Recommended gear:
– Maxed out netherite/diamond armor
– A strong sword with looting III (for pearls)
– Bow with power V and several stacks of arrows (or infinity)
– A spear with lunge III
– A mace with density (for good damage during perch)
– A fast pickaxe
– Many totems of undying
– Several stacks of ender pearls
– Several stacks of blocks
– Several stacks of wind charges
– 2+ stacks of nutritious food
– Golden apples for emergency healing
– Elytra (with rockets) if you have one
– Some potions of slow falling
Hide under blocks to avoid the lightning attack. On hard mode this does 8.5 hearts of true damage, so it's definitely worth dodging.
The dragon is extremely fast, so shooting it from an elevated point is easier than from the ground. Just be ready to ender pearl if you get hit off.
Be ready to run/pearl away from a Crystal Protector after you kill it, since you only have 2 seconds before the crystal explodes.
Slow falling is useful in general, but if you get hit off the island absurdly far, you can use slow falling + lunge spear to get you back within pearling range.
There's no shame in switching the difficulty to easy or normal, or adjusting the config. The fight was designed to be extremely difficult.
Installation Notes
Requires Fabric API and Fabric Language Kotlin.
The custom end spikes are only generated in an end that no player has entered yet.
If you wish to reset your end to add this mod, delete the dimensions/minecraft/the_end folder of your world while it's closed.
For servers, set playerCount in the config to the number of players that will be fighting the dragon.
Future Plans
– Support more versions
For Developers
This is a very early version of the project.
Contributions are welcome.
Notes
Credit in the form of a link would be appreciated. Not required though.
评论 0
登录后参与评分
还没有评论,来抢沙发吧