Dmitry S 4 years ago
parent
commit
558a453ddb
7 changed files with 970 additions and 112 deletions
  1. 3 0
      .gitignore
  2. 0 99
      README.md
  3. 412 0
      config.json
  4. 535 0
      debuffData.json
  5. 0 0
      index.js
  6. 11 3
      manifest.json
  7. 9 10
      module.json

+ 3 - 0
.gitignore

@@ -0,0 +1,3 @@
+.eslintrc.json
+manifest-generator.bat
+manifest-generator.js

+ 0 - 99
README.md

@@ -1,6 +1,5 @@
 # Auto-Target
 Auto-Target and finish your skill.</br>
-**Not work in duel mode**</br>
 </br>
 ![](autoTarget.gif)</br>
 # Feature
@@ -19,101 +18,3 @@ Auto-Target and finish your skill.</br>
 - at off            #disable
 - at reload         #reload the config file
 ```
-# Config.json
-```
-    "enabled": true,        #Enable / Disable this module
-    "markTarget": {         #Mark target follow class number
-        "Alliance": {       #read in Job / Class to get the number
-            "0": [],        #0 = red arrow
-            "1": [],        #1 = yellow arrow
-            "2": []         #2 = blue arrow
-        },
-        "Enemy": {
-            "0": [
-                6,
-                7
-            ],
-            "1": [],
-            "2": []
-        }
-    },
-    "skills": {
-        "4": {              #Job / Class
-            "20": {         #skill base id
-                ...         #read in skill info
-            }
-        }
-    }
-```
-# Job / Class
-```
-0 = warrior           7 = mystic
-1 = lancer            8 = reaper
-2 = slayer            9 = gunner
-3 = berserker         10 = brawler
-4 = sorcerer          11 = ninja
-5 = archer            12 = valkyrie
-6 = priest
-```
-# Skill Info
-```
-name: x                 #Skill name *can ignore this because it's only noted
-target: []              #Read in Target Tags*
-type: x                 #Read in Skill Type*
-dist: x                 #Max skill distance
---- only lockon type ---
-maxTarget: x            #Max target skill can lock-on
-lockSpeed: x            #Speed for lock target *if ghost must increase this
-castSpeed: x            #Cast speed for auto cast *if ghost must increase this
-autoCast: true/false    #enable/disable auto cast
---- lock class ---
-lockClass: []           #Lock-on target follow class
-*Used when "enemy-class" and "member-class"
---- npc ---
-lockNpc: []             #Lock-on npc follow format 'Id_HuntingZone'
-*Used when "npc"
---- buff ---
-inBuff: []              #Lock-on follow buff or ignore buff
-*Used when "enemy-inbuff", "enemy-notbuff", "member-inbuff" and "member-notbuff"
---- heal ---
-hpCutoff: x             #Lock-on member lower x percant
-*Used when "member-heal"
-```
-# Skill Type
-```
-lockon                  #yes, you know this is lock-on skill
-projectile              #make projectile run to target *just some skill
-projectile-spoof        #make projectile instant attack *just some skill
-```
-# Target Tags *Priority sort
-```
-boss              #lock only Boss Type
-npc               #lock only NPC
-npc-all           #lock all npc near you *not recommend
-enemy-healer      #lock only enemy healer
-enemy-class       #lock only class in setting
-enemy-inbuff      #lock only enemy got buff
-enemy-notbuff     #lock only enemy not have buff
-enemy-all         #lock all enemy near you
-member-healer     #lock only alliance healer
-member-class      #lock only alliance class in setting
-member-inbuff     #lock only alliance got buff
-member-notbuff    #lock only alliance not have buff
-member-stuck      #lock only alliance in airbone or knockback
-member-clean      #lock only alliance who has debuff
-member-heal       #lock only alliance hp lower
-member-all        #lock all alliance near you
-*Noted:
-enemy = PVP Only, member = party or raid.
-maxTarget is Follow your skill max target and glyph.
-Please decrease and increase maxTarget by your self it's not auto detect.
-```
-# Not working?
-if your skill look like try to spam and can't cast</br>
-goto your SP or PR config and disable that skill you want to auto-cast from this moudule
-
-# Warning
-This module has more effect in PVP and PVE</br>
-So i need to hide my code with encryption</br>
-If you don't trust please leave from this</br>
-P.S. YES IT'S FREE, THIS MODULE SLOW UPDATE BECAUSE I'M SO BUSY

+ 412 - 0
config.json

@@ -0,0 +1,412 @@
+{
+    "enabled": true,
+    "markTarget": {
+        "enabled": false,
+        "Alliance": {
+            "0": [],
+            "1": [],
+            "2": []
+        },
+        "Enemy": {
+            "0": [
+                6,
+                7
+            ],
+            "1": [],
+            "2": []
+        }
+    },
+    "skills": {
+        "4": {
+            "20": {
+                "enabled": true,
+                "name": "Flaming Barrage",
+                "target": [
+                    "enemy-all",
+                    "boss",
+                    "npc",
+                    "enemy-auto"
+                ],
+                "lockNpc": [
+                    "4_5011",
+                    "38_35",
+                    "57_33",
+                    "51_7011",
+                    "10_99",
+                    "52_9050"
+                ],
+                "type": "lockon",
+                "dist": 35,
+                "maxTarget": 1,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "21": {
+                "enabled": true,
+                "name": "Nerve Exhaustion",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "22": {
+                "enabled": true,
+                "name": "Burning Breath",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 1,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "23": {
+                "enabled": true,
+                "name": "Time Gyre",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 3,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            }
+        },
+        "5": {
+            "2": {
+                "enabled": true,
+                "name": "Arrow Volley",
+                "target": [
+                    "enemy-all",
+                    "boss",
+                    "npc",
+                    "enemy-auto"
+                ],
+                "lockNpc": [
+                    "4_5011",
+                    "38_35",
+                    "57_33",
+                    "51_7011",
+                    "10_99",
+                    "52_9050"
+                ],
+                "type": "lockon",
+                "dist": 35,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            }
+        },
+        "6": {
+            "19": {
+                "enabled": true,
+                "name": "Focus Heal",
+                "target": [
+                    "member-heal"
+                ],
+                "type": "lockon",
+                "hpCutoff": 97,
+                "dist": 35,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "30": {
+                "enabled": true,
+                "name": "Plague of Exhaustion",
+                "target": [
+                    "enemy-inbuff",
+                    "enemy-class",
+                    "boss",
+                    "npc",
+                    "enemy-auto"
+                ],
+                "lockNpc": [
+                    "4_5011",
+                    "38_35",
+                    "57_33",
+                    "51_7011",
+                    "10_99",
+                    "52_9050"
+                ],
+                "inBuff": [
+                    10155130,
+                    401705
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "33": {
+                "enabled": true,
+                "name": "Ishara Lullaby",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 1,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "35": {
+                "enabled": true,
+                "name": "Energy Stars",
+                "target": [
+                    "enemy-all",
+                    "boss",
+                    "npc",
+                    "enemy-auto"
+                ],
+                "lockNpc": [
+                    "4_5011",
+                    "38_35",
+                    "57_33",
+                    "51_7011",
+                    "10_99",
+                    "52_9050"
+                ],
+                "type": "lockon",
+                "dist": 25,
+                "maxTarget": 1,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "37": {
+                "enabled": true,
+                "name": "Healing Immersion",
+                "target": [
+                    "member-heal"
+                ],
+                "type": "lockon",
+                "hpCutoff": 97,
+                "dist": 35,
+                "maxTarget": 1,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "41": {
+                "enabled": true,
+                "name": "Divine Vitality",
+                "target": [
+                    "member-stuck"
+                ],
+                "type": "lockon",
+                "dist": 35,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            }
+        },
+        "7": {
+            "5": {
+                "enabled": true,
+                "name": "Titanic Favor",
+                "target": [
+                    "member-heal"
+                ],
+                "type": "lockon",
+                "hpCutoff": 97,
+                "dist": 35,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "9": {
+                "enabled": true,
+                "name": "Arun Cleansing Touch",
+                "target": [
+                    "member-clean"
+                ],
+                "type": "lockon",
+                "dist": 35,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "24": {
+                "enabled": true,
+                "name": "Volley of Curses",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "boss",
+                    "npc",
+                    "enemy-auto"
+                ],
+                "lockNpc": [
+                    "4_5011",
+                    "38_35",
+                    "57_33",
+                    "51_7011",
+                    "10_99",
+                    "52_9050"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "28": {
+                "enabled": true,
+                "name": "Sonorous Dreams",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 1,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "30": {
+                "enabled": true,
+                "name": "Curse of Exhaustion",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "31": {
+                "enabled": true,
+                "name": "Curse of Confusion",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "32": {
+                "enabled": true,
+                "name": "Mire",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "enemy-auto"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 4,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            },
+            "41": {
+                "enabled": true,
+                "name": "Contagion",
+                "target": [
+                    "enemy-class",
+                    "enemy-all",
+                    "boss",
+                    "npc",
+                    "enemy-auto"
+                ],
+                "lockNpc": [
+                    "4_5011",
+                    "38_35",
+                    "57_33",
+                    "51_7011",
+                    "10_99",
+                    "52_9050"
+                ],
+                "lockClass": [
+                    6,
+                    7
+                ],
+                "type": "lockon",
+                "dist": 30,
+                "maxTarget": 1,
+                "lockSpeed": 5,
+                "castSpeed": 10,
+                "autoCast": true
+            }
+        }
+    }
+}

+ 535 - 0
debuffData.json

@@ -0,0 +1,535 @@
+{
+    "debuffList": [
+        203,
+        204,
+        301,
+        901,
+        2090,
+        2100,
+        15164,
+        18805,
+        18806,
+        18816,
+        21090,
+        21200,
+        22030,
+        22090,
+        22100,
+        22130,
+        25120,
+        25160,
+        27160,
+        28080,
+        28090,
+        29050,
+        31020,
+        33100,
+        100300,
+        100530,
+        100700,
+        100904,
+        101001,
+        101220,
+        101400,
+        101900,
+        105303,
+        105304,
+        200100,
+        200202,
+        200232,
+        200302,
+        200352,
+        200400,
+        200701,
+        200800,
+        201103,
+        201200,
+        201400,
+        201401,
+        201799,
+        201800,
+        201801,
+        201802,
+        300201,
+        300400,
+        300700,
+        300900,
+        301030,
+        400200,
+        400623,
+        400801,
+        401704,
+        425103,
+        468046,
+        470015,
+        470016,
+        470020,
+        470022,
+        470024,
+        470026,
+        470030,
+        470034,
+        470036,
+        470040,
+        470041,
+        470042,
+        470044,
+        470050,
+        470052,
+        470053,
+        500200,
+        500500,
+        500727,
+        500802,
+        500900,
+        501026,
+        501101,
+        501151,
+        501323,
+        501400,
+        502027,
+        502028,
+        503022,
+        600300,
+        600400,
+        600502,
+        600702,
+        600800,
+        600927,
+        601001,
+        601200,
+        601301,
+        601311,
+        601610,
+        601611,
+        602201,
+        620000,
+        622001,
+        622002,
+        622003,
+        700501,
+        700820,
+        701002,
+        701003,
+        701004,
+        701005,
+        701007,
+        701008,
+        701012,
+        701101,
+        701202,
+        701320,
+        701330,
+        701331,
+        701332,
+        701421,
+        701604,
+        701606,
+        701728,
+        701828,
+        702012,
+        702201,
+        780103,
+        781005,
+        781010,
+        781011,
+        781012,
+        781032,
+        781033,
+        781053,
+        781083,
+        781085,
+        781087,
+        781088,
+        781099,
+        781109,
+        781110,
+        781111,
+        781114,
+        781116,
+        781117,
+        781118,
+        781127,
+        781132,
+        800304,
+        800800,
+        800927,
+        801202,
+        801550,
+        801901,
+        801920,
+        806020,
+        806022,
+        806023,
+        900100,
+        900110,
+        900200,
+        905604,
+        905605,
+        905606,
+        905616,
+        905620,
+        905631,
+        905636,
+        905637,
+        905649,
+        905655,
+        905656,
+        905676,
+        905678,
+        975603,
+        980008,
+        999993,
+        7819000,
+        7819001,
+        9201001,
+        9201002,
+        9201004,
+        9201005,
+        9201006,
+        9202000,
+        9202001,
+        9202002,
+        9202003,
+        9202004,
+        9203000,
+        9203004,
+        9203006,
+        9203007,
+        9203008,
+        9203009,
+        9203010,
+        9203011,
+        9203012,
+        9203019,
+        9203030,
+        9203037,
+        9203039,
+        9203041,
+        9203048,
+        9203053,
+        9203054,
+        9810018,
+        9943004,
+        10151019,
+        10151032,
+        10151033,
+        10151035,
+        10151060,
+        10151080,
+        10151081,
+        10151093,
+        10151160,
+        10151202,
+        10151211,
+        10151212,
+        10152021,
+        10152030,
+        10152033,
+        10152034,
+        10152052,
+        10152060,
+        10152220,
+        10152221,
+        10152230,
+        10152402,
+        10153020,
+        10153030,
+        10153141,
+        10153142,
+        10153509,
+        10153510,
+        10153552,
+        10154021,
+        10154500,
+        10155040,
+        10155041,
+        10155100,
+        10155140,
+        10155200,
+        10155201,
+        10155202,
+        10155204,
+        10155205,
+        10155206,
+        10155207,
+        10155270,
+        10155290,
+        10155400,
+        10155547,
+        10156001,
+        30000000,
+        30000001,
+        30000013,
+        30000014,
+        30231000,
+        30231001,
+        30231002,
+        30231003,
+        30231004,
+        30232012,
+        30232014,
+        30260001,
+        30260002,
+        30260004,
+        30260005,
+        30260006,
+        30260007,
+        30260008,
+        30260016,
+        30260017,
+        30260021,
+        30260022,
+        30260023,
+        30260024,
+        30260025,
+        30260257,
+        30260258,
+        30261200,
+        30261300,
+        30261601,
+        30261602,
+        30271002,
+        30271005,
+        30271006,
+        30271007,
+        30271008,
+        30271009,
+        30271012,
+        30271013,
+        30271015,
+        30300012,
+        30300013,
+        30302004,
+        30321000,
+        30321001,
+        30321003,
+        30321004,
+        30322012,
+        30411001,
+        30411003,
+        30412001,
+        30412010,
+        30412013,
+        30412014,
+        30412015,
+        30412017,
+        31010011,
+        31010202,
+        31010205,
+        31010220,
+        31010223,
+        31021002,
+        31021004,
+        31021011,
+        31021012,
+        31029000,
+        31029001,
+        31031000,
+        31031001,
+        31031002,
+        31031003,
+        31031004,
+        31031005,
+        31031006,
+        31031007,
+        31031008,
+        31031009,
+        31031010,
+        31031011,
+        31031012,
+        31031013,
+        31031014,
+        31031015,
+        31031016,
+        31031017,
+        31031018,
+        31040001,
+        31040004,
+        31040005,
+        31060003,
+        32010011,
+        32010103,
+        32010104,
+        32010105,
+        32010106,
+        32010107,
+        32010108,
+        32010109,
+        32010110,
+        32010123,
+        32010202,
+        32010205,
+        32010220,
+        32010221,
+        32010222,
+        32010224,
+        32060003,
+        32060006,
+        32060007,
+        32060008,
+        32060009,
+        32060011,
+        32060012,
+        32060014,
+        32060016,
+        32060024,
+        32060026,
+        32060034,
+        32060035,
+        32060036,
+        32060037,
+        32060038,
+        32060039,
+        32060040,
+        32060041,
+        32061013,
+        73502000,
+        73502004,
+        73503001,
+        73503009,
+        73910003,
+        73920001,
+        73920012,
+        73930010,
+        73930011,
+        78100009,
+        78100010,
+        81110405,
+        81110408,
+        81110410,
+        81110502,
+        81112201,
+        81112202,
+        81112203,
+        81112204,
+        81112206,
+        81120002,
+        81120101,
+        81120102,
+        81120103,
+        81120104,
+        81120105,
+        81120106,
+        81120107,
+        81120108,
+        81120109,
+        81120110,
+        81120111,
+        81120112,
+        81120113,
+        81120115,
+        81120311,
+        81120317,
+        81120319,
+        81120320,
+        81121101,
+        81121102,
+        81121104,
+        81121105,
+        81123001,
+        81123004,
+        81123005,
+        81123009,
+        81123010,
+        81123012,
+        81123014,
+        81123015,
+        88128200,
+        88313401,
+        88500010,
+        88500100,
+        88733221,
+        88733225,
+        88733230,
+        88733260,
+        88827220,
+        88829101,
+        88829110,
+        88829201,
+        88829205,
+        89314100,
+        89407101,
+        89407102,
+        93504001,
+        93920004,
+        93920005,
+        93920006,
+        93920007,
+        93920014,
+        93920015,
+        93930001,
+        93930002,
+        93930003,
+        93930004,
+        93930005,
+        93930015,
+        93930017,
+        97000026,
+        97000032,
+        97000046,
+        97000057,
+        97000058,
+        97000059,
+        98200116,
+        98200123,
+        98200130,
+        98200131,
+        98200148,
+        98200149,
+        98200154,
+        98200155,
+        98200156,
+        98200165,
+        98200203,
+        98200204,
+        98200205,
+        98200233,
+        98200234,
+        98200241,
+        98200243,
+        98200248,
+        98200249,
+        98200250,
+        98200252,
+        98200253,
+        98200254,
+        98200255,
+        98200261,
+        98200321,
+        98200354,
+        98200356,
+        98200357,
+        98200358,
+        98200362,
+        98200372,
+        98200376,
+        98200379,
+        98200380,
+        98200386,
+        98200390,
+        99000010,
+        99000030,
+        99000040,
+        99000420,
+        99000440,
+        99000460,
+        99000480,
+        99000530,
+        99000540,
+        99000580,
+        99001000,
+        99001020,
+        99001040,
+        99001060,
+        99001070,
+        99001110,
+        99001200,
+        99001500,
+        99001800,
+        99002410,
+        99002500,
+        99002510,
+        99002520
+    ]
+}

File diff suppressed because it is too large
+ 0 - 0
index.js


+ 11 - 3
manifest.json

@@ -1,5 +1,13 @@
 {
-	"files": {
-		"index.js": "b4ef948af04cab133dd625fa7324a64725bc439c221e85cbf53b3e3e828dd356"
-	}
+    "files": {
+        "README.md": "7efb961342ef8e2d1c83990a536dcf47053b0b155ec5de9e2482f5bbe0df06cc",
+        "autoTarget.gif": "88d24a3c31be53fcc7a91b4bbe5278e16e91dcd7a89c1c6a30202bb6ce357eec",
+        "config.json": {
+            "overwrite": false,
+            "hash": "ed5cce04c54f4b1f17048cc5367eaf8b09523034cc843d33f64cf32b35de405a"
+        },
+        "debuffData.json": "ec7954a6a31b21a5fa4400aad22bf4f37ed0d38c1cc5cbf529bb13a969b96cfd",
+        "index.js": "f245bc3cea3b25a57a517246813fe189d305a47aaaa3e381295f26e84f047f09",
+        "module.json": "e3eabf7c6bea75528abf4226e5ce1689637ead4a4e94f248675081fa1e23ff85"
+    }
 }

+ 9 - 10
module.json

@@ -1,12 +1,11 @@
 {
-	"disableAutoUpdate": false,
-	"name": "Auto Target",
-	"author": "Fukki",
-	"description": "Auto Target and finish your skill.",
-	"version": "Kappa :v",
-	"options": {
-		"niceName": "AT"
-	},
-	"servers": ["https://raw.githubusercontent.com/Fukki/auto-target/master/"],
-	"supportUrl": "https://github.com/Fukki/auto-target/issues/"
+    "disableAutoUpdate": false,
+    "name": "auto-target",
+    "author": "Fukki",
+    "description": "Auto Target and finish your skill.",
+    "version": "Kappa :v",
+    "options": {
+        "niceName": "AT"
+    },
+    "servers": ["https://raw.githubusercontent.com/tera-private-mods/auto-target/master/"]
 }

Some files were not shown because too many files changed in this diff