Weapon Upgraded
Sword_Upgrade in SkillsYour [BasicAttack]s have a 0.04 chance to attack twice.
- id
- Sword_Upgrade
- flags
- 0
- nature
- 5
- script
- function onSkillProc(ctx) { if (ctx.skill?.isBasicAttack() && checkProba(vars.chance)) { ctx.skill.playStep(null, ctx.skill.getExecStep().index, null, null, 0.0); } }
- status
- 4
Raw data
{
"id": "Sword_Upgrade",
"anim": {},
"vars": {
"chance": 0.04
},
"flags": 0,
"props": {
"rankOverride": [
{
"vars": {
"chance": 0.05
},
"minRank": 2
},
{
"vars": {
"chance": 0.06
},
"minRank": 3
},
{
"vars": {
"chance": 0.07
},
"minRank": 4
},
{
"vars": {
"chance": 0.08
},
"minRank": 5
}
]
},
"steps": [],
"texts": {
"desc": "Your [BasicAttack]s have a ::chance:: chance to attack twice.",
"name": "Weapon Upgraded"
},
"nature": 5,
"script": "function onSkillProc(ctx) {\n\tif (ctx.skill?.isBasicAttack() && checkProba(vars.chance)) {\n\t\tctx.skill.playStep(null, ctx.skill.getExecStep().index, null, null, 0.0);\n\t}\n}",
"status": 4,
"mastery": []
}