ModifyEffect
A stat modifier’s kinds on one stat. A use puts it on under the source
use:<item>, so a second use replaces the first rather than adding to
it, and a modifier with seconds restarts them.
Extends
Section titled “Extends”Omit<StatModifier,"source">
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
flat? |
number |
Added to the base. |
more? |
number |
Multiplied with the stat’s other mores: 0.2 is ×1.2. |
percent? |
number |
Summed with the stat’s other percents: 0.2 is +20%. |
saved? |
boolean |
False for a modifier its source puts back itself, as a worn item does from the item as it is now: the stats save leaves it out, and a restore keeps the one the entity holds. Left out, it is saved. |
seconds? |
number |
Simulated seconds it lasts before the step drops it; left out, it stays until its source is removed. A stat holds the tick it ends on instead, as a StoredStatModifier. |
stat |
string |
- |
type |
"modify" | Modify |
- |