Commit d2717eef by 赵国君

minor changes

parent cdf861c3
......@@ -832,11 +832,7 @@ public class ActionUtils {
try{
platformUtils = new PlatformUtils();
//helper.deleteUserData(botId);
idList = platformUtils.queryConditionIdByTypetreeId(parameters.getJSONArray("conditionCategories"));
id2unit = engine.queryUnitsByIdList(idList);
for(Integer id:id2unit.keySet()){
......
......@@ -985,14 +985,15 @@ public class PlotConstructor2 extends ElementConstructor {
String feature = newTerm.getFeature();
feature = feature + ",activate,post::gameQA(" + QA_URL + ")";
newTerm.setFeature(feature);
newTerm.setNextStep(stemStr+"_qa1,"+stemStr+"_qa2");
newTerm.setNextStep("map*,item*,npc*," + stemStr+"_qa1,"+stemStr+"_qa2");
return newTerm;
}
private ConfigTermText createTermExtra1(ConfigTermText term) {
String hPremise = "qa_score::number-Bigger=90";
String featureStr = "match,activate,return-0";
String nextStr = "map*,item*,npc*";
String hPremise = "qa_score::number-BiggerOrEqual=98";
String featureStr = "match,return-0";
//String nextStr = "map*,item*,npc*";
String nextStr = " ";
String knowledgeStr = UNKNOWN_COUNTER_NAME+":+1";
String configName = term.getConfigName()+"_qa1";
ConfigTermText newTerm = new ConfigTermText(" ", hPremise, featureStr, "", nextStr, knowledgeStr);
......@@ -1002,9 +1003,9 @@ public class PlotConstructor2 extends ElementConstructor {
}
private ConfigTermText createTermExtra2(ConfigTermText term) {
String hPremise = "qa_score::number-Smaller=90";
String featureStr = "match,activate";
String nextStr = "map*,item*,npc*";
String hPremise = "qa_score::number-Smaller=98";
String featureStr = "match";
String nextStr = " ";
String configName = term.getConfigName()+"_qa2";
if(term.getFeature().indexOf("activate") != -1) {
nextStr = term.getNextStep() + "," + nextStr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment