Skip to content

Commit

Permalink
docs: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jul 14, 2024
1 parent 889a635 commit fd18e55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/apis/GameAPI/Player.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ pl.kill();

#### Damage the Player

`pl.hurt(damage,type,source)`

- Parameters:
- damage : `Float`
The amount of damage to deal to the player.
Expand Down
2 changes: 2 additions & 0 deletions docs/apis/GameAPI/Player.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,8 @@

#### 对玩家造成伤害

`pl.hurt(damage,type,source)`

- 参数:
- damage : `Float`
对玩家造成的伤害数值
Expand Down

0 comments on commit fd18e55

Please sign in to comment.