Jester time

This commit is contained in:
2026-11-21 23:07:42 -03:00
parent 0c711b8163
commit f308ab52f1
14 changed files with 3317 additions and 395 deletions
+6
View File
@@ -180,6 +180,12 @@ export interface LivingRef {
// cause is for events and the death message, like "magic"
damage(amount: number, cause?: string): void;
heal(amount: number): void;
// its stats, like Player's: "cubi:movement_speed", "cubi:attack_damage"... a mob's modifiers are saved with it
attribute(id: Id): number;
// replaces one with the same id on that attribute
add_modifier(attribute: Id, modifier: AttributeModifier): void;
// whether it had it
remove_modifier(attribute: Id, id: string): boolean;
}
export interface ComponentRegistry {