Script::LearnTalent
function · ui · primitive
- Address
0x4f36a0· 385 bytes, up to0x4f3820- Signature
int __fastcall (lua_State *L)- Meaning
- Sends the learn request for the next rank of a talent unless it is at maximum
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/talents#learning
Finding: Learning in ui: talents
LearnTalent(tab, index) sends opcode 0x251 with the talent id (u32) and the requested rank (u32), which is the number of ranks the
player already knows (the 0-based index of the next rank). The only check before sending is that the talent is not at its
maximum rank; points and prerequisites are left to the server. A non-number raises Usage: LearnTalent(tabIndex, talentIndex).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 9
- __ftol crt
- CDataStore::PutUInt32 base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClientServices::Send net
- CGUnit_C::KnowsSpell objectlayer
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.