卡牌更新
This commit is contained in:
@@ -7,29 +7,10 @@
|
||||
[GameAttributeCollection]
|
||||
public static class CharacterAttributes
|
||||
{
|
||||
// ── 核心属性 (Core) ──────────────────────────────────
|
||||
// ── 属性 (General) ───────────────────────────────
|
||||
/// <summary> 等级 </summary>
|
||||
public const string Level = "Level";
|
||||
|
||||
/// <summary> 力量 </summary>
|
||||
public const string Strength = "Strength";
|
||||
|
||||
/// <summary> 敏捷 </summary>
|
||||
public const string Agility = "Agility";
|
||||
|
||||
/// <summary> 智力 </summary>
|
||||
public const string Intelligence = "Intelligence";
|
||||
|
||||
/// <summary> 体质 </summary>
|
||||
public const string Physique = "Physique";
|
||||
|
||||
/// <summary> 感知 </summary>
|
||||
public const string Perception = "Perception";
|
||||
|
||||
/// <summary> 魅力 </summary>
|
||||
public const string Charisma = "Charisma";
|
||||
|
||||
// ── 通用属性 (General) ───────────────────────────────
|
||||
/// <summary> 生命值 </summary>
|
||||
public const string Health = "Health";
|
||||
|
||||
@@ -72,8 +53,8 @@
|
||||
/// <summary> 闪避 </summary>
|
||||
public const string Dodge = "Dodge";
|
||||
|
||||
/// <summary> 护盾 </summary>
|
||||
public const string Shield = "Shield";
|
||||
/// <summary> 临时生命 </summary>
|
||||
public const string TemporaryHealth = "TemporaryHealth";
|
||||
|
||||
/// <summary> 回合开始时保留格挡 </summary>
|
||||
public const string KeepBlockOnActionStart = "KeepBlockOnActionStart";
|
||||
@@ -87,9 +68,6 @@
|
||||
/// <summary> 获得闪避偏移量 </summary>
|
||||
public const string DodgeGainOffset = "DodgeGainOffset";
|
||||
|
||||
/// <summary> 获得护盾偏移量 </summary>
|
||||
public const string ShieldGainOffset = "ShieldGainOffset";
|
||||
|
||||
/// <summary> 闪避攻击前,闪避值乘以此值 </summary>
|
||||
public const string DodgeCheckStartDamageMultiplier = "DodgeCheckStartDamageMultiplier";
|
||||
|
||||
|
||||
@@ -16,12 +16,7 @@ namespace Continentis.MainGame.Character
|
||||
[TitleGroup("属性模板")]
|
||||
|
||||
[DictionaryDrawerSettings(KeyLabel = "属性名", ValueLabel = "属性值")]
|
||||
[LabelText("核心属性 (Core)")]
|
||||
[Tooltip("对应 CharacterData.coreAttributes")]
|
||||
public SerializableDictionary<string, float> coreAttributes;
|
||||
|
||||
[DictionaryDrawerSettings(KeyLabel = "属性名", ValueLabel = "属性值")]
|
||||
[LabelText("通常属性 (General)")]
|
||||
[LabelText("属性 (General)")]
|
||||
[Tooltip("对应 CharacterData.generalAttributes")]
|
||||
public SerializableDictionary<string, float> generalAttributes;
|
||||
|
||||
|
||||
@@ -72,11 +72,7 @@ namespace Continentis.MainGame.Character
|
||||
// ── Attributes ────────────────────────────────────────────────────────
|
||||
|
||||
[TabGroup("Data", "属性"), PropertyOrder(20)]
|
||||
[Tooltip("角色的核心属性:支持智能下拉菜单")]
|
||||
public SerializedDictionary<string, float, CharacterAttributePair> coreAttributes = new SerializedDictionary<string, float, CharacterAttributePair>();
|
||||
|
||||
[TabGroup("Data", "属性"), PropertyOrder(21)]
|
||||
[Tooltip("角色的通常属性:支持智能下拉菜单")]
|
||||
[Tooltip("角色的属性:支持智能下拉菜单")]
|
||||
public SerializedDictionary<string, float, CharacterAttributePair> generalAttributes = new SerializedDictionary<string, float, CharacterAttributePair>();
|
||||
|
||||
[TabGroup("Data", "属性"), PropertyOrder(22)]
|
||||
|
||||
Reference in New Issue
Block a user