mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-29 13:17:21 +00:00
Format code [skip actions]
This commit is contained in:
parent
762e7ae301
commit
86036682d7
@ -1,10 +1,10 @@
|
|||||||
package emu.grasscutter.game.quest.content;
|
package emu.grasscutter.game.quest.content;
|
||||||
|
|
||||||
|
import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_FINISH_PLOT;
|
||||||
|
|
||||||
import emu.grasscutter.data.excels.quest.QuestData;
|
import emu.grasscutter.data.excels.quest.QuestData;
|
||||||
import emu.grasscutter.game.quest.*;
|
import emu.grasscutter.game.quest.*;
|
||||||
|
|
||||||
import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_FINISH_PLOT;
|
|
||||||
|
|
||||||
@QuestValueContent(QUEST_CONTENT_FINISH_PLOT)
|
@QuestValueContent(QUEST_CONTENT_FINISH_PLOT)
|
||||||
public class ContentFinishPlot extends BaseContent {
|
public class ContentFinishPlot extends BaseContent {
|
||||||
@Override
|
@Override
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package emu.grasscutter.game.quest.content;
|
package emu.grasscutter.game.quest.content;
|
||||||
|
|
||||||
|
import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_NOT_FINISH_PLOT;
|
||||||
|
|
||||||
import emu.grasscutter.data.excels.quest.QuestData;
|
import emu.grasscutter.data.excels.quest.QuestData;
|
||||||
import emu.grasscutter.game.quest.*;
|
import emu.grasscutter.game.quest.*;
|
||||||
|
|
||||||
import static emu.grasscutter.game.quest.enums.QuestContent.QUEST_CONTENT_NOT_FINISH_PLOT;
|
|
||||||
|
|
||||||
@QuestValueContent(QUEST_CONTENT_NOT_FINISH_PLOT)
|
@QuestValueContent(QUEST_CONTENT_NOT_FINISH_PLOT)
|
||||||
public class ContentNotFinishPlot extends BaseContent {
|
public class ContentNotFinishPlot extends BaseContent {
|
||||||
@Override
|
@Override
|
||||||
@ -13,6 +13,6 @@ public class ContentNotFinishPlot extends BaseContent {
|
|||||||
var talkData = quest.getMainQuest().getTalks().get(params[0]);
|
var talkData = quest.getMainQuest().getTalks().get(params[0]);
|
||||||
var subQuest = quest.getMainQuest().getChildQuestById(params[0]);
|
var subQuest = quest.getMainQuest().getChildQuestById(params[0]);
|
||||||
return (talkData == null && subQuest != null || condition.getParamStr().equals(paramStr))
|
return (talkData == null && subQuest != null || condition.getParamStr().equals(paramStr))
|
||||||
&& condition.getParam()[0] == params[0];
|
&& condition.getParam()[0] == params[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user