Skip to content

Commit fd18e55

Browse files
committed
docs: fix docs
1 parent 889a635 commit fd18e55

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/apis/GameAPI/Player.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ pl.kill();
370370

371371
#### Damage the Player
372372

373+
`pl.hurt(damage,type,source)`
374+
373375
- Parameters:
374376
- damage : `Float`
375377
The amount of damage to deal to the player.

docs/apis/GameAPI/Player.zh.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,8 @@
432432

433433
#### 对玩家造成伤害
434434

435+
`pl.hurt(damage,type,source)`
436+
435437
- 参数:
436438
- damage : `Float`
437439
对玩家造成的伤害数值

0 commit comments

Comments
 (0)