Script::BuySkillTier
function · ui · primitive
- Address
0x4d3e50· 458 bytes, up to0x4d4019- Signature
int __fastcall (lua_State *L)- Meaning
- Buys the next tier of the skill of a row
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- tradeskill/skills#skill-points
Finding: Skill points in tradeskill: skills
AddSkillUp (0x4d3c30) adds a point when the rank plus the points chosen is below the maximum and the next rank's cost fits the points left; RemoveSkillUp (0x4d3c70) takes one back. GetAdjustedSkillPoints (0x4d3cb0) returns the points (+0xe4c) minus those chosen. CancelSkillUps (0x4d3e30) clears every choice.
AcceptSkillUps (0x4d3d40) sends nothing when no points are chosen, and otherwise sends message 0x220: a u32 count, then a u32 skill line and u32 points for each visible row with both nonzero, and clears the choices. BuySkillTier (0x4d3e50) sends message 0x21f with the skill line when the skill allows a step (flag bit 0x8, or a step word of 0 with bit 0x4) and the step value is nonzero and within the player's points.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- __ftol crt
- CDataStore::PutUInt32 base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClientServices::Send net
- CGPlayer_C::FindSkillIndex objectlayer
- FindSkillRaceClassInfo spell
- GetSkillTierValue spell
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.