notebook实装功能,galgame继续,一些bug修复
This commit is contained in:
@@ -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.")]
|
||||
|
||||
Reference in New Issue
Block a user