diff --git a/app/src/main/java/io/github/lazyimmortal/sesame/model/task/antForest/AntForestV2.java b/app/src/main/java/io/github/lazyimmortal/sesame/model/task/antForest/AntForestV2.java index 14abae70b..1f0bd0ac4 100644 --- a/app/src/main/java/io/github/lazyimmortal/sesame/model/task/antForest/AntForestV2.java +++ b/app/src/main/java/io/github/lazyimmortal/sesame/model/task/antForest/AntForestV2.java @@ -146,6 +146,7 @@ public class AntForestV2 extends ModelTask { private BooleanModelField greenLife; private BooleanModelField combineAnimalPiece; private BooleanModelField consumeAnimalProp; + private BooleanModelField sequenceAnimalProp; private SelectModelField whoYouWantToGiveTo; private BooleanModelField ecoLife; private SelectModelField ecoLifeOptions; @@ -213,6 +214,7 @@ public ModelFields getFields() { modelFields.addField(userPatrol = new BooleanModelField("userPatrol", "保护地巡护", false)); modelFields.addField(combineAnimalPiece = new BooleanModelField("combineAnimalPiece", "合成动物碎片", false)); modelFields.addField(consumeAnimalProp = new BooleanModelField("consumeAnimalProp", "派遣动物伙伴", false)); + modelFields.addField(sequenceAnimalProp = new BooleanModelField("sequenceAnimalProp", "动物伙伴顺序", false)); modelFields.addField(receiveForestTaskAward = new BooleanModelField("receiveForestTaskAward", "森林任务", false)); modelFields.addField(collectGiftBox = new BooleanModelField("collectGiftBox", "领取礼盒", false)); modelFields.addField(medicalHealth = new BooleanModelField("medicalHealth", "医疗健康", false)); @@ -2106,6 +2108,9 @@ private void queryAnimalPropList() { animalProp = jo; } } + if (sequenceAnimalProp.getValue()) { + animalProp = animalProps.getJSONObject(0); + } consumeAnimalProp(animalProp); } catch (Throwable t) { Log.i(TAG, "queryAnimalPropList err:"); @@ -2754,4 +2759,4 @@ public interface UsePropType { String[] nickNames = {"关闭", "所有道具", "限时道具"}; } -} \ No newline at end of file +}