"implement" ContentEnterMyWorld, with debugging information attached

This commit is contained in:
KingRainbow44 2023-05-01 19:42:35 -04:00
parent 1786169782
commit e350cd42f9
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -12,6 +12,8 @@ public class ContentEnterMyWorld extends BaseContent {
@Override @Override
public boolean execute( public boolean execute(
GameQuest quest, QuestData.QuestContentCondition condition, String paramStr, int... params) { GameQuest quest, QuestData.QuestContentCondition condition, String paramStr, int... params) {
return condition.getParam()[0] == params[0]; System.out.printf("ContentEnterMyWorld, QuestData: %s; ExecParams: %s%n",
condition.getParam()[0], params[0]);
return quest.getOwner().getSceneId() == params[0];
} }
} }