FareverDB

Bouncing Shot

Bow_Craft_Skill2 in Skills

Fires a bouncing arrow at an enemy, dealing 100% Dexterity Physical before jumping to 2 additional nearby enemies.

id
Bow_Craft_Skill2
type
7
flags
0
notes
Par rapport à avant, dead eye focus ne met pas forcément de statut (rank 3)
nature
2
script
function onDamage(dmg) { if( rank >= 2 ) { reduceCooldown(Skill.Bow_Craft_Skill2, vars.dur1); } if( rank >= 3 && dmg.hitCount == vars.var2 ) { addStatus(skill.owner, Skill.Bow_Craft_Passive_Status); } }
status
2
cooldown
10
duration
0.4
Raw data
{
  "id": "Bow_Craft_Skill2",
  "gfx": {
    "x": 8,
    "y": 0,
    "file": "UI/icons/atlas_weapon_Bow_96PX.png",
    "size": 48,
    "width": 2,
    "height": 2
  },
  "anim": {
    "file": "Anim/Human/Bow/Anim_Human_Bow_CastInstant.fbx",
    "blend": 0.05
  },
  "type": 7,
  "vars": {
    "dur1": 2,
    "var1": 2,
    "var2": 3
  },
  "flags": 0,
  "notes": "Par rapport à avant, dead eye focus ne met pas forcément de statut (rank 3)",
  "props": {},
  "steps": [
    {
      "on": 0,
      "type": 8,
      "delay": 0.26,
      "props": {
        "move": {
          "direction": [
            1
          ],
          "dashSmoothing": 1,
          "inputDirection": {
            "mode": 1,
            "relation": 0
          }
        }
      },
      "range": 1,
      "duration": 0.14
    },
    {
      "on": 0,
      "type": 7,
      "delay": 0.28,
      "props": {
        "projectile": {
          "base": "MissileTargetting_Bouncer",
          "scale": 1,
          "speed": 70,
          "target": 0,
          "hitCount": 3
        }
      },
      "range": 40
    },
    {
      "on": 0,
      "type": 11,
      "delay": 0.26,
      "props": {},
      "visuals": {
        "playAnims": [
          {
            "anim": {
              "file": "Anim/Human/Bow/Anim_Human_Bow_CastInstant.fbx",
              "blend": 0.01,
              "startFrame": 9
            }
          }
        ]
      }
    },
    {
      "on": 2,
      "type": 0,
      "props": {},
      "effects": [
        {
          "flags": 0,
          "effect": 0,
          "scaling": [
            {
              "atb": "Dexterity",
              "ratio": 1
            }
          ],
          "affinity": "Physical"
        }
      ]
    }
  ],
  "texts": {
    "desc": "Fires a bouncing arrow at an enemy, dealing ::dmg:: before jumping to ::var1:: additional nearby enemies.",
    "name": "Bouncing Shot",
    "refs": {
      "ref": "Bow_Craft_Passive"
    },
    "rankDescs": [
      {
        "desc": "Each enemy hit reduces the cooldown by ::dur1::.",
        "rank": 2,
        "flags": 0
      },
      {
        "desc": "Hitting ::var2:: enemies triggers the effect of ::ref_name::.",
        "rank": 3,
        "flags": 0
      }
    ]
  },
  "nature": 2,
  "script": "function onDamage(dmg) {\n\tif( rank >= 2 ) {\n\t\treduceCooldown(Skill.Bow_Craft_Skill2, vars.dur1);\n\t}\n\tif( rank >= 3 && dmg.hitCount == vars.var2 ) {\n\t\taddStatus(skill.owner, Skill.Bow_Craft_Passive_Status);\n\t}\n}",
  "status": 2,
  "mastery": [],
  "cooldown": 10,
  "duration": 0.4
}