Coder Social home page Coder Social logo

libquestxp's Introduction

LibQuestXP (Classic)

LibQuestXP is a library for other addons to provide experience reward information about quests for addon developers.

In Classic WoW the GetQuestLogRewardXP lua function was removed, and there's currently no other way to fetch XP reward information. This addon re-implements this function so Addons depending on GetQuestLogRewardXP can be ported to classic from retail.

Important: This is not a standalone addon! If you're not a developer, this addon is probably no use to you.

Usage

LibQuestXP uses LibStub like many other libraries. If you want to embed it in your addon, please use LibQuestXP.xml, which should load all necessary files.

Utilizing GetQuestLogRewardXP

You can select a quest log index, then call GetQuestLogRewardXP without a parameter

SelectQuestLogEntry(questLogIndex);
GetQuestLogRewardXP()

or you can just call GetQuestLogRewardXP with a questID

GetQuestLogRewardXP(questID)

libquestxp's People

Contributors

mrfox42 avatar

Stargazers

 avatar fuba avatar

Watchers

 avatar

libquestxp's Issues

Update for TBC

Hey, we are using this lib for Questie and wonder if you will update it for TBC. Would be really great if you would ๐Ÿ˜

Sometimes wrong Calculation for quests < level 10 or maybe not?!

hi there,

i figured out that some low level quest (< level 10) can return a wrong value.

for Example...
Quest: The Hunt Begins
Character Level: 12
Formula GetAdjustedXP return: 15
Wowhead Say: 20

If the my Character is Level 12 (lowest experience gain for that quest) your formula GetAdjustedXP returns the value 15.
WowHead on the other side says the Value should be 20.

This only happens on low level qeusts and also not for all of them!

I've also found an artice for Experience point @ https://wow.gamepedia.com
where they say:

Some lower level quests (Quest_Level < 10) seem to give full XP only for Character_Level <= Quest_Level + 4, differing by 1 level with the table above.

so this is at first not really a big problem and second i dont really figured out how to find out what quest exactly is affected by this.

OR maybe Wowhead do wrong calculation but i dont think so.

I just thought i will inform you about this or maybe you already know this.

Anyway -> Very Nice LIB!

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.