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
mmoitem设计一个即死技能 需要在12秒内取消 否则杀死指定生物并给我它的681版本的mmoitem配置和510版本的mythicmobs的配置

原文地址: https://www.cveoy.top/t/topic/bGFz 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录