Script::GetQuestLogRequiredMoney
function · ui · primitive
- Address
0x4e1220· 137 bytes, up to0x4e12a8- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the money the selected quest asks for
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/questlogverbs#reward-links-and-money
Finding: Reward links and money in ui: quest log verbs on the selected quest
GetQuestLogItemLink(type, index) takes "choice" or "reward" (compared without regard to case) and a 1-based index, and
returns the item link of that entry, built from the item's name with its suffix text and its quality colour, or nil for an
uncached template or item, a zero id, an unknown type or an index outside the list. Other arguments raise
Usage: GetQuestLogItemLink("type", index). GetQuestLogRewardMoney() returns the template money when it is not negative, plus the bonus money
when the player's level is 60 or more, else 0. GetQuestLogRequiredMoney() returns the money negated when it is negative, else 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- QuestCacheGetRecord dbcache
- lua_pushnumber lua
Calls and jumps by a bare address, from tables/calls.tsv.