GetSkillCap
Return skill cap.
If char disconnected - return 0
Default Skill names(can be changes on custom shards):
```objectpascal 'Alchemy' 'Anatomy' 'Animal Lore' 'Item ID' 'Arms Lore' 'Parrying' 'Begging' 'Blacksmithing' 'Bowcraft' 'Peacemaking' 'Camping' 'Carpentry' 'Cartography' 'Cooking' 'Detect Hidden' 'Enticement' 'Evaluate Intelligence' 'Healing' 'Fishing' 'Forensic Evaluation' 'Herding' 'Hiding' 'Provocation' 'Inscription' 'Lockpicking' 'Magery' 'Magic Resistance' 'Tactics' 'Snooping' 'Musicianship' 'Poisoning' 'Archery' 'Spirit Speak' 'Stealing' 'Tailoring' 'Animal Taming' 'Taste Identification' 'Tinkering' 'Tracking' 'Veterinary' 'Swordsmanship' 'Mace Fighting' 'Fencing' 'Wrestling' 'Lumberjacking' 'Mining' 'Meditation' 'Stealth' 'Remove Trap' 'Necromancy' 'Focus' 'Chivalry' 'Bushido' 'Ninjitsu' 'Spellweaving' 'Mysticism' 'Imbuing' 'Throwing' ```Pascal Syntax:
function GetSkillCap(SkillName : String) : Double;
Pascal Example:
SkillValue := GetSkillCurrentValue('Inscription');
if SkillValue > GetSkillCap('Inscription') then
begin //SkillCap reached!
AddToSystemJournal('SkillCap reached, Halt');
Halt;
end;
//etc.
Python Syntax:
def GetSkillCap(SkillName): --> double