API:GetPlayerMaxSkillValue

__NOTOC__
GetPlayerMaxSkillValue
GetPlayerMaxSkillValue
GetPlayerMaxSkillValue( SkillId )
Returns the maximum possible value under the players current circumstances.
== Parameters ==
=== Arguments ===
:;SkillId
::string - The skill name as used in code, being one of (must be uppercase as shown):
:::
Crafting Skills	Weapon Skills	Weapon Skills
ALCHEMY 	AXE 	HAMMER
BLACKSMITH 	AXE2H 	POLEARM
CARPENTER 	BLADE 	STAFF
COOK 	BLUDGEON 	UNARMED
HERBLISM 	BOW 	WAND
LUMBERING 	CLAYMORE 	
MAKEARMOR 	COSSBOW 	
MINING 	DAGGER 	
PLANT 	DEFENCE 	
TAILOR 	GUN 	
=== Returns ===
:;number
::number - Skill level
:::The max. skill level at which the skill will top off and no longer progress.
== Example ==
-- Example 1
DEFAULT_CHAT_FRAME(GetPlayerMaxSkillValue( "STAFF" ))
-- level 46 Mage will return 120 cap
-- Example 2
DEFAULT_CHAT_FRAME(GetPlayerMaxSkillValue( "HERBALISM" ))
-- Return one of 20 40 60 or 80 depending on the crafting rank and quests done to raise it.
--Qaz1qaz1qa 05:55, 6 March 2010 (UTC)
== Notes ==
== Related Functions ==
* GetPlayerCurrentSkillValue