mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 05:08:00 +00:00
✌️
This commit is contained in:
parent
dd8048d7de
commit
6a0a05ab09
|
@ -45,6 +45,9 @@ export default class CoreModule implements IModule {
|
|||
birthFriends.forEach(f => {
|
||||
const friend = new Friend(this.ai, { doc: f });
|
||||
|
||||
// 親愛度が3以上必要
|
||||
if (friend.love < 3) return;
|
||||
|
||||
const data = friend.getPerModulesData(this);
|
||||
|
||||
if (data.lastBirthdayChecked == today) return;
|
||||
|
|
Loading…
Reference in a new issue