🎉 [精灵]CompanionsPlus v3.0.0 版本已发布 ✨ 点击查看
Skip to content

称号BUFF ​

buff指令相关 ​

/plt buff add [称号ID] [buff类型] [buff属性] (buff描述) (应用位置) → 新增buff /plt buff del [称号ID] → 移除对应称号buff /plt buff edit [BUFF_ID] [buff属性] (buff描述) (应用位置) → 修改对应称号buff

支持的buff类型 ​

  1. potion_effect - 原版药水效果
  2. AttributePlus - AttributePlus插件
  3. SX-Attribute - SX-Attribute插件
  4. AttributeSystem - AttributeSystem插件 (v3.1.0+)
  5. MythicLib - MythicLib插件 (v3.5.3+)

配置示例 ​

AttributePlus配置 ​

/plt buff add 1 attribute_plus 物理伤害:#100

SX-Attribute配置 ​

/plt buff add 1 sx_attribute 攻击力:#100

原版药水效果配置 ​

/plt buff add 1 potion_effect ABSORPTION(伤害吸收) 3 true

AttributeSystem配置 ​

/plt buff add 1 AttributeSystem 物理伤害:#100

MythicLib/MMOItems配置 ​

/plt buff add 1 MythicLib MAX_HEALTH:5 &e生命提升:5

注意:使用#代替空格,新增buff后需要重新佩戴称号生效

应用位置说明 ​

注意不管是佩戴还是收集,必须有使用中的称号才会加载属性

  1. wear 佩戴 对应语言文件在 languages 中的wearTag
  2. collect 收集 对应语言文件在 languages 中的collectTag

佩戴生效

/plt buff add 1 attribute_plus 物理伤害:#100 wear

收集生效

/plt buff add 1 attribute_plus 物理伤害:#100 collect