Hello there,
I try to differentiate Xp received on the event
Code:
EVENT_SKILL_XP_UPDATE (SKILLTYPE, skillIndex, reason, rank, previousXP, currentXP).
the goal would be to know when XP is:
- the Warriors' Guild
- the Mages Guild
- or the last I can not remember the name
To filter the guild Xp I use that :
Code:
SKILLTYPE == SKILL_TYPE_GUILD
I guess I should specify the guild with skillindex but how? what are the constants ?
I have the name of the guild with
Code:
local skill = GetSkillLineInfo (SKILLTYPE, skillIndex)
but I would like that this is not depandant language client.