Project

General

Profile

Bug #2233

Most Skill Members do not work.

Added by Elusif over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
vbulletin_issue_id:

Description

Skill.Level, Skill.SkillPoints, and Skill.TimeToTrain all return NULLs.

A mostly worthless member, TrainingTimeMultiplier still works, probably just to mock me.

 


function main()
{
    variable index:skill SkillIndex
    variable iterator SkillIterator
    
    Me:GetSkills[SkillIndex]
    
    if ${SkillIndex.Size} > 0
    {
        SkillIndex:GetIterator[SkillIterator]
        if ${SkillIterator:First(exists)}
        {
            do
            {
                echo ${SkillIterator.Value.Name} Name
                echo ${SkillIterator.Value.TimeToTrain} TTT
                echo ${SkillIterator.Value.TrainingTimeMultiplier} TTM
                echo ${SkillIterator.Value.SkillPoints} Skill Points
                echo ${SkillIterator.Value.Level} Skill Level
            }
            while ${SkillIterator:Next(exists)}
        }
    }
}

Also available in: Atom PDF