メインコンテンツまでスキップ

Constrain Player Stat

Hold a player statistic between bounds while they are somewhere

フィールド

フィールド型デフォルト説明
statIdString—The statistic's id, as declared in the RPGCore stat definitions.
sourceString—A name for this constraint, used to lift it again. Two constraints sharing it replace each other.
minDouble?—Lowest value the statistic may hold here. Leave empty for no floor.
maxDouble?—Highest value the statistic may hold here. Leave empty for no ceiling.
TypeWriter 共通フィールド(criteria, modifiers, triggers)
フィールド型デフォルト説明
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Give the constraint a source name and at least one of min or max. Use the same source and statId in Release Stat Constraint to lift it, typically on a region exit event. Applying the same source again replaces it. Constraints are not saved: they are dropped when the player leaves the server.