Flaming Weapon
Enchant_FlamingWeapon in SkillsYour [Attack]s have a 0.3 chance to deal 10 Magic to your target.
- id
- Enchant_FlamingWeapon
- type
- 14
- flags
- 0
- nature
- 5
- script
- function onInflictHit(hit) { if( hit.isBaseAttack) { if(checkProba(vars.chance) && hit.skillId != skill.kind) { playStep(Steps.Attack, hit.target); } } }
Raw data
{
"id": "Enchant_FlamingWeapon",
"anim": {},
"type": 14,
"vars": {
"chance": 0.3
},
"flags": 0,
"props": {},
"steps": [
{
"id": "Attack",
"on": 13,
"type": 0,
"props": {},
"effects": [
{
"flags": 0,
"effect": 0,
"baseVal": 10,
"scaling": [],
"affinity": "Magic"
}
],
"visuals": {
"hitFx": "Hit_Fire"
}
}
],
"texts": {
"desc": "Your [Attack]s have a ::chance:: chance to deal ::dmg:: to your target.",
"name": "Flaming Weapon"
},
"nature": 5,
"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}",
"mastery": []
}