forked from GitHub-Mirrors/foundry-sw5e
Reset
This commit is contained in:
parent
38c8941bef
commit
184e916811
64 changed files with 347 additions and 446 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue