Feat - Object Information

Sections in this file:


How to read/modify a feat from a script:

func.GetFeatParam(FeatNum As Integer, ParamName As String)
Returns a parameter (ParamName) from the feat of ID FeatNum

func.SetFeatParam(FeatNum As Integer, ParamName As String, NewValue As Variant)
Sets the feat parameter ParamName to NewValue for the feat FeatNum


Go back to top


ID As Integer 'Feat ID or number
Name As String
Desc As String 'Richtext format description string
ClassAbilityFor As String 'Which class is allowed for class abilities
ClassAbility As Boolean 'If true, this is a class ability
SpecialAbility As Boolean 'If true, this is a special ability
FromCore As Boolean 'Is from the core rules
Deleted As Boolean 'Marked as deleted so that it will not be visible and can be overwritten

'-- Scripting Vars, starting with v. 1.19 --
NeedRace As Boolean 'Return the race in cRace?
SpecialUse As Integer '0=Nothing, 1=Attack bonuses, 2=Condition Calc, 3=metamagic; 4=metapsionic
LevelDep As Boolean 'Level-dependant feat
MultipleTimes As Boolean 'Feat can be taken multiple times


Go back to top


'--- New v.1.19 ---
'VBScript code for various operations
CodeGet As String
CodeRemove As String
CodeUse As String
CodeStop As String
CodeOther As String
CodeSpecial As String
'New v.2.07 - Resting Script
CodeRest As String

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