refactor: use noImplicitOverride option
This commit is contained in:
parent
c9a3818571
commit
12bc76ba54
18 changed files with 45 additions and 85 deletions
|
@ -9,14 +9,12 @@ import { DS4Item } from "../item";
|
|||
import { calculateSpellPrice } from "./calculate-spell-price";
|
||||
|
||||
export class DS4Spell extends DS4Item {
|
||||
/** @override */
|
||||
prepareDerivedData(): void {
|
||||
override prepareDerivedData(): void {
|
||||
this.data.data.rollable = this.data.data.equipped;
|
||||
this.data.data.price = calculateSpellPrice(this.data.data);
|
||||
}
|
||||
|
||||
/** @override */
|
||||
async roll(options: { speaker?: { token?: TokenDocument; alias?: string } } = {}): Promise<void> {
|
||||
override async roll(options: { speaker?: { token?: TokenDocument; alias?: string } } = {}): Promise<void> {
|
||||
const game = getGame();
|
||||
|
||||
if (!this.data.data.equipped) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue