Script::GetTrainerServiceNumAbilityReq
function · ui · primitive
- Address
0x4d9600· 131 bytes, up to0x4d9682- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the number of required abilities of a trainer service
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/trainer#required-abilities
Finding: Required abilities in ui: the trainer window
GetTrainerServiceNumAbilityReq(i) counts the positive entries of the row's three required ability ids.
GetTrainerServiceAbilityReq(i, k) returns for entry k a text and a flag: the spell's name and rank as Name (Rank), or
the name alone when the rank is empty, and whether the player (or the pet for a service that teaches a pet spell) knows
that ability or a higher rank. The flag defaults to true when the spell, the unit or the record cannot be found.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 6
- __ftol crt
- GetTrainerService ui
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.