References
Granted by
Raw data
- type
- Passive
- nature
- Passive
- id
- Enchant_Zealot
raw data
{
"id": "Enchant_Zealot",
"anim": {},
"type": 14,
"vars": {
"chance": 0.3
},
"flags": 0,
"props": {},
"steps": [],
"texts": {
"desc": "Your [Attack]s grant you ::ref_val1:: [CritChanceRating], stacking up to ::ref_stacks:: times.",
"name": "Zealot",
"refs": {
"ref": "Enchant_Zealot_Status"
}
},
"nature": 5,
"script": "function onInflictHit(hit) {\n\tif( hit.isBaseAttack) {\n\t\ttrace(\"1\");\n\t\tif(checkProba(vars.chance)) {\n\t\t\ttrace(\"2\");\n\t\t\taddStatus(owner, Skill.Enchant_Zealot_Status);\n\t\t}\n\t}\n}",
"mastery": []
}