Attack
Fields
| Field | Value |
|---|---|
| nodes | [
{
"input": {},
"name": "NodeAll",
"nodes": [
{
"input": {},
"name": "CheckSelfHealth",
"nodes": [],
"type": "NodeCheckSelfHealth",
"weight": 1
},
{
"input": {},
"name": "AttackSelector",
"nodes": [
{
"input": {
"range": 1,
"targetName": "TargetEnemy"
},
"name": "NPCRangeForMelee",
"nodes": [
{
"input": {
"treeId": "attack_melee"
},
"name": "IncludeTree_AttackMelee",
"nodes": [],
"type": "NodeTreeInclude",
"weight": 1
}
],
"type": "NodeCheckIfNPCIsInRange",
"weight": 1
},
{
"input": {
"targetName": "TargetEnemy"
},
"name": "NPCIsInFOVRange",
"nodes": [
{
"input": {},
"name": null,
"nodes": [
{
"input": {
"abilityType": "Offensive",
"targetName": "TargetEnemy",
"usageType": "Cast"
},
"name": "UseCastOffensiveAbility",
"nodes": [],
"type": "NodeUseAbility",
"weight": 1
},
{
"input": {
"abilityType": "Offensive",
"targetName": "TargetEnemy",
"usageType": "RangedWeapon"
},
"name": "UseRangedAbility",
"nodes": [],
"type": "NodeUseAbility",
"weight": 1
},
{
"input": {
"attackType": "Ranged",
"targetName": "TargetEnemy"
},
"name": "RangedAttack",
"nodes": [],
"type": "NodeAttackNPC",
"weight": 1
},
{
"input": {
"targetName": "TargetEnemy"
},
"name": "MoveToEnemy",
"nodes": [],
"type": "NodeMoveToNPC",
"weight": 1
},
{
"input": {
"range": 1,
"targetName": "TargetEnemy"
},
"name": "NPCRangeForMelee_AfterSwitchingTarget",
"nodes": [
{
"input": {
"chancesToBeEmpty": 0,
"dialogueType": "SwitchedTarget"
},
"name": "DialogueSwitchedTarget",
"nodes": [],
"type": "NodeDialogue",
"weight": 1
},
{
"input": {
"treeId": "attack_melee"
},
"name": "IncludeTree_AttackMelee",
"nodes": [],
"type": "NodeTreeInclude",
"weight": 1
}
],
"type": "NodeCheckIfNPCIsInRange",
"weight": 1
}
],
"type": "NodeSelector",
"weight": 1
}
],
"type": "NodeCheckIfNPCIsInRange",
"weight": 1
}
],
"type": "NodeSelector",
"weight": 1
}
],
"type": "NodeAll",
"weight": 1
}
] |