mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2025-05-11 22:45:53 +08:00
529 lines
16 KiB
JSON
529 lines
16 KiB
JSON
{
|
|
"AIName": "WMonster_Template_AI",
|
|
"VariableList": [
|
|
{
|
|
"$type": "RPG.GameCore.AIVariableBool",
|
|
"Value": true,
|
|
"Name": "ForbidClearSkillUseRecord"
|
|
}
|
|
],
|
|
"DecisionList": [
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "UseSkill01",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.SequenceConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.DefineDynamicValue",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "Caster"
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ResetValue": {
|
|
"FixedValue": {
|
|
"Value": 2
|
|
}
|
|
},
|
|
"ContextScope": "TargetEntity"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict"
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict",
|
|
"IndexValue": 1
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict",
|
|
"IndexValue": 2
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
}
|
|
]
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill01"
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill02"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareDynamicValue",
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ContextScope": "TargetEntity",
|
|
"CompareType": "Equal",
|
|
"CompareValue": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "UseSkill05",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.SequenceConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.DefineDynamicValue",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "Caster"
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ResetValue": {
|
|
"FixedValue": {
|
|
"Value": 3
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill05"
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareDynamicValue",
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"CompareType": "Equal",
|
|
"CompareValue": {
|
|
"FixedValue": {
|
|
"Value": 5
|
|
}
|
|
}
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "UseSkill02",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.SequenceConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.DefineDynamicValue",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "Caster"
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ResetValue": {
|
|
"FixedValue": {
|
|
"Value": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation",
|
|
"HighestFirst": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict"
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation",
|
|
"HighestFirst": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict",
|
|
"IndexValue": 1
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation",
|
|
"HighestFirst": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict",
|
|
"IndexValue": 2
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
}
|
|
]
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill02"
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill01"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareDynamicValue",
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"CompareType": "Equal",
|
|
"CompareValue": {
|
|
"FixedValue": {
|
|
"Value": 2
|
|
}
|
|
}
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "UseSkill03",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.SequenceConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByIsContainModifier",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "Caster"
|
|
},
|
|
"ModifierName": {
|
|
"Value": "OneMore"
|
|
}
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByAny",
|
|
"PredicateList": [
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict"
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict",
|
|
"IndexValue": 1
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.ByTargetAliveState",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetSequence",
|
|
"Sequence": [
|
|
{
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllLightTeam"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetSortByFormation"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.TargetIndex",
|
|
"IndexType": "IndexStrict",
|
|
"IndexValue": 2
|
|
}
|
|
]
|
|
},
|
|
"AliveStateMask": "Mask_AliveOnly"
|
|
}
|
|
]
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill01"
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill02"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.DefineDynamicValue",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "Caster"
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ResetValue": {
|
|
"FixedValue": {
|
|
"Value": 4
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.RemoveModifier",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "Caster"
|
|
},
|
|
"ModifierName": {
|
|
"Value": "OneMorePerTurn"
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill03"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareDynamicValue",
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"CompareType": "Equal",
|
|
"CompareValue": {
|
|
"FixedValue": {
|
|
"Value": 3
|
|
}
|
|
}
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.AIDecisionConfig",
|
|
"DecisionName": "UseSkill04",
|
|
"RootTask": {
|
|
"$type": "RPG.GameCore.SequenceConfig",
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.DefineDynamicValue",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "Caster"
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ResetValue": {
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"ContextScope": "TargetEntity"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill04"
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareDynamicValue",
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ContextScope": "TargetEntity",
|
|
"CompareType": "Equal",
|
|
"CompareValue": {
|
|
"FixedValue": {
|
|
"Value": 4
|
|
}
|
|
}
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |