Skip to content

Commit

Permalink
修复魂符首次放出的女仆不会自动驯服的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ENIACJushi committed Jul 2, 2024
1 parent fbd0ab6 commit 80682a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Docs/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
- 优化弹幕瞄准方向,取目标位置与目标头部连线的中点(若有头)
- 每人持有女仆的上限
- 提供外部数据导入接口

- 参考美西螈制作水下移动
- 利用鹦鹉的骑乘来做女仆的骑乘模式

适配动画
- 初步探索,修改动画,用爱丽丝的模型试验(进行中)
Expand Down
4 changes: 3 additions & 1 deletion TouHouLittleMaid_BP/scripts/src/maid/MaidManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ export class MaidManager{
maid = EntityMaid.spawnRandomMaid(dimension, location);
try{
EntityMaid.Skin.setRandom(maid);
EntityMaid.Owner.set(maid, player);
system.runTimeout(()=>{
EntityMaid.Owner.set(maid, player);
},1)
}
catch{}
}
Expand Down

0 comments on commit 80682a9

Please sign in to comment.