Home · skill · Book_WaterOrbs_Skill2_Recast
Properties
- status
- Done
- nature
- Spell
- duration
- 0.35
- steps
- flags
Referenced by
item (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/atlas_Book_96PX.png",
"size": 96,
"x": 8,
"y": 0
},
"id": "Book_WaterOrbs_Skill2_Recast",
"nature": "Spell",
"texts": {
"refs": {
"ref": "Book_WaterOrbs_Skill2"
},
"name": "Expulse",
"desc": "Throw orbs in the targeted direction, each dealing ::dmg:: to the first enemy encountered."
},
"anim": {
"ref": "CastProjectile",
"startFrame": 5,
"speed": 1.8
},
"duration": 0.35,
"steps": [
{
"on": 14,
"props": {},
"type": 25,
"visuals": {
"fxs": [
{
"set": "Telegraph_Line_Preview",
"props": {
"matchStep": "Shoot"
},
"flags": 24
}
]
},
"range": 40
},
{
"on": 0,
"props": {},
"duration": 0.25,
"type": 3
},
{
"on": 0,
"props": {
"rotation": {
"direction": 1,
"limiter": 0
}
},
"type": 13
},
{
"on": 7,
"props": {},
"id": "Trigger",
"duration": "",
"delay": -0.1
},
{
"on": 2,
"props": {},
"type": 6,
"effects": [
{
"effect": 0,
"scaling": [
{
"ratio": 0.4,
"atb": "Intellect"
},
{
"ratio": 0.4,
"atb": "Faith"
}
],
"flags": 0,
"affinity": "Magic"
}
]
},
{
"on": 13,
"props": {
"projectile": {
"base": "MissileStraight",
"randomSpread": {
"z": 5,
"y": 3
},
"generation": {
"count": 1,
"duration": 0,
"stepLinked": true
},
"speed": 50
}
},
"id": "Shoot",
"type": 7,
"range": 40
}
],
"flags": [
"IgnoreGCD",
"Hidden"
],
"mastery": [],
"props": {},
"vars": {},
"script": "function shouldHighlightSkill() {\n\treturn true;\n}\n\nfunction onStep(s) {\n\tif (s.kind == Steps.Trigger) {\n\t\tvar orbCount = getStatusCount(owner, Skill.Book_WaterOrbs_Orb_Charge);\n\t\tfor (i in 0...orbCount) {\n\t\t\tdelay(i * 0.15, () -> {\n\t\t\t\tconsumeStatus(owner, Skill.Book_WaterOrbs_Orb_Charge, 1);\n\t\t\t\tplayStep(Steps.Shoot);\n\t\t\t});\n\t\t}\n\t}\n}\n\nfunction onDamage(dmg) {\n\n}\n\nfunction onProjectileEnd(proj) {\n\tvar waterOrbSkill = owner.getSkill(Skill.Book_WaterOrbs_Skill1);\n\tplayGlobalStep(StepGlobal.Book_WaterOrb_WaterOrb, null, proj.position);\n}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "Book_WaterOrbs",
"via_field": "skills"
}
]
}