Deadeye Focus
Bow_Craft_Passive in SkillsYour [Attack] have an 0.08 chance to reset the cooldown of Aimed Shot.
- id
- Bow_Craft_Passive
- type
- 24
- flags
- 0
- nature
- 5
- script
- function onInflictDamage(dmg) { if( dmg.isBaseAttack && checkProba(vars.chance) ) { resetCooldown(Skill.Bow_Craft_Skill1); if( rank >= 3 ) { addStatus(owner, Skill.Bow_Craft_Passive_Status); } } }
- status
- 2
Raw data
{
"id": "Bow_Craft_Passive",
"gfx": {
"x": 10,
"y": 0,
"file": "UI/icons/atlas_weapon_Bow_96PX.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {},
"type": 24,
"vars": {
"chance": 0.08
},
"flags": 0,
"props": {
"rankOverride": [
{
"vars": {
"chance": 0.12
},
"minRank": 2
}
]
},
"steps": [],
"texts": {
"desc": "Your [Attack] have an ::chance:: chance to reset the cooldown of ::ref2_name::.",
"name": "Deadeye Focus",
"refs": {
"ref": "Bow_Craft_Passive_Status",
"ref2": "Bow_Craft_Skill1"
},
"rankDescs": [
{
"desc": "Chance to trigger increased to ::chance::.",
"rank": 2,
"flags": 1
},
{
"desc": "Increases the damage of your next ::ref2_name:: by ::ref_var1%::.",
"rank": 3,
"flags": 0
}
]
},
"nature": 5,
"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}",
"status": 2,
"mastery": []
}