From 6a0a05ab09e7c55ac731a5f470824b6f7c00f0ad Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 28 Aug 2018 09:16:43 +0900 Subject: [PATCH] :v: --- src/modules/core/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index 6737a63..790e833 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -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;