mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 07:23:37 +02:00
[Feature] ArmorEffect reworked into ChangeType on BaseEffect (#1739)
* Initial * . * Single armor rework start * More fixes * Fixed DamageReductionDialog * Removed last traces of ArmorEffect * .
This commit is contained in:
parent
0b5de79ca8
commit
b5e0bb7c27
26 changed files with 339 additions and 416 deletions
|
|
@ -762,10 +762,6 @@ export default function DHApplicationMixin(Base) {
|
|||
data.system.domain = parent.system.domains[0];
|
||||
}
|
||||
|
||||
if (documentClass === 'ActiveEffect') {
|
||||
return cls.createDialog(data, { parent: this.document });
|
||||
}
|
||||
|
||||
const doc = await cls.create(data, { parent, renderSheet: !event.shiftKey });
|
||||
if (parentIsItem && type === 'feature') {
|
||||
await this.document.update({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue