Ghost

Game resources

Monster TurnBased Common

game_resourceIntrinsic/flexbuffers-json/Monster_TurnBased_Common

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Monster_TurnBased_Common.json
data
{
  "OnAdded": [
    {
      "$type": "SetUIArrowAction",
      "IsVisible": false
    },
    {
      "$type": "HandleAnimatorZoneTagsAction",
      "IsAdd": true,
      "AnimatorStateTags": [
        "TurnBased_Unit"
      ]
    },
    {
      "$type": "HandleAnimatorZoneTagsAction",
      "IsAdd": true,
      "Predicates": [
        {
          "Camp": "TeamGood",
          "$type": "ByCampType"
        }
      ],
      "AnimatorStateTags": [
        "TurnBased_Unit_TeamGood"
      ]
    },
    {
      "$type": "HandleAnimatorZoneTagsAction",
      "IsAdd": true,
      "Predicates": [
        {
          "Camp": "TeamEvil",
          "$type": "ByCampType"
        }
      ],
      "AnimatorStateTags": [
        "TurnBased_Unit_TeamEvil"
      ]
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityName": "Monster_TurnBased_Common_DefensiveActionEvent",
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityName": "Monster_TurnBased_Common_DefensiveActionEffect",
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityName": "Monster_TurnBased_Common_AI_Manager",
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityName": "Monster_TurnBased_Common_TurnOver_Manager",
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityName": "Monster_TurnBased_Common_WindField",
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityID": 22000001,
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityID": 22000002,
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityID": 22000003,
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityID": 22000004,
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityID": 22000005,
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityName": "Monster_TurnBased_CommonBuff_Invincible",
      "IsAutoTrigger": false
    },
    {
      "$type": "ApplyAbilityAction",
      "AbilityName": "Monster_TurnBased_Common_SoundManager",
      "IsAutoTrigger": false
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByOr",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CharacterSize": "Tiny"
            },
            {
              "$type": "ByCharacterSize",
              "CharacterSize": "Small"
            }
          ]
        },
        {
          "$type": "ByNot",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41101
            }
          ]
        },
        {
          "$type": "ByNot",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41102
            }
          ]
        }
      ],
      "SuccessActions": [
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "Camp": "TeamGood",
              "$type": "ByCampType"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": 1.2,
            "OverrideScaleY": 1.2,
            "OverrideScaleZ": 1.2
          },
          "EffectPattern": "Eff_MonsterFantasy_OurSide_01_Ring"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "Camp": "TeamEvil",
              "$type": "ByCampType"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": 1.2,
            "OverrideScaleY": 1.2,
            "OverrideScaleZ": 1.2
          },
          "EffectPattern": "Eff_MonsterFantasy_Baddie_01_Ring"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByOr",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CharacterSize": "Middle"
            },
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41101
            },
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41102
            }
          ]
        },
        {
          "$type": "ByNot",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41111
            }
          ]
        },
        {
          "$type": "ByNot",
          "Predicates": [
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41112
            }
          ]
        }
      ],
      "SuccessActions": [
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "Camp": "TeamGood",
              "$type": "ByCampType"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": 1.8,
            "OverrideScaleY": 1.8,
            "OverrideScaleZ": 1.8
          },
          "EffectPattern": "Eff_MonsterFantasy_OurSide_01_Ring"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "Camp": "TeamEvil",
              "$type": "ByCampType"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": 1.8,
            "OverrideScaleY": 1.8,
            "OverrideScaleZ": 1.8
          },
          "EffectPattern": "Eff_MonsterFantasy_Baddie_01_Ring"
        }
      ]
    },
    {
      "$type": "BranchOperator",
      "Conditions": [
        {
          "$type": "ByOr",
          "Predicates": [
            {
              "$type": "ByCharacterSize",
              "CharacterSize": "Large"
            },
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41111
            },
            {
              "$type": "ByEntityTemplateID",
              "EntityType": "Monster",
              "TemplateID": 41112
            }
          ]
        }
      ],
      "SuccessActions": [
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "Camp": "TeamGood",
              "$type": "ByCampType"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": 3,
            "OverrideScaleY": 3,
            "OverrideScaleZ": 3
          },
          "EffectPattern": "Eff_MonsterFantasy_OurSide_01_Ring"
        },
        {
          "$type": "FireEffect",
          "Predicates": [
            {
              "Camp": "TeamEvil",
              "$type": "ByCampType"
            }
          ],
          "EffectScale": {
            "OverrideScaleX": 3,
            "OverrideScaleY": 3,
            "OverrideScaleZ": 3
          },
          "EffectPattern": "Eff_MonsterFantasy_Baddie_01_Ring"
        }
      ]
    }
  ],
  "AbilityName": "Monster_TurnBased_Common",
  "AbilitySpecials": {
    "AS_AddDamageResist": {
      "Value": 0.2,
      "ValueType": "Float"
    },
    "AS_ReduceDamageResist": {
      "Value": -0.5,
      "ValueType": "Float"
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnHitOther": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByOr",
            "Target": "Target",
            "Predicates": [
              {
                "$type": "ByAnd",
                "Target": "Target",
                "Predicates": [
                  {
                    "Tags": [
                      "Ether"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  },
                  {
                    "Tags": [
                      "Mech"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Target"
                  }
                ]
              },
              {
                "$type": "ByAnd",
                "Target": "Target",
                "Predicates": [
                  {
                    "Tags": [
                      "Bios"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  },
                  {
                    "Tags": [
                      "Ether"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Target"
                  }
                ]
              },
              {
                "$type": "ByAnd",
                "Target": "Target",
                "Predicates": [
                  {
                    "Tags": [
                      "Mech"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  },
                  {
                    "Tags": [
                      "Bios"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Target"
                  }
                ]
              }
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "ModifyAttackDataAction",
            "PropertyKey": "Actor_OverrideDamageElementResistType",
            "PropertyValue": 2
          },
          {
            "$type": "ModifyAttackDataAction",
            "PropertyKey": "Actor_AllDamageResist",
            "PropertyValue": "%AS_ReduceDamageResist"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByOr",
            "Target": "Target",
            "Predicates": [
              {
                "$type": "ByAnd",
                "Target": "Target",
                "Predicates": [
                  {
                    "Tags": [
                      "Ether"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  },
                  {
                    "Tags": [
                      "Bios"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Target"
                  }
                ]
              },
              {
                "$type": "ByAnd",
                "Target": "Target",
                "Predicates": [
                  {
                    "Tags": [
                      "Bios"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  },
                  {
                    "Tags": [
                      "Mech"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Target"
                  }
                ]
              },
              {
                "$type": "ByAnd",
                "Target": "Target",
                "Predicates": [
                  {
                    "Tags": [
                      "Mech"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  },
                  {
                    "Tags": [
                      "Ether"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Target"
                  }
                ]
              }
            ]
          }
        ],
        "SuccessActions": [
          {
            "$type": "ModifyAttackDataAction",
            "PropertyKey": "Actor_OverrideDamageElementResistType",
            "PropertyValue": 3
          },
          {
            "$type": "ModifyAttackDataAction",
            "PropertyKey": "Actor_AllDamageResist",
            "PropertyValue": "%AS_AddDamageResist"
          }
        ]
      }
    ],
    "Properties": {
      "Actor_SPBlinkShow": 0,
      "Actor_EnableLastKill": 1
    },
    "DelayHandlers": [
      {
        "DelayTime": 0.1,
        "TimeUpActions": [
          {
            "$type": "TriggerBehaviorTreeAction",
            "Enable": true
          }
        ]
      }
    ],
    "OnUnitTurnStarted": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "Camp": "TeamEvil",
            "$type": "ByCampType"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SetAttackTargetBySpecificTargetAction",
            "ForceOverride": true,
            "NewLockTarget": "Custom",
            "NewLockTargetCustomKey": "Monster_TurnBased_Near",
            "IgnoreSetAttackTargetCD": true
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "Camp": "TeamGood",
            "$type": "ByCampType"
          }
        ],
        "SuccessActions": []
      }
    ]
  }
}
format
json
displayName
Monster_TurnBased_Common