map ui, skill ui, update skills data
This commit is contained in:
1 parent
8fbac46378
commit
46afb4b533
7 files changed
+19
-7
No files matched your search
@@ -1,5 +0,0 @@
|
|||||||
{ "Items": [
|
|
||||||
${actions/physics_attack},
|
|
||||||
${actions/physics_defence},
|
|
||||||
${actions/physics_stun}
|
|
||||||
]}
|
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"Kind": "action",
|
||||||
|
"Items": [
|
||||||
|
{
|
||||||
"Id": "physics/attack",
|
"Id": "physics/attack",
|
||||||
"Name": "characters/action/physics_attack/name",
|
"Name": "characters/action/physics_attack/name",
|
||||||
"Description": "characters/action/physics_attack/description",
|
"Description": "characters/action/physics_attack/description",
|
||||||
@@ -9,4 +12,6 @@
|
|||||||
"Attack=1.0",
|
"Attack=1.0",
|
||||||
"AttackType=Physics"
|
"AttackType=Physics"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"Kind": "action",
|
||||||
|
"Items": [
|
||||||
|
{
|
||||||
"Id": "physics/defence",
|
"Id": "physics/defence",
|
||||||
"Name": "characters/action/defence/name",
|
"Name": "characters/action/defence/name",
|
||||||
"Description": "characters/action/defence/description",
|
"Description": "characters/action/defence/description",
|
||||||
@@ -8,4 +11,6 @@
|
|||||||
"RequiredPoint=1",
|
"RequiredPoint=1",
|
||||||
"Defence=4"
|
"Defence=4"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"Kind": "action",
|
||||||
|
"Items": [
|
||||||
|
{
|
||||||
"Id": "physics/stun",
|
"Id": "physics/stun",
|
||||||
"Name": "characters/action/stun/name",
|
"Name": "characters/action/stun/name",
|
||||||
"Description": "characters/action/stun/description",
|
"Description": "characters/action/stun/description",
|
||||||
@@ -9,4 +12,6 @@
|
|||||||
"AttackType=Physics",
|
"AttackType=Physics",
|
||||||
"Turn=3"
|
"Turn=3"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
@@ -12,6 +12,7 @@ namespace Cthangover.Core.Cards.StatusEffect
|
|||||||
/// Implements IIdentifiable so it works with PrefabFactory caching.
|
/// Implements IIdentifiable so it works with PrefabFactory caching.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Serializable]
|
[System.Serializable]
|
||||||
|
[EntityKind("status_effect")]
|
||||||
public class StatusEffectInfo : IIdentifiable
|
public class StatusEffectInfo : IIdentifiable
|
||||||
{
|
{
|
||||||
/// <summary>Unique effect identifier used as the factory key.
|
/// <summary>Unique effect identifier used as the factory key.
|
||||||
|
|||||||
@@ -8,12 +8,13 @@ namespace Cthangover.Core.Factories.Impls
|
|||||||
/// behaviour, visual icon, etc. Works in tandem with
|
/// behaviour, visual icon, etc. Works in tandem with
|
||||||
/// <c>StatusEffectActionFactory</c>: this factory provides the <b>data</b>
|
/// <c>StatusEffectActionFactory</c>: this factory provides the <b>data</b>
|
||||||
/// (what the effect is), while the action factory provides the
|
/// (what the effect is), while the action factory provides the
|
||||||
/// <b>behaviour</b> (what the effect does each turn).
|
/// <b>behaviour</b> (what the effect does each turn). Files are discovered
|
||||||
|
/// by the shared entity resolver through the DTO's
|
||||||
|
/// <c>[EntityKind("status_effect")]</c> attribute.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class StatusEffectInfoFactory : FileFactory<StatusEffectInfo>
|
public class StatusEffectInfoFactory : FileFactory<StatusEffectInfo>
|
||||||
{
|
{
|
||||||
private static readonly Lazy<StatusEffectInfoFactory> lazy = new(() => new StatusEffectInfoFactory());
|
private static readonly Lazy<StatusEffectInfoFactory> lazy = new(() => new StatusEffectInfoFactory());
|
||||||
public static StatusEffectInfoFactory Instance => lazy.Value;
|
public static StatusEffectInfoFactory Instance => lazy.Value;
|
||||||
public override string GroupName => "status_effects";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
Reference in new issue
Block a user