Coder Social home page Coder Social logo

e-lai / qspellwork Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sidsukana/qspellwork

0.0 0.0 0.0 20.97 MB

QSpellWork is an application for searching and viewing information about spells in World of Warcraft

License: MIT License

C++ 80.34% C 9.79% CSS 0.79% HTML 7.97% QMake 1.02% GLSL 0.09%

qspellwork's Introduction

Github Releases

QSpellWork

QSpellWork is an application for searching and viewing information about spells in World of Warcraft. Spell information is read from client DBC files. QSpellWork works with:

  • World of Warcraft (Vanilla)
  • The Burning Crusade
  • Wrath of the Lich King

This application is written in C++ using the Qt 5 GUI framework.

How to use scripted filter

QSpellwork binds the metaobject to the script engine as spell and you can write complex conditions in the JavaScript language. Also binds all enum constants. You can use inline or function conditions.

Examples

Inline condition:

spell.SpellFamilyName == SPELLFAMILY_MAGE && spell.SpellFamilyFlags & 0x1 && spell.hasAura(3)

Same as function condition:

function() {
    var hasAura = false;
    for (var i = 0; i < 3; i++) {
        if (spell.EffectApplyAuraName(i) == 3) {
            hasAura = true;
            break;
        }
    }
    return spell.SpellFamilyName == SPELLFAMILY_MAGE && spell.SpellFamilyFlags & 0x1 && hasAura;
}

You can also use the helper function hasAura(id):

function() {
    return spell.SpellFamilyName == SPELLFAMILY_MAGE && spell.SpellFamilyFlags & 0x1 && spell.hasAura(3);
}

Acknowledgements and Thanks

  • Chestr aka DiSlord โ€” for the idea and releasing the source of original SpellWork.
  • LordJZ and Konstantin โ€” for releasing the source of C# SpellWork
  • killerwife for active support and contributions

qspellwork's People

Contributors

bendol avatar killerwife avatar sidsukana avatar tremolo4 avatar warlockbugs avatar

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.