Mirror https://github.com/tera-private-mods/auto-pot

Fukki 9e9eb6d8f6 :v лет назад: 8
README.md 81d72d1504 :x лет назад: 8
index.js 9e9eb6d8f6 :v лет назад: 8
manifest.json 9e9eb6d8f6 :v лет назад: 8
module.json eb501b902a :x лет назад: 8

README.md

Autopot

This is same let-me-pot

include slaying mode and reload file function

Commands

start with "autopot" or "pot"

  • pot id [item link] -> Get an item id
  • pot hp -> Enable and Disable auto use hp pot
  • pot mp -> Enable and Disable auto use mp pot *default is always enable
  • pot slaying -> Enable and Disable auto use hp pot with slaying mode
  • pot reload hp -> reload hp.json file
  • pot reload mp -> reload mp.json file
  • pot reload config -> reload config.json file

HP Pot slaying mode only use in combat

Pot will not use when contract, mount, battleground
config.json, hp.json, mp.json will generate after enter the game

Config.json

{
    "enabled": true,  #enable and disable this module
    "hp": false,      #if set true = enable auto HP pot, false = need in game command for enable
    "mp": true,       #if set true = enable auto MP pot, false = need in game command for enable
    "notice": false   #if set true = notice your pot left, false = not notice
}

HP.json

{
    "6552": {                               #Your pot ID
        "name": "Prime Recovery Potable",   #Your pot name for item notice if enable
        "inCombat": true,                   #if true = only use in combat, false = always use ignore combat
        "use_at": 80,                       #set use at with x percent
        "slay_at": 30,                      #set use in slaying mode with x percent
        "cd": 10                            #set pot cooldown x sec
    }
}

MP.json

{
    "6562": {                                   #Your pot ID
        "name": "Prime Replenishment Potable",  #Your pot name for item notice if enable
        "inCombat": false,                      #if true = only use in combat, false = always use ignore combat
        "use_at": 50,                           #set use at with x percent
        "cd": 10                                #set pot cooldown x sec
    }
}

Noted Commit 30

  • added "inCombat" option into hp.json and mp.json for setting only use in combat or not
  • for old user and who is lazy to add it by your self just remove hp.json and mp.json then re-login for new generate
  • Q&A

    Q: my *.json got replace after edit.

    A: check your syntax before save because *.json will replace if system cant read.

    Q: after reload *.json with in game command auto-pot not work.

    A: update your inventory by open it one time or use item one time.

    A: got the error.

    Q: check your proxy and this module has up to date or not.

    *Any problem pls open Issues