Skip to content

ArmorClassBonus ​

Inherits: Resource

One bonus of an armor class, in the way of a set bonus: the effects its wearer gets once enough of the pieces they wear are of the class. With 1 piece the effects come with the first piece; with 3 the character needs three pieces of the class (plate boots, plate gloves, a plate helm).

Properties ​

intpieces_required1
Array[int]effects[]

Methods ​

Stringget_description()

Property descriptions ​

int pieces_required = 1 ​

How many of the worn pieces must be of the armor class (1 or more)

Array[int] effects = [] ​

The effects (Effect ids) the wearer has while enough pieces are worn. Taking a piece off takes them away again

Method descriptions ​

String get_description() ​

A short text: how many pieces it takes and how many effects it gives.