Fixed a few problems with homunculus autofeed (#3062)

This commit is contained in:
Lemongrass3110
2018-04-20 19:22:13 +02:00
committed by GitHub
parent 7df4c6b80a
commit 2c68db9faa
5 changed files with 4 additions and 14 deletions

View File

@@ -892,10 +892,6 @@ static int hom_hungry(int tid, unsigned int tick, int id, intptr_t data)
clif_emotion(&hd->bl, ET_OK);
}
if( battle_config.feature_homunculus_autofeed && hd->homunculus.autofeed && hd->homunculus.hunger <= battle_config.feature_homunculus_autofeed_rate ){
hom_food( sd, hd );
}
if (hd->homunculus.hunger < 0) {
hd->homunculus.hunger = 0;
// Delete the homunculus if intimacy <= 100