Home · skill · TeleportationStone
Return to the last Obelisk you set as a Teleportation point.
Properties
- type
- Action
- nature
- Ability
- cooldown
- 60
- steps
- flags
Referenced by
Raw data
{
"id": "TeleportationStone",
"type": "Action",
"nature": "Ability",
"texts": {
"name": "Recall",
"desc": "Return to the last Obelisk you set as a Teleportation point."
},
"anim": {
"ref": "RecallStart"
},
"cooldown": 60,
"steps": [
{
"props": {},
"on": 0,
"type": 3,
"duration": 5
},
{
"on": 0,
"props": {},
"duration": 5,
"type": 11,
"id": "TEMP_FX_CAST",
"visuals": {
"fxs": [
{
"set": "TeleportStone_Lasting",
"props": {},
"space": 0,
"flags": 40
}
]
}
},
{
"on": 0,
"props": {},
"type": 11,
"visuals": {
"fxs": [
{
"set": "TeleportStone_Cast",
"props": {},
"space": 0
}
]
},
"duration": 3
},
{
"on": 0,
"props": {},
"type": 11,
"visuals": {
"playAnims": [
{
"anim": {
"ref": "RecallLoop",
"loop": true,
"blend": 0.1
}
}
]
},
"duration": 3.5,
"delay": 2
},
{
"on": 7,
"props": {},
"type": 11,
"visuals": {
"playAnims": [
{
"anim": {
"ref": "RecallEnd",
"blend": 0.3
}
}
]
},
"delay": -2
},
{
"props": {},
"type": 11,
"on": 7,
"delay": 0,
"visuals": {
"playAnims": [
{
"anim": {
"ref": "RecallEnd",
"blend": 0,
"startFrame": 61
}
}
]
}
},
{
"on": 7,
"props": {},
"type": 18,
"id": "End"
},
{
"on": 7,
"props": {},
"type": 11,
"delay": 0,
"visuals": {
"fxs": [
{
"set": "TeleportStone_End",
"props": {},
"space": 0
}
]
},
"id": "TEMP_FX_LAND"
},
{
"on": 7,
"props": {},
"id": "TEMP_FX_LAND1",
"type": 11,
"visuals": {
"camShake": 50,
"fxs": [
{
"set": "Land_Water_Big",
"props": {},
"space": 1,
"scale": 1.25
}
]
},
"delay": 0.15
}
],
"flags": [
"InterruptOnDamaged"
],
"mastery": [],
"props": {},
"vars": {},
"script": "function onStep(s) {\n if(ownerHero != null && s.kind == Steps.End) {\n\t\tvar loc = switch(skill.getSourceItem()?.kind) {\n\t\t\tcase Item.TeleportationStone: ownerHero.getObelisk();\n\t\t\tcase Item.TPDeathStone: ownerHero.lastDeathLocation;\n\t\t\tdefault: null;\n\t\t}\n\t\tif (loc == null)\n\t\t\tloc = ownerHero.getRespawnPoint();\n\t\townerHero.teleport(loc);\n\t}\n}\n",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "TeleportationStone",
"via_field": "skills"
},
{
"from_sheet": "item",
"from_id": "TPDeathStone",
"via_field": "skills"
}
]
}