Home · skill · Enchant_FlamingWeapon
Your Attacks have a 0.3 chance to deal ::dmg:: to your target.
Properties
- type
- Passive
- nature
- Passive
- steps
Referenced by
Raw data
{
"id": "Enchant_FlamingWeapon",
"type": "Passive",
"nature": "Passive",
"texts": {
"name": "Flaming Weapon",
"desc": "Your [Attack]s have a ::chance:: chance to deal ::dmg:: to your target."
},
"anim": {},
"steps": [
{
"on": 13,
"props": {},
"id": "Attack",
"type": 0,
"effects": [
{
"effect": 0,
"scaling": [],
"flags": 0,
"affinity": "Magic",
"baseVal": 10
}
],
"visuals": {
"hitFx": "Hit_Fire"
}
}
],
"flags": [],
"mastery": [],
"props": {},
"vars": {
"chance": 0.3
},
"script": "function onInflictHit(hit) {\n\tif( hit.isBaseAttack) {\n\t\tif(checkProba(vars.chance) && hit.skillId != skill.kind) {\n\t\t\tplayStep(Steps.Attack, hit.target);\n\t\t}\n\t}\n}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "FormulaWeaponFlamingWeapon",
"via_field": "skills"
}
]
}