Script::GetTrainerServiceStepIncrease
function · ui · primitive
- Address
0x4da030· 465 bytes, up to0x4da200- Signature
int __fastcall (lua_State *L)- Meaning
- Returns the skill potential increase text of a trainer service
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/trainerverbs#row-kind-tests
Finding: Row kind tests in ui: trainer window getters and filters
IsTrainerServiceSkillStep(row) returns 1 when the sent spell has an effect 0x2c (skill step), else nil.
IsTrainerServiceLearnSpell(row) returns 1 and nil when a learn effect (0x24) teaches a missing spell or one without attribute
0x20, 1 and 1 for a learn pet spell effect (0x39), else nil and nil. IsTrainerServiceTradeSkill(row) returns 1 when a learn
effect teaches a spell with attribute 0x20, else nil. GetTrainerServiceStepIncrease(row) returns, for a row with a skill step
effect that is not in state 2, INCREASE_POTENTIAL formatted with the skill line name and five times the effect's base points
less those of the spell at record +0x20 (0 in effect); nil when that is 0 or a link is missing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 11
- __ftol crt
- GetTrainerService ui
- SStrCopy storm
- SStrPrintf storm
- GetSpellEffectPointsInt spell
- lua_isnumber lua
- lua_tonumber lua
- lua_pushnil lua
- lua_pushstring lua
- luaL_error lua
- FrameScript_GetText ui
Calls and jumps by a bare address, from tables/calls.tsv.