21 lines
474 B
C#
21 lines
474 B
C#
using System;
|
|
using UnityEngine;
|
|
using YachtDice.Scoring;
|
|
|
|
namespace YachtDice.Modifiers
|
|
{
|
|
[Serializable]
|
|
public struct ModifierTarget
|
|
{
|
|
[Tooltip("Die face value (1-6). 0 = any/all dice.")]
|
|
[Range(0, 6)]
|
|
public int DieValue;
|
|
|
|
[Tooltip("Category this modifier targets.")]
|
|
public YachtCategory TargetCategory;
|
|
|
|
[Tooltip("If true, TargetCategory is used as a filter.")]
|
|
public bool HasCategoryFilter;
|
|
}
|
|
}
|