Home · skill · Sword_Craft_Skill1
Properties
- status
- Done
- type
- Weapon Skill
- nature
- Ability
- cooldown
- 9
- steps
Referenced by
item (1)
Raw data
{
"status": "Done",
"gfx": {
"file": "UI/icons/atlas_weapon_Sword1H_96PX.png",
"size": 96,
"x": 7,
"y": 0
},
"id": "Sword_Craft_Skill1",
"type": "WeaponSkill",
"nature": "Ability",
"texts": {
"name": "Conquer",
"desc": "Spins to deal ::dmg:: to nearby enemies.\n\nBlocking resets the cooldown.",
"rankDescs": [
{
"rank": 2,
"desc": "Damage increased by ::var1%::.",
"flags": 1
},
{
"rank": 3,
"desc": "Increases the damage of your next ::name:: by ::var3%:: after a perfect block.",
"flags": 0
}
]
},
"anim": {
"file": "Anim/Human/OneHanded/Skill/Anim_Human_OneHanded_QuickSpin.fbx",
"blend": 0.1,
"speed": 1
},
"cooldown": 9,
"steps": [
{
"props": {},
"on": 0,
"type": 4,
"range": 4,
"effects": [
{
"affinity": "Physical",
"effect": 0,
"scaling": [
{
"ratio": 1.05,
"atb": "Strength",
"conds": {
"maxRank": 1
}
},
{
"ratio": 1.3125,
"atb": "Strength",
"conds": {
"minRank": 2
}
}
],
"flags": 0
}
],
"duration": 0.35,
"delay": 0.05
}
],
"flags": [],
"mastery": [],
"props": {
"threatRatio": 6
},
"vars": {
"var1": 0.25,
"var3": 0.25
},
"script": "function onGameBeat(beat, hit) {\n\tif( beat == GameBeat.AttackBlock) {\n\t\tresetCooldown(kind);\n\t}\n\tif(rank >= 3 && beat == GameBeat.BlockWellTimed) {\n\t\taddStatus(owner, Skill.Sword_Craft_Skill1_Status);\n\t}\n}\n\nfunction onDamageEval(hit) {\n\tif(rank >= 2) {\n\t\thit.dmgMult += vars.var1;\n\t}\n}\n\nfunction onStart(ctx) {\n\tvar stacks = consumeStatus(owner, Skill.Sword_Craft_Skill1_Status);\n\tif(stacks > 0) {\n\t\tctx.dmgMult += stacks * vars.var3;\n\t}\n}",
"_xrefs": [
{
"from_sheet": "item",
"from_id": "Sword_Craft",
"via_field": "skills"
}
]
}