MMOItem 即死技能:12 秒内取消或击杀目标生物
MMOItem 即死技能:12 秒内取消或击杀目标生物
使用 MMOItem 设计一个即死技能,需要在 12 秒内取消,否则将会杀死指定生物。以下提供 6.8.1 版本的 MMOItem 配置和 5.1.0 版本的 MythicMobs 配置。
MMOItem 6.8.1 版本配置
# Item Lore
lore:
- '&7使用后取消即死技能,'
- '&7否则将会杀死指定生物。'
# Item Options
options:
trigger:
type: right_click_air
cooldown: 60
message: '&a技能冷却完成!'
skills:
instant_death:
display_name: '&c即死技能'
description: '&7使用后需要在 12 秒内取消,否则将会杀死指定生物。'
cancel_skill:
type: right_click_air
message: '&a取消即死技能!'
activate_skill:
type: right_click_air
message: '&c即死技能已激活!'
actions:
- wait(12)
- mythicmobs kill %target%
MythicMobs 5.1.0 版本配置
instant_death:
Type: Skill
DisplayName: '&c即死技能'
Description: '&7使用后需要在 12 秒内取消,否则将会杀死指定生物。'
Cooldown: 60s
Actions:
- Message '%player% 使用了即死技能!'
- WaitForCancellation 12s cancel
- Message '%player% 取消了即死技能!'
- ExecuteCommand 'mm kill %target%'
Targets:
- Targeter
原文地址: https://www.cveoy.top/t/topic/nauV 著作权归作者所有。请勿转载和采集!