Jester time
This commit is contained in:
@@ -82,6 +82,10 @@ interface LivingRef {
|
||||
effect(id: Id): { readonly amplifier: number; readonly duration: number } | undefined;
|
||||
damage(amount: number, cause?: string): void; // cause is for events and the death message
|
||||
heal(amount: number): void;
|
||||
// its attributes and their modifiers, like a player's (see players.md). a mob's modifiers are saved with it
|
||||
attribute(id: Id): number;
|
||||
add_modifier(attribute: Id, modifier: AttributeModifier): void;
|
||||
remove_modifier(attribute: Id, id: string): boolean;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user