mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2026-03-05 15:55:55 +08:00
219 lines
6.0 KiB
JSON
219 lines
6.0 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.SetDynamicValueByCharacterCount",
|
|
"DynamicKey": "DarkTeamCount",
|
|
"ReadTargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllDarkTeam"
|
|
},
|
|
"AliveOnly": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SetDynamicValueByCharacterCount",
|
|
"DynamicKey": "DarkTeamStealthCount",
|
|
"ReadTargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "AllDarkTeam"
|
|
},
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByContainBehaviorFlag",
|
|
"TargetType": {
|
|
"$type": "RPG.GameCore.TargetAlias",
|
|
"Alias": "ParamEntity"
|
|
},
|
|
"Flag": "Stealth"
|
|
},
|
|
"AliveOnly": true
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.SetDynamicValue",
|
|
"Value": {
|
|
"IsDynamic": true,
|
|
"PostfixExpr": {
|
|
"OpCodes": "AQABAQAABRABAQIDEQ==",
|
|
"FixedValues": [
|
|
{
|
|
"Value": 2
|
|
}
|
|
],
|
|
"DynamicHashes": [
|
|
-1226284721,
|
|
-961442142,
|
|
902490889
|
|
]
|
|
}
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "StealthCondition"
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.PredicateTaskList",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareDynamicValue",
|
|
"DynamicKey": {
|
|
"Value": "StealthCondition"
|
|
},
|
|
"CompareType": "GreaterEqual",
|
|
"CompareValue": {
|
|
"IsDynamic": false,
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.SetDynamicValue",
|
|
"ContextScope": "TargetEntity",
|
|
"Value": {
|
|
"IsDynamic": false,
|
|
"FixedValue": {
|
|
"Value": 2
|
|
}
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
}
|
|
},
|
|
{
|
|
"$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": {
|
|
"IsDynamic": false,
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
}
|
|
},
|
|
"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": "MMonster_W4_Scholar_01_Stealth"
|
|
}
|
|
},
|
|
"SuccessTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.SetDynamicValue",
|
|
"ContextScope": "TargetEntity",
|
|
"Value": {
|
|
"IsDynamic": false,
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill03"
|
|
}
|
|
],
|
|
"FailedTaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.SetDynamicValue",
|
|
"ContextScope": "TargetEntity",
|
|
"Value": {
|
|
"IsDynamic": false,
|
|
"FixedValue": {
|
|
"Value": 1
|
|
}
|
|
},
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
}
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.UseSkill",
|
|
"SkillName": "Skill02"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ScoreEvaluatorType": "DefaultDSE",
|
|
"Weight": {
|
|
"Value": 0.8
|
|
},
|
|
"ConsiderAxisList": [
|
|
{
|
|
"$type": "RPG.GameCore.CheckPredicateAxis",
|
|
"Predicate": {
|
|
"$type": "RPG.GameCore.ByCompareDynamicValue",
|
|
"DynamicKey": {
|
|
"Value": "AIFlag"
|
|
},
|
|
"ContextScope": "TargetEntity",
|
|
"CompareType": "Equal",
|
|
"CompareValue": {
|
|
"IsDynamic": false,
|
|
"FixedValue": {
|
|
"Value": 2
|
|
}
|
|
}
|
|
},
|
|
"SuccessScore": {
|
|
"Value": 0.5
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |