FareverDB
?

Phrixes_Phase3Transition

Phrixes_Phase3Transition in Skills
id
Phrixes_Phase3Transition
flags
0
nature
2
script
function onStart(ctx) { //var players = owner.getContextPlayers(); // for(p in players) // addSkillTarget(p.hero); } function onStep(s) { if(s.kind == Steps.Push) { for(t in getAITargets()) { if(!t.isAuth) continue; var elt = getElement(owner, Element.Phrixes_BridgeStart); if(elt != null) { t.setPosition(elt.position); t.rotationZ = elt.rotationZ; } } } if(s.kind == Steps.StartHeaps) { var phrixes = toPhrixes(owner); phrixes?.startHeapsGeneration(); } }
duration
5
Raw data
{
  "id": "Phrixes_Phase3Transition",
  "anim": {
    "file": "Anim/Faerie/Skill/Anim_Faerie_Common_Scream.fbx",
    "speed": 0.5
  },
  "vars": {},
  "flags": 0,
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 11,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Chaos_Aura",
            "flags": 12,
            "props": {},
            "space": 0
          }
        ]
      },
      "duration": 2
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.8,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Chaos_Blink_Disappear",
            "props": {},
            "space": 1
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 17,
      "delay": 1,
      "props": {
        "position": {
          "element": "Phrixes_ArenaCenter"
        }
      },
      "visuals": {
        "fxs": [
          {
            "set": "Chaos_Blink_Appear",
            "props": {},
            "space": 1
          }
        ]
      }
    },
    {
      "on": 0,
      "type": 11,
      "delay": 1.2,
      "props": {},
      "visuals": {
        "linkFx": {
          "set": "Chaos_Zap"
        }
      },
      "duration": 1
    },
    {
      "on": 0,
      "type": 6,
      "delay": 1.3,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "baseVal": 10,
          "scaling": [],
          "sideEffects": {
            "knockBack": {
              "type": 1,
              "pushForce": -50,
              "knockUpForce": 10
            }
          }
        }
      ]
    },
    {
      "on": 1,
      "type": 1,
      "props": {
        "status": {
          "ref": "Stun"
        }
      },
      "duration": 8
    },
    {
      "id": "Scream",
      "on": 0,
      "type": 11,
      "delay": 2.4,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "HiveChampion_Eclosion",
            "props": {},
            "scale": 2,
            "space": 0,
            "attachName": "Socket_FaerieScreech"
          }
        ]
      }
    },
    {
      "id": "Push",
      "on": 0,
      "delay": 2.8,
      "props": {}
    },
    {
      "id": "StartHeaps",
      "on": 0,
      "delay": 3.5,
      "props": {}
    },
    {
      "on": 9,
      "type": 16,
      "props": {
        "targetSkill": "Phrixes_EternalNight"
      }
    }
  ],
  "texts": {},
  "nature": 2,
  "script": "function onStart(ctx) {\n\t//var players = owner.getContextPlayers();\n\t// for(p in players)\n\t// \taddSkillTarget(p.hero);\n}\n\nfunction onStep(s) {\n\tif(s.kind == Steps.Push) {\n\t\tfor(t in getAITargets()) {\n\t\t\tif(!t.isAuth)\n\t\t\t\tcontinue;\n\t\t\tvar elt = getElement(owner, Element.Phrixes_BridgeStart);\n\t\t\tif(elt != null) {\n\t\t\t\tt.setPosition(elt.position);\n\t\t\t\tt.rotationZ = elt.rotationZ;\n\t\t\t}\n\t\t}\n\t}\n\tif(s.kind == Steps.StartHeaps) {\n\t\tvar phrixes = toPhrixes(owner);\n\t\tphrixes?.startHeapsGeneration();\n\t}\n}",
  "aiProps": {
    "noCast": true
  },
  "mastery": [],
  "duration": 5
}