All your Magic Damage has a chance to make your next Weapon Skill or Final Combo Attack cost no Spark.
Properties
- status
- Review
- type
- ClassPassive
- nature
- Passive
Raw data
{
"status": "Review",
"gfx": {
"file": "UI/icons/atlas_class_Mage_96PX.png",
"size": 96,
"x": 5,
"y": 1
},
"id": "Mage_Foresight",
"type": "ClassPassive",
"nature": "Passive",
"texts": {
"name": "Foresight",
"desc": "All your [MagicDamage] has a chance to make your next [WeaponSkill] or [ComboAttack] cost no [Spark]."
},
"anim": {},
"steps": [],
"flags": [],
"mastery": [],
"props": {},
"vars": {
"chance": 0.05
},
"script": "function onInflictDamage(dmg) {\n\tif( dmg.isMagic && checkProba(vars.chance) ) {\n\t\taddStatus(owner, Skill.Mage_Foresight_Status);\n\t}\n}"
}