RC-14 | Add the speed derived data

This commit is contained in:
Oliver-Akins 2024-12-10 22:40:11 -07:00
parent 49c37b66f8
commit 0f9afca274

View file

@ -67,5 +67,13 @@ export class HeroData extends foundry.abstract.TypeDataModel {
};
};
prepareDerivedData() {};
prepareDerivedData() {
super.prepareDerivedData();
// Movement speeds
this.speed = {
move: this.ability.gait + 3,
run: (this.ability.gait + 3) * 2,
};
};
};