notebook实装功能,galgame继续,一些bug修复

This commit is contained in:
FloatGaming
2026-03-06 02:08:43 +08:00
parent 9011fa022e
commit 1f4077cf21
468 changed files with 50175 additions and 11402 deletions
+4 -2
View File
@@ -37,7 +37,9 @@ public class SkillDefinition : ScriptableObject
// New: triggers once when this ally is defeated (HP reaches 0 from above).
OnSelfDefeated,
// New: triggers on this ally when an adjacent ally releases a skill (casts on mana full).
OnAdjacentAllySkillCast
OnAdjacentAllySkillCast,
// New: attack threshold trigger (attack > attackTriggerValue)
OnAttackAboveValue
}
[Header("Inspector")]
@@ -98,7 +100,7 @@ public class SkillDefinition : ScriptableObject
[Tooltip("Optional: for HP percent triggers, evaluate this formula (0..1) to get the threshold instead of hpTriggerPercent. Useful for per-level thresholds like 90/80/75/70.")]
public string hpTriggerPercentFormula = "";
[Tooltip("For OnAttackBelowValue: triggers when attack < attackTriggerValue.")]
[Tooltip("For OnAttackBelowValue/OnAttackAboveValue: threshold for attack comparison.")]
public int attackTriggerValue = 0;
[Tooltip("Optional: if > 0 and repeatValue != 0, when the skill triggers again within this window, the computed amount is overridden by repeatValue.")]