This commit is contained in:
syuilo 2018-08-28 09:16:43 +09:00
parent dd8048d7de
commit 6a0a05ab09

View file

@ -45,6 +45,9 @@ export default class CoreModule implements IModule {
birthFriends.forEach(f => { birthFriends.forEach(f => {
const friend = new Friend(this.ai, { doc: f }); const friend = new Friend(this.ai, { doc: f });
// 親愛度が3以上必要
if (friend.love < 3) return;
const data = friend.getPerModulesData(this); const data = friend.getPerModulesData(this);
if (data.lastBirthdayChecked == today) return; if (data.lastBirthdayChecked == today) return;