Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = []Type{ AttributeBonus, ConditionalModifier, DRBonus, ReactionBonus, SkillBonus, SkillPointBonus, SpellBonus, SpellPointBonus, WeaponBonus, WeaponAccBonus, WeaponScopeAccBonus, WeaponDRDivisorBonus, WeaponEffectiveSTBonus, WeaponMinSTBonus, WeaponMinReachBonus, WeaponMaxReachBonus, WeaponHalfDamageRangeBonus, WeaponMinRangeBonus, WeaponMaxRangeBonus, WeaponRecoilBonus, WeaponBulkBonus, WeaponParryBonus, WeaponBlockBonus, WeaponRofMode1ShotsBonus, WeaponRofMode1SecondaryBonus, WeaponRofMode2ShotsBonus, WeaponRofMode2SecondaryBonus, WeaponNonChamberShotsBonus, WeaponChamberShotsBonus, WeaponShotDurationBonus, WeaponReloadTimeBonus, WeaponSwitch, CostReduction, ContainedWeightReduction, }
Types holds all possible values.
View Source
var TypesWithoutContainedWeightReduction []Type
TypesWithoutContainedWeightReduction holds the possible Type values, minus the ContainedWeightReduction.
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type byte
Type holds the type of a Feature.
const ( AttributeBonus Type = iota ConditionalModifier DRBonus ReactionBonus SkillBonus SkillPointBonus SpellBonus SpellPointBonus WeaponBonus WeaponAccBonus WeaponScopeAccBonus WeaponDRDivisorBonus WeaponEffectiveSTBonus WeaponMinSTBonus WeaponMinReachBonus WeaponMaxReachBonus WeaponHalfDamageRangeBonus WeaponMinRangeBonus WeaponMaxRangeBonus WeaponRecoilBonus WeaponBulkBonus WeaponParryBonus WeaponBlockBonus WeaponRofMode1ShotsBonus WeaponRofMode1SecondaryBonus WeaponRofMode2ShotsBonus WeaponRofMode2SecondaryBonus WeaponNonChamberShotsBonus WeaponChamberShotsBonus WeaponShotDurationBonus WeaponReloadTimeBonus WeaponSwitch CostReduction ContainedWeightReduction )
Possible values.
const LastType Type = ContainedWeightReduction
LastType is the last valid value.
func (Type) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Type) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Type) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.