mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 10:29:54 +02:00
Changed from aura to attached. Added functionality to Elemental Aura
This commit is contained in:
parent
e76df049d1
commit
b860e7f1c0
4 changed files with 170 additions and 100 deletions
|
|
@ -121,8 +121,8 @@ export const areaTypes = {
|
|||
id: 'placed',
|
||||
label: 'DAGGERHEART.CONFIG.AreaTypes.placed.label'
|
||||
},
|
||||
aura: {
|
||||
id: 'aura',
|
||||
label: 'DAGGERHEART.CONFIG.AreaTypes.aura.label'
|
||||
attached: {
|
||||
id: 'attached',
|
||||
label: 'DAGGERHEART.CONFIG.AreaTypes.attached.label'
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ export default class DhpChatMessage extends foundry.documents.ChatMessage {
|
|||
const placeRegion = data => {
|
||||
canvas.regions.placeRegion(data, {
|
||||
create: true,
|
||||
attachToToken: selectedArea.type === CONFIG.DH.ACTIONS.areaTypes.aura.id
|
||||
attachToToken: selectedArea.type === CONFIG.DH.ACTIONS.areaTypes.attached.id
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue