Hey guys, I'm trying to find a way to get the rank and max rank for the new Mists cooking professions (Way of the Brew, Grill, Wok, etc.).
Those are not listed in the profession page of the spellbook so GetProfessionInfo() doesn't do me any good. I'm looking for a way to get the rank and max rank without having to visit the trainer or scanning the trade skill window. GetTradeSkillInfo() has the rank information but it's valid when the cooking trade skill window is open.
If anyone has a clue of a tooltip I can scan or a function I may have overlook, please let know.
I'm afraid you'll have to hardcode the minrank to 530 (for getting the quests), can't find any reference to it.
I'm using this code to get the maximum profession rank available to the player.
(as opposed to in the game, if for example the player hasn't yet purchased MoP)
local MAX_PROFESSION_RANK = GetExpansionLevel()+4 -- Skip the 4 ranks of vanilla
local ATTAINABLE_PROFESSION_RANK = _G.PROFESSION_RANKS[MAX_PROFESSION_RANK][1]
I have a feeling those are not really professions though, more like a new way to get vendor recipes by way of questing instead of by turning in tokens.
You didn't misunderstand. I could indeed get the starting rank and the max rank for a toon by using IsPlayerSpell(spell_id) where spell_id is 125584, 125586, etc. (the Way of the ... spells) but I was looking for the current level.
They do act like normal professions in the sense that you have to cook stuff in the proper specialty for the skill to go up and GetTradeSkillLine() return "Way of the ..." for those lines instead of "Cooking". When the Cooking trade skill window is displayed, you get 5xx/600 skill ranks when you hover over the header for each Way of the ... specialties unlike Gnomish and Goblin Engineering which are just requirement to get particular recipes.
I'll keep looking but something tells me that I'll be a sad panda.
can you link cooking skills with these specialties? if so, then there's got to be something embedded in the tradeskill link i would think. if not, then it's a good bet it'll only be accessible when the skill is live.
I will try that. For now I've gone with a mix of reading the trade skill windows and traping all the update UI messages. It's a bit messy so another way would be nice.
so i'm trying to get gw to work with the new cooking levels... am i reading correctly that you use GetTradeSkillLine() to check for which category each recipe falls in?
if they like this, i wouldn't be surprised to see it end up in other trade skills.
i don't have mop. i'm trying to update things using the ptr w/o mop. do i need mop to access these "way of" cooking recipes? when you specialize, do you get a new cooking profession id? can you get all 6 specialties at the same time or do you have to swap them out and level one at a time? can you link these ways to other players like a normal tradeskill?
i don't have mop. i'm trying to update things using the ptr w/o mop. do i need mop to access these "way of" cooking recipes? when you specialize, do you get a new cooking profession id? can you get all 6 specialties at the same time or do you have to swap them out and level one at a time? can you link these ways to other players like a normal tradeskill?
Can you get all 6 specialties at the same time? Yes
Can you link these ways (assuming separately) to other players? No
This is what it looks like on the default tradeskill window
The ways are headers and you can't link them individually.
Additionally linking the full tradeskill currently has a bug where the clicked link will popup a tradeskill window that only shows the "Everyday Cooking" part and not the "Ways" parts.
Everyday cooking are the first few recipes you get before you pick a way at 530.
After that your highest "Way" skill determines your overall Cooking skill (effectively you can level just 1 "Way" to 600 and Cooking will show as 600, but if you want other ways maxed you have to level each one separately)
wow, how aggravating. thanks for the info, guys. i wonder if they'll make these linkable at some point, tho with multiple skill levels it seems unlikely.
if they like this kind of functionality (multiple concurrent specialties on a tradeskill) i'm a little concerned this might end up in other tradeskills... :(
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Those are not listed in the profession page of the spellbook so GetProfessionInfo() doesn't do me any good. I'm looking for a way to get the rank and max rank without having to visit the trainer or scanning the trade skill window. GetTradeSkillInfo() has the rank information but it's valid when the cooking trade skill window is open.
If anyone has a clue of a tooltip I can scan or a function I may have overlook, please let know.
I'm using this code to get the maximum profession rank available to the player.
(as opposed to in the game, if for example the player hasn't yet purchased MoP)
I have a feeling those are not really professions though, more like
a new way to get vendor recipes by way of questing instead of by turning in tokens.
Did I misunderstand your request? (probably)
They do act like normal professions in the sense that you have to cook stuff in the proper specialty for the skill to go up and GetTradeSkillLine() return "Way of the ..." for those lines instead of "Cooking". When the Cooking trade skill window is displayed, you get 5xx/600 skill ranks when you hover over the header for each Way of the ... specialties unlike Gnomish and Goblin Engineering which are just requirement to get particular recipes.
I'll keep looking but something tells me that I'll be a sad panda.
if they like this, i wouldn't be surprised to see it end up in other trade skills.
Can you get all 6 specialties at the same time? Yes
Can you link these ways (assuming separately) to other players? No
This is what it looks like on the default tradeskill window
The ways are headers and you can't link them individually.
Additionally linking the full tradeskill currently has a bug where the clicked link will popup a tradeskill window that only shows the "Everyday Cooking" part and not the "Ways" parts.
Everyday cooking are the first few recipes you get before you pick a way at 530.
After that your highest "Way" skill determines your overall Cooking skill (effectively you can level just 1 "Way" to 600 and Cooking will show as 600, but if you want other ways maxed you have to level each one separately)
if they like this kind of functionality (multiple concurrent specialties on a tradeskill) i'm a little concerned this might end up in other tradeskills... :(