Ghost

Game resources

Monster Common AlertControl

game_resourceIntrinsic/flexbuffers-json/Monster_Common_AlertControl

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Monster_Common_AlertControl.json
data
{
  "Modifiers": {
    "Modifier_RBLUp": {
      "OnAdded": [
        {
          "Tag": "Monster_ExitBattle_RBL_Up",
          "$type": "SetRBLOffsetAction",
          "Target": "Self",
          "RBLOffset": 2
        }
      ],
      "Duration": -1,
      "OnRemoved": [
        {
          "Tag": "Monster_ExitBattle_RBL_Up",
          "$type": "UnsetRBLOffsetAction",
          "Target": "Self"
        }
      ],
      "ModifierStacking": "Unique"
    },
    "Modifier_RecoverHP_DecreaseStun": {
      "Duration": -1,
      "ModifierMixins": [
        {
          "$type": "SmoothRecoverHPMixin",
          "IgnoreRatio": true,
          "PropertyItem": {
            "Percentage": 0.05,
            "PropertyType": "MaxHP",
            "PropertyModifyFunction": "Add"
          }
        },
        {
          "$type": "SmoothChangePropertyMixin",
          "PropertyItems": [
            {
              "Percentage": -0.05,
              "PropertyType": "CurStun",
              "PropertyModifyFunction": "Add"
            }
          ]
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Monster_Common_AlertControl",
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnEnterBattleStateChange": [
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByEnterBattleStateChange",
            "State": "EnterBattle",
            "ChangeType": "Enter"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SendEventToViewObjectAction",
            "EventName": "MonsterEnterBattle"
          },
          {
            "$type": "SetAnimCtrlerParamAction",
            "Target": "Self",
            "ParamName": "Trigger_InBattle",
            "ParamType": 1
          },
          {
            "$type": "RemoveModifier",
            "ModifierName": "Modifier_RBLUp"
          },
          {
            "$type": "RemoveModifier",
            "ModifierName": "Modifier_RecoverHP_DecreaseStun"
          },
          {
            "$type": "HandleAnimatorZoneTagsAction",
            "IsAdd": true,
            "AnimatorStateTags": [
              "Alert_EnterBattleState"
            ]
          },
          {
            "$type": "TriggerSoundAction",
            "Target": "Self",
            "soundActionKey": "SA_Vo_Monster_SandBox_CombatIn"
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByEnterBattleStateChange",
            "State": "EnterBattle",
            "ChangeType": "Exit"
          }
        ],
        "SuccessActions": [
          {
            "$type": "SendEventToViewObjectAction",
            "EventName": "MonsterExitBattle"
          },
          {
            "$type": "ApplyModifier",
            "ModifierName": "Modifier_RBLUp"
          },
          {
            "$type": "ApplyModifier",
            "Predicates": [
              {
                "$type": "ByNot",
                "Predicates": [
                  {
                    "Tags": [
                      "BlockExitBattleRecoverHP"
                    ],
                    "$type": "ByIsInZoneTags",
                    "Target": "Self"
                  }
                ]
              }
            ],
            "ModifierName": "Modifier_RecoverHP_DecreaseStun"
          },
          {
            "$type": "HandleAnimatorZoneTagsAction",
            "IsAdd": false,
            "AnimatorStateTags": [
              "Alert_EnterBattleState"
            ]
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByEnterBattleStateChange",
            "State": "Idle",
            "ChangeType": "Enter"
          }
        ],
        "SuccessActions": [
          {
            "$type": "HandleAnimatorZoneTagsAction",
            "IsAdd": true,
            "AnimatorStateTags": [
              "Alert_IdleState"
            ]
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByEnterBattleStateChange",
            "State": "Idle",
            "ChangeType": "Exit"
          }
        ],
        "SuccessActions": [
          {
            "$type": "HandleAnimatorZoneTagsAction",
            "IsAdd": false,
            "AnimatorStateTags": [
              "Alert_IdleState"
            ]
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByEnterBattleStateChange",
            "State": "ExitBattle",
            "ChangeType": "Enter"
          }
        ],
        "SuccessActions": [
          {
            "$type": "HandleAnimatorZoneTagsAction",
            "IsAdd": true,
            "AnimatorStateTags": [
              "Alert_ExitBattleState"
            ]
          }
        ]
      },
      {
        "$type": "BranchOperator",
        "Conditions": [
          {
            "$type": "ByEnterBattleStateChange",
            "State": "ExitBattle",
            "ChangeType": "Exit"
          }
        ],
        "SuccessActions": [
          {
            "$type": "HandleAnimatorZoneTagsAction",
            "IsAdd": false,
            "AnimatorStateTags": [
              "Alert_ExitBattleState"
            ]
          }
        ]
      }
    ]
  }
}
format
json
displayName
Monster_Common_AlertControl