52 lines
1.3 KiB
C#
52 lines
1.3 KiB
C#
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "78xxx_expBottle", menuName = "Store/Exp Bottle Definition")]
|
|
public class expBottlesSO : ScriptableObject
|
|
{
|
|
public enum BottleType
|
|
{
|
|
Normal,
|
|
RainAll
|
|
}
|
|
|
|
public enum ServiceLevel
|
|
{
|
|
Any,
|
|
C,
|
|
B,
|
|
A,
|
|
S
|
|
}
|
|
|
|
public enum ExpApplyMode
|
|
{
|
|
SpecificExpValue,
|
|
FillCurrentLevel,
|
|
FillAllLevels
|
|
}
|
|
|
|
[Header("Identity")]
|
|
public ExpBottleKind bottleKind = ExpBottleKind.Common;
|
|
public string expBottleName;
|
|
public Sprite expBottleSprite;
|
|
public ItemRarity itemRarity = ItemRarity.Common;
|
|
public ItemUsageTag usageTag = ItemUsageTag.CharacterCultivation;
|
|
public string expBottleUsage;
|
|
|
|
[TextArea(3, 3)] public string expBottleDescription;
|
|
[Header("Runtime Mirror")]
|
|
public int runtimeOwnedCount;
|
|
|
|
[Header("Bottle Type")]
|
|
public BottleType bottleType = BottleType.Normal;
|
|
|
|
[Header("Gameplay")]
|
|
public ExpApplyMode expApplyMode = ExpApplyMode.SpecificExpValue;
|
|
public ServiceLevel serviceLevel = ServiceLevel.C;
|
|
[Min(0)] public int grantedExp = 0;
|
|
|
|
[Header("Rain All Gameplay")]
|
|
[Min(0)] public int rainAllTargetCount = 0;
|
|
[Min(0)] public int rainAllGrantedExpPerHero = 0;
|
|
}
|