Skip to content

Commit

Permalink
feat: Combat Custom Action
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Oct 9, 2023
1 parent 14a5e6c commit f3ed5e2
Showing 1 changed file with 391 additions and 0 deletions.
391 changes: 391 additions & 0 deletions assets/resource/pipeline/combat/combat.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,391 @@
{
"$schema": "../../pipeline.schema.json",
"CombatForward": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
149,
466,
6,
7
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatBackward": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
149,
684,
6,
7
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatLeft": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
36,
572,
7,
6
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatRight": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
261,
572,
7,
6
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatLeftForward": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
70,
493,
5,
5
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatRightForward": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
229,
493,
5,
5
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatLeftBackward": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
70,
652,
5,
5
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatRightBackward": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Swipe",
"begin": [
127,
550,
50,
50
],
"end": [
229,
652,
5,
5
],
"duration": 500,
"pre_delay": 0,
"post_delay": 50
},
"CombatBasicATK": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
1146,
606,
82,
64
],
"pre_delay": 0,
"post_delay": 200
},
"CombatBasicATKCharge": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "BasicATKChargeBase",
"pre_delay": 0,
"post_delay": 100
},
"CombatEvade": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
971,
608,
79,
62
],
"pre_delay": 0,
"post_delay": 150
},
"CombatUltimate": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
1145,
424,
82,
74
],
"pre_delay": 0,
"post_delay": 150
},
"CombatUltimateCharge": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Custom",
"custom_action": "UltimateChargeBase",
"pre_delay": 0,
"post_delay": 100
},
"CombatWeaponSkill": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
977,
444,
69,
64
],
"pre_delay": 0,
"post_delay": 150
},
"CombatELFSkill": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
857,
515,
63,
53
],
"pre_delay": 0,
"post_delay": 150
},
"CombatExtraSkill": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
980,
294,
64,
49
],
"pre_delay": 0,
"post_delay": 100
},
"CombatQTE1": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
1157,
113,
73,
51
],
"pre_delay": 0,
"post_delay": 150
},
"CombatQTE2": {
"recognition": "TemplateMatch",
"template": "Combat/StopCombat.png",
"roi": [
0,
0,
136,
140
],
"action": "Click",
"target": [
1160,
261,
70,
56
],
"pre_delay": 0,
"post_delay": 150
}
}

0 comments on commit f3ed5e2

Please sign in to comment.