New source found from dndbeyond.com
This commit is contained in:
@@ -4,7 +4,7 @@ import { AbilityScoreStatTypeEnum } from "../engine/Core";
|
||||
import { HelperUtils } from "../engine/Helper";
|
||||
import { RuleDataAccessors } from "../engine/RuleData";
|
||||
import { rulesEngineSelectors } from "../selectors";
|
||||
import { FeaturesManager } from './FeaturesManager';
|
||||
import { BaseManager } from './BaseManager';
|
||||
export const abilityDefinitionMap = new Map();
|
||||
const abilityMangerMap = new Map();
|
||||
export const getAbilityManager = (params) => {
|
||||
@@ -23,7 +23,7 @@ export const getAbilityManager = (params) => {
|
||||
abilityMangerMap.set(abilityId, newAbilityManager);
|
||||
return newAbilityManager;
|
||||
};
|
||||
export class AbilityManager extends FeaturesManager {
|
||||
export class AbilityManager extends BaseManager {
|
||||
constructor(params) {
|
||||
super(params);
|
||||
//Accessors
|
||||
@@ -87,7 +87,6 @@ export class AbilityManager extends FeaturesManager {
|
||||
getCompendiumText() {
|
||||
const abilityRuleData = this.getAbilityRuleData();
|
||||
// TODO: we should accessor all the things?
|
||||
// maybe gfs will be the time to do it?
|
||||
return abilityRuleData.compendiumText;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user