DND5e Core 1.2.3

DND5e Core 1.2.3 modded to SW5e System
This commit is contained in:
supervj 2021-01-19 21:28:45 -05:00
parent 063f924183
commit c208552f70
9 changed files with 82 additions and 68 deletions

View file

@ -619,6 +619,11 @@ export default class ActorSheet5e extends ActorSheet {
itemData = scroll.data;
}
// Ignore certain statuses
if ( itemData.data ) {
["attunement", "equipped", "proficient", "prepared"].forEach(k => delete itemData.data[k]);
}
// Create the owned item as normal
return super._onDropItemCreate(itemData);
}