Release Healer Man 0.1.9
This commit is contained in:
1 parent
c245a199b6
commit
d060296ade
74 files changed
+5901
-334
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import type { AuraDisposition, DispelCategory } from "../game/combatAuras";
|
||||
|
||||
export interface StatusEffectInspection {
|
||||
readonly id: string;
|
||||
readonly name: string;
|
||||
readonly disposition: AuraDisposition;
|
||||
readonly description: string;
|
||||
readonly remainingLabel: string;
|
||||
readonly stacks: number;
|
||||
readonly targetLabel?: string;
|
||||
readonly dispelCategory?: DispelCategory;
|
||||
}
|
||||
|
||||
export type StatusEffectInspectHandler = (effect: StatusEffectInspection | null) => void;
|
||||
|
||||
export function timedEffectDescription(
|
||||
kind: "dot" | "hot",
|
||||
authoredDescription?: string,
|
||||
): string {
|
||||
const authored = authoredDescription?.trim();
|
||||
if (authored) return authored;
|
||||
return kind === "hot"
|
||||
? "Restores health periodically while active."
|
||||
: "Deals damage periodically while active.";
|
||||
}
|
||||
Reference in new issue
Block a user