FareverDB

Champion Awakening

CleodoraEgg_Cast in Skills
id
CleodoraEgg_Cast
type
11
flags
1
nature
2
script
function onStep(s) { if(isServer && s.kind == Steps.SummonChampion) { var champ = requestSummonFoe(Unit.Cleodora_Champion, owner.position, 0); setAtb(champ, Attribute.Health, owner.health); champ.rotationZ = owner.rotationZ; champ.forceUseSkill(Skill.CleodoraChamp_Spawn); var closestHero = owner.getClosestHero(); requestFoeAggro(champ, closestHero); } }
duration
0.5
Raw data
{
  "id": "CleodoraEgg_Cast",
  "gfx": {
    "x": 36,
    "y": 38,
    "file": "UI/Placeholder/Icons_Resources.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {},
  "type": 11,
  "vars": {},
  "flags": 1,
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 3,
      "props": {
        "castFlags": 8
      },
      "duration": 15
    },
    {
      "id": "SummonChampion",
      "on": 7,
      "props": {},
      "visuals": {
        "fxs": [
          {
            "set": "Honey_AOE_Unit",
            "props": {},
            "space": 1
          }
        ]
      }
    },
    {
      "on": 7,
      "type": 20,
      "delay": 0.05,
      "props": {}
    }
  ],
  "texts": {
    "name": "Champion Awakening"
  },
  "nature": 2,
  "script": "function onStep(s) {\n    if(isServer && s.kind == Steps.SummonChampion) {\n        var champ = requestSummonFoe(Unit.Cleodora_Champion, owner.position, 0);\n        setAtb(champ, Attribute.Health, owner.health);\n        champ.rotationZ = owner.rotationZ;\n        champ.forceUseSkill(Skill.CleodoraChamp_Spawn);\n        var closestHero = owner.getClosestHero();\n        requestFoeAggro(champ, closestHero);\n    }\n}",
  "mastery": [],
  "duration": 0.5
}