FindSkillLineAbility
function · spell · primitive
- Address
0x6de040· 130 bytes, up to0x6de0c1- Signature
const void * __fastcall (uint32_t race, uint32_t cls, uint32_t spell)- Meaning
- Returns the SkillLineAbility row indexed for a spell, race and class, or null
- Confidence
- verified, proof one
- Finding
- spell/tables#spell-ability-index-by-race
Finding: Spell ability index by race in spell: tables
0x6ddbe0 adds an ability node for a race, a class and a SkillLineAbility.dbc row when
0x6ddf90 finds a race-class row for the row's skill line (+0x04) and 0x6dddd0 admits the race
and class against the row's race mask +0x0c and class mask +0x10, complemented when +0x14
and +0x18 are nonzero. The node holds the spell (+0x08) as hash, the race at +0x14, the class
at +0x15, the spell's low 16 bits at +0x16 and the row at +0x18. 0x6de040 returns the row
of the first node in the spell's slot matching spell, race, class and low word, or null. A spell
with two admitted rows for one race and class resolves to the later row in file order.
The derivation is in the doc.
Callers 13
- ReevaluateTrainerStates ui
- Script::GetTrainerServiceSkillLine ui
- ActionSlotIsCurrent ui
- BuildTradeSkillList ui
- CGPlayer_C::LearnSpell objectlayer
- CGPlayer_C::UnlearnSpell objectlayer
- CGPlayer_C::GetSpellSkillLevel objectlayer
- CGPlayer_C::GetIndexedSpellSkill objectlayer
- CGPlayer_C::GetDefenseSkill objectlayer
- CGPlayer_C::GetWeaponSkill objectlayer
- CGPlayer_C::GetRangedSkill objectlayer
- CGUnit_C::FindSkillLineAbility objectlayer
- TryCastSpell spell
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.