Project

General

Profile

Bug #2233

Most Skill Members do not work.

Added by Elusif 10 months ago. Updated 10 months 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