Skip to content

AffixEffectGrant ​

Inherits: Resource

One effect an affix can give. An effect is not scaled by the budget: it has a fixed price that is paid from the budget first.

Properties ​

inteffect_id0
intweight100
floatbudget_cost100.0

Property descriptions ​

int effect_id = 0 ​

The effect (Effect id) the affix gives while the item is equipped

int weight = 100 ​

The chance of this grant when the affix picks one or some of its grants (higher = more likely). Not used when the affix gives all of them

float budget_cost = 100.0 ​

What the effect costs from the budget of the item. An effect that does not fit in what is left of the budget is not rolled