Flammenwaffe
Passiv
Verliehen durch:Magieformel: Flammenwaffe
Deine Attackp haben eine 0.3-Chance, deinem Ziel Magic zuzufügen.
abklingzeit—
dauer—
schritte1
Skalierung
Magic
Verliehen durch
Rohdaten
- type
- Passive
- nature
- Passive
- steps
- 1
- id
- Enchant_FlamingWeapon
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": []
}