我的世界高版本服主教程合集
常用工具网站常用开服网站高版本插件推荐免费服务端/福利
EcoX 系列使用指导
EcoX 系列使用指导
  • 欢迎
  • 一般配置格式
    • 简绍
    • Yaml 语法学习
    • 自定义附魔
      • 8.x 版本
      • 9.x 版本
      • 10.x 版本
    • EcoX 物品语法学习
    • 数值语法学习
    • 合成配方
    • 教程阅读说明
    • 护身符
      • 5.99.0 版本以前
      • 5.99.0 以后的 5.x 版本
      • 6.x 版本
    • 盔甲
      • 7.106.0 版本以前
    • 物品(武器)
      • 3.101 版本以前
    • 重铸
      • 5.41.0 版本以前
    • 技能与属性
    • 加倍器
    • 宠物
      • 1.26.0 版本以前
    • 职业
    • EcoX 实体语法学习
    • Boss
    • 为什么我的配置报错?
  • 技能系统
    • 一般格式
    • 技能概述
    • 技能列表
      • A
      • B
      • C
      • D
      • E
      • F
      • G
      • H
      • I
      • J
      • K
      • L
      • M
      • P
      • R
      • S
      • T
      • X
    • 通用技能参数
    • 条件列表
      • A
      • B
      • H
      • I
      • O
      • P
      • R
      • S
      • W
    • 通用条件参数
    • 筛选列表
    • 触发器列表
    • 变化列表
    • 变量符
  • 实战训练
    • 实战概述
    • 末影弓
    • 法力值
    • 河豚剑
    • 骷髅祝福
  • 参考资料
由 GitBook 提供支持
在本页
  • regen_multiplier(永久技能)
  • remove_item(触发技能)
  • remove_potion_effect(触发技能)
  • rotate(触发技能)
  • run_chain
  • run_chain_inline(触发技能)
  • run_command(触发技能)
  • run_player_command(触发技能)

这有帮助吗?

  1. 技能系统
  2. 技能列表

R

regen_multiplier(永久技能)

该技能的作用是加倍玩家的回血速度。

- id: regen_multiplier
  args:
    multiplier: 2

其中:

  • args.multiplier:加倍值。

remove_item(触发技能)

该技能的作用是移除玩家背包内的某个物品。

- id: remove_item
  args:
    item: diamond

其中:

  • args.item:给予的物品。按照 物品语法格式:数量 的格式填写,如果数量为1则可以只填写物品语法格式,多个物品之间用空格隔开。

remove_potion_effect(触发技能)

该技能的作用是移除玩家的药水效果。

- id: remove_potion_effect
  args:
    effect: hunger
    apply_to_player: true

rotate(触发技能)

该技能的作用是使得对象旋转。

- id: rotate
  args:
    angle: 180

其中:

  • args.angel:旋转角度。

run_chain

该技能的作用是同时作用多个技能,我们称之为连锁技能。

- id: run_chain
  args:
    run-type: normal
    chain: blind_and_pop

其中:

  • args.run-type:技能作用模式,目前只有 normal。

  • args.chain:连锁技能id。连锁技能可以在 chains.yml 设置。

一个示例 chains.yml 如下:

chains:
  - id: example_chain
    effects:
      - id: teleport
      - id: potion_effect
        args:
          effect: blindness
          level: 3
          duration: 30
          apply_to_player: true
      - id: send_message
        args:
          message: "&f你已被传送!"
          action_bar: true
      - id: play_sound
        args:
          sound: entity_dragon_fireball_explode
          pitch: 1.5
          volume: 4

其中:

  • id:连锁技能的id。

  • effects:连锁技能包含的技能。

run_chain_inline(触发技能)

该技能的作用是同时作用多个技能。

- id: run_chain_inline
  args:
    run-type: normal
    chain:
      effects:
        - id: teleport
        - id: potion_effect
          args:
            effect: blindness
            level: 3
            duration: 30
            apply_to_player: true
        - id: send_message
          args:
            message: "&fYou have been teleported!"
            action_bar: true
        - id: play_sound
          args:
            sound: entity_dragon_fireball_explode
            pitch: 1.5
            volume: 4

其中:

  • args.run-type:技能作用模式,目前只有 normal。

  • args.chain:连锁技能内容,不需要在独立的文件单独设置。

run_command(触发技能)

该技能作用是以控制台身份执行命令。

- id: run_command
  args:
    command: "ban %player%"

其中:

  • args.command:指令。

run_player_command(触发技能)

与上相同,只是以玩家身份执行命令,同时新增如下参数:

  • args.as_op:是否以 OP 身份执行命令。

- id: run_player_command
  args:
    command: "kick %victim% Slapped out of the server" # Supports %player% and %victim% as placeholders (victim will only be used if there is a player as a victim for this effect)
    as_op: true
上一页P下一页S

最后更新于2年前

这有帮助吗?