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