描述
通过 CustomModelData 应用或从特殊 NPC 处获取,为剑(和金斧)添加 9 种“独特”的魔法能力。
_CMD 对应特定魔法的命令为 917+[魔法编号 - 1]
特性
奥术商人
每 10 分钟,一名奥术商人会在主世界出生点附近的地表随机位置生成。该商人出售一把附魔了随机魔法的随机武器(剑或金斧)。
一旦奥术商人生成,聊天栏会广播一条消息。
武器售价 10 个绿宝石加上一组固定数量的钻石(见下表)
| 武器 |
钻石 |
| 木剑 |
15 |
| 金剑 |
25 |
| 铁剑 |
30 |
| 钻石剑 |
50 |
| 下界合金剑 |
64 |
双持
当你的主手持有有效物品(剑、金斧、三叉戟)时,副手中的武器也会生效其魔法效果
魔法
1. 火焰

击中实体后使其燃烧 50 刻(2.5 秒)(无视方块阻挡),并造成 1.3 倍伤害(除非攻击者处于冻结状态)。
若未格挡,给予目标缓慢效果持续 60 刻(3 秒)。
在实体燃烧期间完全禁用闪电。
2. 霜冻

给予被击中实体 80 刻冻结时间(4 秒),并造成 1.15 倍伤害。
此魔法会使其他某些魔法无法造成额外伤害或禁用其效果。
3. 传送

将实体向上传送 0.5 格。剑的使用者用剑击中实体的次数越多,实体被传送得越高。
最多累积 5 次命中,之后重置。
4. 雷电

对实体造成审判伤害,造成 1.5 倍伤害。
如果攻击者拥有冻结或燃烧效果,则仅造成 1.2 倍伤害。
5. 鲜血

根据对实体造成的伤害量,回复攻击者部分生命值。
如果攻击者处于冻结状态,造成的伤害减少 1.15 倍(即变为原来的约 1/1.15)。
damage_healed = damage/2.5
6. 剧毒

即使攻击被格挡,也给予被击中实体中毒效果持续 20 刻(1 秒)。
如果攻击者自身拥有中毒效果,施加给目标的中毒效果强度等级为 5 而非通常的 2。
如果被击中实体本身已拥有中毒效果,则会获得恶心效果持续 40 刻(2 秒)。
此次攻击造成的伤害减少 1.15 倍(即变为原来的约 1/1.15)。
7. 暗影

将被击中实体传送至距离攻击者 7 格范围内的随机位置,并给予其失明效果持续 60 刻(3 秒)。
同时使攻击者发光持续 15 刻(0.75 秒)。
如果攻击被格挡,此效果仅给予失明。
此次攻击造成的伤害减少 1.15 倍(即变为原来的约 1/1.15)。
8. 大地

将距离攻击者 3 格内的实体击退。
如果攻击被格挡,实体受到的击退力度减小。
此次攻击造成的伤害减少 1.15 倍(即变为原来的约 1/1.15)。
9. 风

将距离攻击者 5 格内的实体拉向攻击者。
如果攻击被格挡,实体受到的拉力减小。
此效果可以将实体拉过攻击者的头顶。
此次攻击造成的伤害减少 1.15 倍(即变为原来的约 1/1.15)。
图标来自 game-icons.net,采用 CC-BY 3.0 许可协议
Description
Adds 9 "unique" magic abilities that can be applied to swords (and golden axes) using CustomModelData or acquired through a special NPC.
CMD for specific magics is 917+[Number of magic - 1]
Features
Arcane Trader
Every 10 minutes, an Arcane Trader spawns at a random position on the surface near spawn in the overworld. This trader sells a random sword (or a golden axe) imbued with a random magic.
Once an Arcane Trader spawns, a message is broadcast in chat.
Weapons cost 10 emeralds and a set price in diamonds (see table below)
| Weapon |
Diamonds |
| Wooden Sword |
15 |
| Golden Sword |
25 |
| Iron Sword |
30 |
| Diamond Sword |
50 |
| Netherite Sword |
64 |
Dual Wielding
Holding a valid item (sword, golden axe, trident) in your main hand also applies the magic of the weapon in your offhand
Magic
1. Flame

Sets the entity hit on fire for 50 ticks (2.5 seconds) (disregarding block) and deals 1.3x damage (unless the attacker is frozen).
If not blocked, gives slowness for 60 ticks (3 seconds).
Disables lightning completely whilst they're on fire.
2. Frost

Gives the entity hit 80 freeze ticks (4 seconds) and deals 1.15x damage.
This magic makes some magics not deal extra damage/disables their effects.
3. Teleport

Teleports the entity up 0.5 blocks. The more the sword wielder hits entities with sword, the higher it is teleported.
This scales up to 5 hits, and then is reset.
4. Lightning

Smites the entity, dealing 1.5x damage.
Only deals 1.2x damage if the attacker has freeze or fire ticks.
5. Blood

Heals the attacker a portion of the damage dealt to the entity.
Deals 1.15x less damage if the attacker has freeze ticks.
damage_healed = damage/2.5
6. Poison

Gives the entity hit poison for 20 ticks (1 second), even if the attack was blocked.
If the attacker has the poison effect, the poison given has an amplitude of 5 instead of 2.
If the entity hit has the poison effect, they get nausea for 40 ticks (2 seconds)
The attack deals 1.15x less damage.
7. Shadow

Teleports the entity hit a random location within 7 blocks of the attacker and gives it blindness for 60 ticks (3 seconds).
It also makes the attacker glow for 15 ticks (0.75 seconds)
If the attack was blocked, this only gives blindness.
The attack deals 1.15x less damage.
8. Earth

Launches entities within 3 blocks away from the attacker.
If the attack was blocked, entities are launched less.
The attack deals 1.15x less damage.
9. Wind

Launches entities within 5 blocks towards the attacker.
If the attack was blocked, entities are launched less.
This can launch entities over the attacker.
The attack deals 1.15x less damage.
Icon from game-icons.net licensed under CC-BY 3.0
评论 0
登录后参与评分
还没有评论,来抢沙发吧