Skill - Object Information

Sections in this file:

Main

You can read and modify skill data by first running func.GetSkillObj(SkillNum As Integer). This function returns the skill object. For instance:

Dim MySkill
Set MySkill = func.GetSkillObj(num)
If func.ValidSk(MySkill) Then
MsgBox MySkill.Name
End If


Main

Go back to top

Members

'The name of the skill
Name As String

'These two strings are used for faster searching of skill names
'They are not saved, but are re-done on each load.
NameUcase As String
NameUcase_NoParen As String 'same, without anything in parenthesis

'Unique ID of the skill. Maximum ID is 1250.
Id As Integer

'3-letter ability identifer
Ability As String

'RTF Description of the skill
Desc As String

'Unused.
Condition As Integer

'If true, only someone with ranks can use this skill.
'Untrained PCs have a total skill bonus of -99
TrainedOnly As Boolean

'If true, armor check penalty applies
ArmorCheck As Boolean

'These strings are unused (despite the names)
'You may store special information in them if you need to.
Classes As String
ExclusiveToClasses As String
CrossClassTo As String

'To be deleted: the skill will not show up in lists and will be replaced
' as soon as a new skill needs to fill up its slot.
Deleted As Boolean

'Sourcebook of the data (New v.2.08)
Source As String



Documentation for DM Genie and Player Genie, page Skill. Copyright © Mad Scientist Studios, 2006.
Help Contents   |   DM Genie home page
Click here if you cannot see the table of contents on the left
>