Ghost

Game resources

Level Stealth TurnInPlace ByEvent

game_resourceIntrinsic/flexbuffers-json/Level_Stealth_TurnInPlace_ByEvent

Properties

3
Source evidence
Path
Intrinsic/flexbuffers-json/Level_Stealth_TurnInPlace_ByEvent.json
data
{
  "Modifiers": {
    "TurnInPlace_Left_Modifier": {
      "OnAdded": [
        {
          "$type": "ApplyLogicMoveAction",
          "Target": "Self",
          "RotationConfig": {
            "$type": "ConfigRotationSimple",
            "Duration": -1,
            "CoordinateType": "Local",
            "AngleAcceleration": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "InitAngleVelocity": {
              "x": 0,
              "y": -180,
              "z": 0
            }
          }
        }
      ],
      "Duration": -1,
      "DelayHandlers": [
        {
          "DelayTime": "%AS_TurnDurationSec",
          "TimeUpActions": [
            {
              "$type": "RemoveModifier",
              "Target": "Self",
              "ModifierName": "TurnInPlace_Left_Modifier"
            }
          ],
          "IgnoreTimeScale": false
        }
      ],
      "ModifierStacking": "Unique"
    },
    "TurnInPlace_Right_Modifier": {
      "OnAdded": [
        {
          "$type": "ApplyLogicMoveAction",
          "Target": "Self",
          "RotationConfig": {
            "$type": "ConfigRotationSimple",
            "Duration": -1,
            "CoordinateType": "Local",
            "AngleAcceleration": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "InitAngleVelocity": {
              "x": 0,
              "y": 180,
              "z": 0
            }
          }
        }
      ],
      "Duration": -1,
      "DelayHandlers": [
        {
          "DelayTime": "%AS_TurnDurationSec",
          "TimeUpActions": [
            {
              "$type": "RemoveModifier",
              "Target": "Self",
              "ModifierName": "TurnInPlace_Right_Modifier"
            }
          ],
          "IgnoreTimeScale": false
        }
      ],
      "ModifierStacking": "Unique"
    }
  },
  "AbilityName": "Level_Stealth_TurnInPlace_ByEvent",
  "AbilitySpecials": {
    "AS_TurnAbsDeg": {
      "Value": 0
    },
    "AS_TurnAngleDeg": {
      "Value": 0
    },
    "AS_TurnDurationSec": {
      "Value": 0
    },
    "AS_TurnSpeedDegPerSec": {
      "Value": 180
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "ModifierStacking": "Unique",
    "OnCustomEventReceived": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": false,
        "ParamName": "AS_TurnAbsDeg",
        "ValueType": "Float",
        "Expression": "max(specials(AS_TurnAngleDeg),-specials(AS_TurnAngleDeg))",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StartTurnInPlace"
          }
        ]
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "DoRefresh": false,
        "ParamName": "AS_TurnDurationSec",
        "ValueType": "Float",
        "Expression": "specials(AS_TurnAbsDeg)/max(1,specials(AS_TurnSpeedDegPerSec))",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StartTurnInPlace"
          }
        ]
      },
      {
        "$type": "RemoveModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StartTurnInPlace"
          }
        ],
        "ModifierName": "TurnInPlace_Left_Modifier"
      },
      {
        "$type": "RemoveModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StartTurnInPlace"
          }
        ],
        "ModifierName": "TurnInPlace_Right_Modifier"
      },
      {
        "$type": "RemoveModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StopTurn"
          }
        ],
        "ModifierName": "TurnInPlace_Left_Modifier"
      },
      {
        "$type": "RemoveModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StopTurn"
          }
        ],
        "ModifierName": "TurnInPlace_Right_Modifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StartTurnInPlace"
          },
          {
            "$type": "ByAbilitySpecial",
            "Param": 0,
            "Target": "Self",
            "ParamName": "AS_TurnAngleDeg",
            "ParamType": "Float",
            "CompareType": "Greater"
          }
        ],
        "ModifierName": "TurnInPlace_Left_Modifier"
      },
      {
        "$type": "ApplyModifier",
        "Target": "Self",
        "Predicates": [
          {
            "$type": "ByCustomEvent",
            "EventKey": "AbilityEvent_StartTurnInPlace"
          },
          {
            "$type": "ByAbilitySpecial",
            "Param": 0,
            "Target": "Self",
            "ParamName": "AS_TurnAngleDeg",
            "ParamType": "Float",
            "CompareType": "Less"
          }
        ],
        "ModifierName": "TurnInPlace_Right_Modifier"
      }
    ]
  }
}
format
json
displayName
Level_Stealth_TurnInPlace_ByEvent