Home · skill · Bow_Craft_Passive
Your Attack have an 0.08 chance to reset the cooldown of Aimed Shot.
Properties
- status
- Done
- type
- WeaponPassive
- nature
- Passive
Referenced by
item (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/atlas_weapon_Bow_96PX.png",
"size": 48,
"x": 10,
"y": 0,
"width": 2,
"height": 2
},
"id": "Bow_Craft_Passive",
"type": "WeaponPassive",
"nature": "Passive",
"texts": {
"name": "Deadeye Focus",
"desc": "Your [Attack] have an ::chance:: chance to reset the cooldown of ::ref2_name::.",
"refs": {
"ref": "Bow_Craft_Passive_Status",
"ref2": "Bow_Craft_Skill1"
},
"rankDescs": [
{
"rank": 2,
"desc": "Chance to trigger increased to ::chance::.",
"flags": 1
},
{
"rank": 3,
"desc": "Increases the damage of your next ::ref2_name:: by ::ref_var1%::.",
"flags": 0
}
]
},
"anim": {},
"steps": [],
"flags": [],
"mastery": [],
"props": {
"rankOverride": [
{
"minRank": 2,
"vars": {
"chance": 0.12
}
}
]
},
"vars": {
"chance": 0.08
},
"script": "function onInflictDamage(dmg) {\n\tif( dmg.isBaseAttack && checkProba(vars.chance) ) {\n\t\tresetCooldown(Skill.Bow_Craft_Skill1);\n\t\tif( rank >= 3 ) {\n\t\t\taddStatus(owner, Skill.Bow_Craft_Passive_Status);\n\t\t}\n\t}\n}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "Bow_Craft",
"via_field": "skills"
}
]
}