View Single Post
09-27-19, 11:16 PM   #2
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Loop through those indexes while comparing the skillname argument with the available global strings, which are locally translated depending on the installed client.

CHARACTER_PROFESSION_ALCHEMY = "Alchemy"
CHARACTER_PROFESSION_BLACKSMITHING = "Blacksmithing"
CHARACTER_PROFESSION_ENCHANTING = "Enchanting"
CHARACTER_PROFESSION_ENGINEERING = "Engineering"
CHARACTER_PROFESSION_FIRST_AID = "First Aid"
CHARACTER_PROFESSION_HERBALISM = "Herbalism"
CHARACTER_PROFESSION_LEATHERWORKING = "Leatherworking"
CHARACTER_PROFESSION_MINING = "Mining"
CHARACTER_PROFESSION_SKINNING = "Skinning"
CHARACTER_PROFESSION_TAILORING = "Tailoring"

I'm sure you already have the 4th argument, which is the skill level, but make sure to add it to the 5th argument, which is any temp points, like fishing has with poles and bobbers. I don't know if First Aid has any temp buffs or items but better safe than sorry.
  Reply With Quote