map ui, skill ui, update skills data

This commit is contained in:
cthangover committed 2026-09-29 13:05:41 +03:00
1 parent 8fbac46378
commit 46afb4b533
7 files changed
+44 -32

No files matched your search

-5
View File
@@ -1,5 +0,0 @@
{ "Items": [
${actions/physics_attack},
${actions/physics_defence},
${actions/physics_stun}
]}
+13 -8
View File
@@ -1,12 +1,17 @@
{
"Id": "physics/attack",
"Name": "characters/action/physics_attack/name",
"Description": "characters/action/physics_attack/description",
"Image": "characters/actions/physics_attack",
"Type": "ToEnemy",
"Values": [
"Kind": "action",
"Items": [
{
"Id": "physics/attack",
"Name": "characters/action/physics_attack/name",
"Description": "characters/action/physics_attack/description",
"Image": "characters/actions/physics_attack",
"Type": "ToEnemy",
"Values": [
"RequiredPoint=1",
"Attack=1.0",
"AttackType=Physics"
]
}
]
}
]
}
+14 -9
View File
@@ -1,11 +1,16 @@
{
"Id": "physics/defence",
"Name": "characters/action/defence/name",
"Description": "characters/action/defence/description",
"Image": "characters/actions/physics_defence",
"Type": "ToAlias",
"Values": [
"Kind": "action",
"Items": [
{
"Id": "physics/defence",
"Name": "characters/action/defence/name",
"Description": "characters/action/defence/description",
"Image": "characters/actions/physics_defence",
"Type": "ToAlias",
"Values": [
"RequiredPoint=1",
"Defence=4"
]
}
"Defence=4"
]
}
]
}
+13 -8
View File
@@ -1,12 +1,17 @@
{
"Id": "physics/stun",
"Name": "characters/action/stun/name",
"Description": "characters/action/stun/description",
"Image": "characters/actions/physics_stun",
"Type": "ToEnemy",
"Values": [
"Kind": "action",
"Items": [
{
"Id": "physics/stun",
"Name": "characters/action/stun/name",
"Description": "characters/action/stun/description",
"Image": "characters/actions/physics_stun",
"Type": "ToEnemy",
"Values": [
"RequiredPoint=2",
"AttackType=Physics",
"Turn=3"
]
}
]
}
]
}
+1
View File
@@ -12,6 +12,7 @@ namespace Cthangover.Core.Cards.StatusEffect
/// Implements IIdentifiable so it works with PrefabFactory caching.
/// </summary>
[System.Serializable]
[EntityKind("status_effect")]
public class StatusEffectInfo : IIdentifiable
{
/// <summary>Unique effect identifier used as the factory key.
+3 -2
View File
@@ -8,12 +8,13 @@ namespace Cthangover.Core.Factories.Impls
/// behaviour, visual icon, etc. Works in tandem with
/// <c>StatusEffectActionFactory</c>: this factory provides the <b>data</b>
/// (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>
public class StatusEffectInfoFactory : FileFactory<StatusEffectInfo>
{
private static readonly Lazy<StatusEffectInfoFactory> lazy = new(() => new StatusEffectInfoFactory());
public static StatusEffectInfoFactory Instance => lazy.Value;
public override string GroupName => "status_effects";
}
}
Binary file not shown.