Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetSkillValue

Return skill real value - without modifiers (buffs, dress, etc).

If char disconnected - return 0

For obtaining skill value WITH modifiers - use GetSkillCurrentValue

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 GetSkillValue(SkillName : String) : Double;

Pascal Example:

    Useskill('Inscription');
    Wait(250);
    
    SkillValue := GetSkillValue('Inscription');
    
    if ( SkillValue >= 33 ) and ( SkillValue < 43 )then 
    begin //select 2nd circle
      WaitMenu('Escolha um circulo','Magias do Circulo 2');
      Wait(3000);
      WaitMenu('Que magia quer escrever','Strength');
    end;
    
    if ( SkillValue >= 43 ) and ( SkillValue < 53 ) then 
    begin //select 3rd circle
      WaitMenu('Escolha um circulo','Magias do Circulo 3');
      Wait(3000);
      WaitMenu('Que magia quer escrever','Wall of Stone'); 
    end;
//etc.

Python Syntax:

def GetSkillValue(SkillName): --> double