s_effect1aSpell
global · objectlayer
- Address
0xc4d688· 4 bytes, up to0xc4d68b- Type
uint32_t- Meaning
- Holds the effect-0x1a spell slot 43 reads the skill of
- Confidence
- verified, proof one
- Finding
- objectlayer/playercombat#weapon-skills
Finding: Weapon skills in objectlayer: player spells and combat
At world entry 0x5e2ca0 builds, from Spell.dbc, a table from weapon subclass to a spell, and the
spell 0xc4d688. It walks the spells from the last to the first; among those with Attributes 0x40,
the first with effect 0x1a becomes 0xc4d688, and each with class 2 and a single subclass bit
writes its id for that subclass, so the lowest id wins. 0x5ed9d0(hand) gives a hand's weapon
spell, the unarmed one (0x53f8a0) for no weapon. Slots 43 and 44 return the skill values of
0xc4d688's line and of a hand's weapon spell; 0x5edae0 the ranged weapon's.
The derivation is in the doc.