mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-20 01:29:54 +02:00
Rework how quest/achievement conditions are handled
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package emu.nebula.game.dating;
|
||||
|
||||
import emu.nebula.data.GameData;
|
||||
import emu.nebula.game.achievement.AchievementCondition;
|
||||
import emu.nebula.game.character.GameCharacter;
|
||||
import emu.nebula.game.player.Player;
|
||||
import emu.nebula.game.player.PlayerManager;
|
||||
@@ -28,8 +27,7 @@ public class DatingManager extends PlayerManager {
|
||||
this.game = new DatingGame(character, data);
|
||||
|
||||
// Trigger quest/achievement
|
||||
this.getPlayer().triggerQuest(QuestCondition.CharactersDatingTotal, 1);
|
||||
this.getPlayer().triggerAchievement(AchievementCondition.CharactersDatingTotal, 1);
|
||||
this.getPlayer().trigger(QuestCondition.CharactersDatingTotal, 1);
|
||||
|
||||
// Success
|
||||
return this.game;
|
||||
|
||||
Reference in New Issue
Block a user