| string | RankName | Returns the spell/combat ability name rank character has. |
I have a mage with a spell named 'Scorching Skin Rk. II' in its spellbook.
Debugging my lem, I found an unexpected behavior:
Code:
/lua parse print(mq.TLO.Spell('Scorching Skin').RankName())
Code:
/lua parse print(mq.TLO.Spell(tostring('Scorching Skin')).RankName())
Code:
/lua parse print(mq.TLO.Spell(tostring('Scorching Skin Rk. II')).RankName())
I understood that Rankname should give me the the full spell name including the Rankname of the actual spell in my spellbook.
Did I misunderstood that, or is there a syntax error?
My expectation is, that all 3, or atleast the last two lines should reply: Scorching Skin Rk. II, if that's the version in the spellbook.




