Cheesebane
Daggers_DuplicatePoison_ComboAttack in SkillsStrikes with both weapons, dealing 64% Dexterity Physical to an enemy. Each time one your periodic effects deals damage, you have a 0.5 chance to increase the damage of your next Cheesebane by 10%, stacking up to 100%.
- id
- Daggers_DuplicatePoison_ComboAttack
- type
- 4
- flags
- 0
- nature
- 1
- script
- function onInflictDamageEval(hit) { if (hit.baseSkill.kind == Skill.Daggers_DuplicatePoison_ComboAttack) { hit.dmgMult += owner.getStatusCount(Skill.Daggers_DuplicatePoison_ComboAttack_Status) * vars.var1; if (rank >= 3) { if (hasStatusMaxStacked(owner, Skill.Daggers_DuplicatePoison_ComboAttack_Status)) { owner.doAllSkills(s -> reduceCooldown(s.kind, vars.time)); } } if (hit.hitCount >= 2) { owner.consumeStatus(Skill.Daggers_DuplicatePoison_ComboAttack_Status, 1000); } } } // function onInflictStatus(s) { // if(s.isDoT() && isServer) { // owner.addStatus(Skill.Daggers_DuplicatePoison_ComboAttack_Status); // } // } function onInflictDamage(dmg) { if( checkProba(vars.var1) && dmg.isStatus && dmg.status.isDoT() && isServer) { owner.addStatus(Skill.Daggers_DuplicatePoison_ComboAttack_Status); } }
- status
- 2
Raw data
{
"id": "Daggers_DuplicatePoison_ComboAttack",
"gfx": {
"x": 8,
"y": 0,
"file": "UI/icons/atlas_weapon_Dagger_96PX.png",
"size": 48,
"width": 2,
"height": 2
},
"anim": {
"ref": "AttackCombo",
"blend": 0.1
},
"type": 4,
"vars": {
"time": 3,
"var1": 0.1,
"chance": 0.5
},
"flags": 0,
"props": {
"rankOverride": [
{
"vars": {
"var1": 0.15
},
"minRank": 2
}
]
},
"steps": [
{
"on": 0,
"type": 8,
"delay": 0,
"props": {
"move": {
"direction": [
0
]
}
},
"range": 2,
"duration": 0.2
},
{
"on": 0,
"type": 8,
"delay": 0.3,
"props": {
"move": {
"direction": [
0
]
}
},
"range": 2,
"duration": 0.1
},
{
"on": 0,
"type": 14,
"props": {
"rotation": {
"limiter": 100
}
},
"duration": 0.6
},
{
"on": 0,
"type": 11,
"delay": 0.38,
"props": {},
"visuals": {
"playAnims": [
{
"anim": {
"ref": "AttackCombo",
"blend": 0,
"startFrame": 13
}
}
]
}
},
{
"on": 0,
"type": 0,
"delay": 0.4,
"props": {},
"range": 4,
"effects": [
{
"flags": 0,
"effect": 0,
"scaling": [
{
"atb": "Dexterity",
"ratio": 0.32
}
],
"affinity": "Physical"
}
]
},
{
"on": 0,
"type": 0,
"delay": 0.4,
"props": {},
"range": 4,
"effects": [
{
"flags": 0,
"effect": 0,
"scaling": [
{
"atb": "Dexterity",
"ratio": 0.32
}
],
"affinity": "Physical"
}
]
},
{
"on": 0,
"type": 24,
"delay": 0.7,
"props": {},
"duration": 0.05
}
],
"texts": {
"desc": "Strikes with both weapons, dealing ::dmgs:: to an enemy.\n\nEach time one your periodic effects deals damage, you have a ::chance:: chance to increase the damage of your next ::name:: by ::ref_var1%::, stacking up to ::ref_var2%::.",
"name": "Cheesebane",
"refs": {
"ref": "Daggers_DuplicatePoison_ComboAttack_Status"
},
"rankDescs": [
{
"desc": "Damage bonus increased to ::ref_var1%::, up to ::ref_var2%::.",
"rank": 2,
"flags": 1
},
{
"desc": "At ::ref_stacks:: stacks, your next ::name:: reduces the cooldown of all your [Skill]s by ::time::.",
"rank": 3,
"flags": 0
}
]
},
"nature": 1,
"script": "function onInflictDamageEval(hit) {\n\tif (hit.baseSkill.kind == Skill.Daggers_DuplicatePoison_ComboAttack) {\n\t\thit.dmgMult += owner.getStatusCount(Skill.Daggers_DuplicatePoison_ComboAttack_Status) * vars.var1;\n\t\tif (rank >= 3) {\n\t\t\tif (hasStatusMaxStacked(owner, Skill.Daggers_DuplicatePoison_ComboAttack_Status)) {\n\t\t\t\towner.doAllSkills(s -> reduceCooldown(s.kind, vars.time));\n\t\t\t}\n\t\t}\n\t\tif (hit.hitCount >= 2) {\n\t\t\towner.consumeStatus(Skill.Daggers_DuplicatePoison_ComboAttack_Status, 1000);\n\t\t}\n\t}\n}\n\n// function onInflictStatus(s) {\n// \tif(s.isDoT() && isServer) {\n// \t\towner.addStatus(Skill.Daggers_DuplicatePoison_ComboAttack_Status);\n// \t}\n// }\n\nfunction onInflictDamage(dmg) {\n\tif( checkProba(vars.var1) && dmg.isStatus && dmg.status.isDoT() && isServer) {\n\t\towner.addStatus(Skill.Daggers_DuplicatePoison_ComboAttack_Status);\n\t}\n}",
"status": 2,
"mastery": []
}