mirror of
https://gitlab.com/Dimbreath/turnbasedgamedata.git
synced 2025-05-07 20:46:00 +08:00
96 lines
2.4 KiB
JSON
96 lines
2.4 KiB
JSON
{
|
|
"AIName": "ST_NPCMonster_SmartObject_Test",
|
|
"VariableList": [],
|
|
"DecisionList": [],
|
|
"TransitionTable": [],
|
|
"RootState": {
|
|
"SubStateList": [
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ST_ByOnHit"
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_Main_Wait",
|
|
"Time": -1
|
|
}
|
|
],
|
|
"TransitionList": [
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToType": "TreeSucceed",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ST_ByOnHit",
|
|
"Inverse": true
|
|
}
|
|
}
|
|
],
|
|
"Name": "ControlledState"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"Taunt"
|
|
]
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_Main_Wait",
|
|
"Time": -1
|
|
}
|
|
],
|
|
"TransitionList": [
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToType": "TreeSucceed",
|
|
"TransitionToState": "ControlledState",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"Taunt"
|
|
],
|
|
"Inverse": true
|
|
}
|
|
}
|
|
],
|
|
"Name": "AbnormalState"
|
|
},
|
|
{
|
|
"$type": "RPG.GameCore.StateTreeStateConfig",
|
|
"EnterCondition": {
|
|
"$type": "RPG.GameCore.ST_ByHasBornSmartObject"
|
|
},
|
|
"TaskList": [
|
|
{
|
|
"$type": "RPG.GameCore.ST_Main_PlaySmartObject",
|
|
"ParamType": "BornSmartOjbect",
|
|
"RecordContext": true
|
|
}
|
|
],
|
|
"TransitionList": [
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToState": "ControlledState",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ST_ByOnHit"
|
|
}
|
|
},
|
|
{
|
|
"Trigger": "OnTick",
|
|
"TransitionToState": "AbnormalState",
|
|
"Condition": {
|
|
"$type": "RPG.GameCore.ST_ByHasAbnormalState",
|
|
"States": [
|
|
"Taunt"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"Name": "SOState"
|
|
}
|
|
]
|
|
}
|
|
} |