Skip to content

update to current version #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zh-cn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

此帮助文档对应插件主版本:**v3.8**

对应 Minecraft 游戏版本:**1.15.2**
对应 Minecraft 游戏版本:**1.16.4**

本帮助文档基于 3.8 版本。对 3.7 及以下版本,可酌情参考部分页面,并结合游戏内帮助使用。

Expand Down
1 change: 1 addition & 0 deletions zh-cn/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
- [安装与配置](installation.md)
- [基础命令](basic-commands.md)
- [制作道具](items-customization.md)
- [模板功能](template.md)
- [入门教程](beginning.md)
- [标记列表](markers.md)
- [触发列表](triggers.md)
Expand Down
10 changes: 5 additions & 5 deletions zh-cn/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
* [Vault](https://www.spigotmc.org/resources/vault.34315/)
* [NyaaCore](https://ci.nyaacat.com/job/NyaaCore/job/1.16/18/artifact/build/libs/NyaaCore-mc1.16.4-8.0.18-shadowed.jar)
* [LangUtils](https://ci.nyaacat.com/job/LanguageUtils/job/1.16/3/artifact/build/libs/LangUtils-mc1.16.1-2.4.3.jar)
* [RPGItems](https://ci.nyaacat.com/job/RPGItems-reloaded/job/1.16/7/artifact/build/libs/RPGItems-mc1.16.1-3.81.16-7-release.jar)
* [RPGItems](https://ci.nyaacat.com/job/RPGItems-reloaded/job/1.16/lastSuccessfulBuild/artifact/build/libs/RPGItems-mc1.16.4-3.8-16-release.jar)

## 1.15.2 - v3.8

- [Vault](https://www.spigotmc.org/resources/vault.34315/)
- [NyaaCore](https://ci.nyaacat.com/job/NyaaCore/367/artifact/build/libs/NyaaCore-mc1.15.2-7.2.367-shadowed.jar)
- [LangUtils](https://ci.nyaacat.com/job/LanguageUtils/25/artifact/build/libs/LangUtils-mc1.15.1-2.3.25.jar)
- [RPGItems](https://ci.nyaacat.com/job/RPGItems-reloaded/job/1.15/107/artifact/build/libs/RPGItems-mc1.15-3.8-107-release.jar)
- [NyaaCore](https://ci.nyaacat.com/job/NyaaCore/job/1.15/lastSuccessfulBuild/artifact/build/libs/NyaaCore-mc1.15-7.2.7-shadowed.jar)
- [LangUtils](https://ci.nyaacat.com/job/LanguageUtils/job/1.15/lastSuccessfulBuild/artifact/build/libs/LangUtils-mc1.15.1-2.3.4.jar)
- [RPGItems](https://ci.nyaacat.com/job/RPGItems-reloaded/job/1.15/lastSuccessfulBuild/artifact/build/libs/RPGItems-mc1.15-3.8-108-release.jar)

## 1.14.4

Expand Down Expand Up @@ -54,7 +54,7 @@
- [EssentialsX](https://www.spigotmc.org/resources/essentialsx.9089)
- [WorldEdit](https://dev.bukkit.org/projects/worldedit)
- [WorldGuard](https://dev.bukkit.org/projects/worldguard)
- [NyaaUtils](https://ci.nyaacat.com/job/NyaaUtils/261/artifact/build/libs/NyaaUtils-mc1.15.1-7.1.261.jar)
- [NyaaUtils](https://ci.nyaacat.com/job/NyaaUtils/job/1.16/lastSuccessfulBuild/artifact/build/libs/NyaaUtils-mc1.16.4-8.0.11.jar)

# 插件设置

Expand Down
7 changes: 4 additions & 3 deletions zh-cn/powers.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
- `requiredContext` 限制技能执行的一个值。
- `requireHurtByEntity` 当触发设置为 `HURT` 或 `HIT_TAKEN` 时,将此值设置为 `true` 可以使仅来自于生物的有源伤害能够触发技能(不包括中毒、凋零、火焰、摔落伤害等)。默认为 `true` 。
- `selectors` 技能选择器,使技能仅对部分实体生效。如需为技能指定选择器,首先使用 `markers` 标记定义一个选择器,并将技能中的 `selectors` 参数设置为选择器的id。
- `setBaseDamage` 设置为 true 时,后续的伤害加成技能将基于此伤害值计算,武器的最终伤害取叠加值。 设置为 false 时,后续的伤害加成技能将基于原伤害值计算,武器的最终伤害取最高值。 默认为 false。

- `setBaseDamage` 设置为 true 时,后续的伤害加成技能将基于此伤害值计算,武器的最终伤害取叠加值。 设置为 `false` 时,后续的伤害加成技能将基于原伤害值计算,武器的最终伤害取最高值。 默认为 `false` 。
- `powerId` 用于模板技能占位符的ID。
- `powerTags` 暂无作用

以下是用来修改一个道具技能的命令:

Expand Down Expand Up @@ -156,7 +157,7 @@
- `firingR` 极坐标R参数
- `firingTheta` 极坐标θ参数
- `firingPhi` 极坐标ρ参数
- `castOff`
- `castOff`

## 取消箭矢(CancelBowArrow)

Expand Down
71 changes: 71 additions & 0 deletions zh-cn/template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# 模板功能(Template)

RPGItems插件具有模板功能,可以更为方便地从一个父道具中制作各类子道具。

## 模板命令

**创建一个父道具作为模板**

```
/rpgitem template create
```

**对子道具应用父道具的属性**

```
/rpgitem template apply
```

**删除指定的模板**

```
/rpgitem template delete
```

## 技能占位符命令

使用命令对父道具中的指定技能的指定参数创建占位符,
创建占位符的技能参数在应用至子道具时不会对子道具的对应技能参数造成修改。

**增加占位符**

```
/rpgitem template placeholder add
```

**列出已设置的占位符**

```
/rpgitem template placeholder list
```

**移除占位符**

```
/rpgitem template placeholder remove
```

## 简易使用方法说明

模板功能的使用并不复杂,这里给出一个简易的使用流程

**1. 为父道具创建模板**

`/rpgitem template create parent_item`

**2. 通过父道具创建一个子道具**

`/rpgitem clone parent_item subitem_1`

**3. 为父道具设置技能占位符(这里以技能ice为例)**

`/rpgitem template placeholder add parent_item ice-0:cooldown`

其中`ice-0`为设定ice技能时默认分配的`powerId`,这个参数可以自定义
`cooldown`为ice技能中的冷却时间参数

**4. 模板应用**

完成占位符设置后,并且在修改子道具的对应的ice技能的`cooldown`后
如果父道具发生了其他参数变化,在使用`/rpgitem template apply parent_item`时
子道具的ice技能中的`cooldown`参数不会发生任何变化