|
@@ -4,21 +4,9 @@
|
|
* If making a new description, you should clone it for each CombatResult variant.
|
|
* If making a new description, you should clone it for each CombatResult variant.
|
|
*/
|
|
*/
|
|
class CombatHit extends ContentMarker {
|
|
class CombatHit extends ContentMarker {
|
|
- public static FULL_DODGE = new CombatHit("Full Dodge", true);
|
|
|
|
- public static PARTIAL_DODGE = new CombatHit("Partial Dodge", true);
|
|
|
|
- public static FULL_HIT = new CombatHit("Full Hit", true);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * These are markers that explain how much damage was caused by the attack.
|
|
|
|
- * Low/High is relative to a percentage of overall HP. Low < 25%, Medium < 50%, High >= 50% of max health.
|
|
|
|
- * These are non-mandatory, but if describing the amount of damage caused one of them should be included.
|
|
|
|
- * Note: while a description without any of these will still work, a description with more than one will never be picked.
|
|
|
|
- */
|
|
|
|
-class CombatDamage extends ContentMarker {
|
|
|
|
- public static LOW_DAMAGE = new CombatDamage("Low Damage");
|
|
|
|
- public static MEDIUM_DAMAGE = new CombatDamage("Medium Damage");
|
|
|
|
- public static HIGH_DAMAGE = new CombatDamage("High Damage");
|
|
|
|
|
|
+ public static MISS = new CombatHit("Miss", true);
|
|
|
|
+ public static HIT = new CombatHit("Hit", true);
|
|
|
|
+ public static CRITICAL = new CombatHit("Strong Hit", true);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|