FareverDB
?

Cheese catapult

MChuck_CheeseCatapult1 in Skills
id
MChuck_CheeseCatapult1
type
11
flags
32
nature
2
script
function onStepTick(s) { if(s.kind == Steps.Throw) { if (isServer) { startSkill(Skill.MChuck_CheeseCatapultArea, getAITarget()); } else { localPlayStep(Steps.CastLoop); } } }
status
4
Raw data
{
  "id": "MChuck_CheeseCatapult1",
  "anim": {},
  "type": 11,
  "vars": {},
  "flags": 32,
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 13,
      "props": {},
      "duration": -1
    },
    {
      "id": "Throw",
      "on": 0,
      "delay": 0.4,
      "props": {
        "loop": {
          "tick": 4,
          "flags": 6
        }
      },
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Imp/MunsterChuck/Anim_Imp_MunsterChuck_CastProjectile.fbx"
            }
          }
        ]
      },
      "duration": -1
    },
    {
      "id": "CastLoop",
      "on": 13,
      "type": 11,
      "delay": 0.6,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Imp/MunsterChuck/Anim_Imp_MunsterChuck_CastLoop.fbx",
              "loop": true
            }
          }
        ]
      }
    }
  ],
  "texts": {
    "name": "Cheese catapult"
  },
  "nature": 2,
  "script": "function onStepTick(s) {\n\tif(s.kind == Steps.Throw) {\n\t\tif (isServer) {\n\t\t\tstartSkill(Skill.MChuck_CheeseCatapultArea, getAITarget());\n\t\t}\n\t\telse {\n\t\t\tlocalPlayStep(Steps.CastLoop);\n\t\t}\n    }\n}",
  "status": 4,
  "aiProps": {
    "targetProfile": [
      0
    ]
  },
  "mastery": []
}