@rpg-engine/long-bow 0.8.235 → 0.8.236

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { ISpell } from '@rpg-engine/shared';
1
+ import { ISpell, ItemRarities } from '@rpg-engine/shared';
2
2
  import React from 'react';
3
3
  export interface ISpellProps {
4
4
  atlasJSON: any;
@@ -12,5 +12,6 @@ export interface ISpellProps {
12
12
  spellKey: string;
13
13
  spell: ISpell;
14
14
  activeCooldown?: number;
15
+ rarity?: ItemRarities;
15
16
  }
16
17
  export declare const Spell: React.FC<ISpellProps>;
@@ -1,4 +1,4 @@
1
- import { IShortcut, ISpell } from '@rpg-engine/shared';
1
+ import { IShortcut, ISpell, ItemRarities } from '@rpg-engine/shared';
2
2
  import React from 'react';
3
3
  export interface ISpellbookProps {
4
4
  onClose?: () => void;
@@ -18,5 +18,6 @@ export interface ISpellbookProps {
18
18
  iconAtlasJSON?: any;
19
19
  scale?: number;
20
20
  spellCooldowns?: Record<string, number>;
21
+ learnedSpellRarities?: Partial<Record<string, ItemRarities>>;
21
22
  }
22
23
  export declare const Spellbook: React.FC<ISpellbookProps>;
@@ -2,5 +2,6 @@ import { ISpell } from '@rpg-engine/shared';
2
2
  import React from 'react';
3
3
  export interface IMagicTooltipProps {
4
4
  spell: ISpell;
5
+ anchor?: HTMLElement | null;
5
6
  }
6
7
  export declare const MagicTooltip: React.FC<IMagicTooltipProps>;