Git Product home page Git Product logo

destroyer's Introduction

Destroyer

安装方法: 打开压缩文件,将Destroyer文件夹解压进\World of Warcraft_classic_\Interface\AddOns目录下 (不是Destroyer-main文件夹)

用途:魔兽世界自动摧毁物品插件,不在列表中的一切都会被摧毁

注意:如果使用的整合插件为大脚,使用前,请关闭所有插件

添加摧毁物品方法:(右键记事本方式打开Destroyer.lua文件)

--现在是摧毁一切,除了炉石,绿色品质的所有物品。如果,ID物品为[23117],[23077]的物品也不会被删除
--设置保留所有等于对应ID的物品
containItems = {[6948]=true}
--设置保留所有该稀有度的物品1(目前为绿色)
containItemQualitySet1 = "Uncommon"
--设置保留所有该稀有度的物品2(目前为无)
containItemQualitySet2 = "Heirloom"
--设置必须删除的物品
mustDeleteItem = {[23117]=true,[23077]=true,}

添加一个物品ID为21929的物品,我们不想摧毁它,只需在其中加入[21929]=true

items = {[6948]=true,[21929]=true}

品质名称:

 --灰色,白色,绿色,蓝色,紫色,传奇,史诗,制造物,XXXX,XXX
itemQuality =  {["Poor"] = 0,["Common"] = 1,["Uncommon"] = 2,["Rare"] = 3,["Epic"] = 4,["Legendary"] = 5,["Artifact"] = 6,["Heirloom"] = 7,["WoWToken"] = 8}

保留所有品质为白色的物品

--设置保留所有该稀有度的物品1(目前为白色)
containItemQualitySet1 = "Common"
--设置保留所有该稀有度的物品2(目前为无)
containItemQualitySet2 = "Heirloom"

保留所有品质为白色和绿色的物品

--设置保留所有该稀有度的物品1(目前为白色)
containItemQualitySet1 = "Common"
--设置保留所有该稀有度的物品2(目前为绿色)
containItemQualitySet2 = "Uncommon"

保留特定ID的物品

mustDeleteItem = {[23117]=true,[23077]=true}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.