{
	"spell": [
		{
			"name": "Absorb Elements",
			"source": "XGE",
			"system": {
				"target.affects.type": "self"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "reaction",
						"condition": "which you take when you take acid, cold, fire, lightning, or thunder damage"
					},
					"effects": [
						{
							"foundryId": "absorbElements1"
						},
						{
							"foundryId": "absorbElements2"
						},
						{
							"foundryId": "absorbElements3"
						},
						{
							"foundryId": "absorbElements4"
						},
						{
							"foundryId": "absorbElements5"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "absorbElements1",
					"name": "Acid Resistance",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "acid"
						}
					]
				},
				{
					"foundryId": "absorbElements2",
					"name": "Cold Resistance",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "cold"
						}
					]
				},
				{
					"foundryId": "absorbElements3",
					"name": "Fire Resistance",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "fire"
						}
					]
				},
				{
					"foundryId": "absorbElements4",
					"name": "Lightning Resistance",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "lightning"
						}
					]
				},
				{
					"foundryId": "absorbElements5",
					"name": "Thunder Resistance",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "thunder"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Aid",
			"source": "XPHB",
			"activities": [
				{
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"types": [
							"healing"
						],
						"scaling": {
							"mode": "whole",
							"formula": "5"
						},
						"bonus": "5"
					},
					"effects": [
						{
							"foundryId": "aid"
						},
						{
							"foundryId": "aid1"
						},
						{
							"foundryId": "aid2"
						},
						{
							"foundryId": "aid3"
						},
						{
							"foundryId": "aid4"
						},
						{
							"foundryId": "aid5"
						},
						{
							"foundryId": "aid6"
						},
						{
							"foundryId": "aid7"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "aid",
					"name": "Level 2: +5 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 5
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				},
				{
					"foundryId": "aid1",
					"name": "Level 3: +10 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 10
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				},
				{
					"foundryId": "aid2",
					"name": "Level 4: +15 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 15
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				},
				{
					"foundryId": "aid3",
					"name": "Level 5: +20 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 20
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				},
				{
					"foundryId": "aid4",
					"name": "Level 6: +25 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 25
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				},
				{
					"foundryId": "aid5",
					"name": "Level 7: +30 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 30
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				},
				{
					"foundryId": "aid6",
					"name": "Level 8: +35 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 35
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				},
				{
					"foundryId": "aid7",
					"name": "Level 9: +40 Max HP",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.hp.tempmax",
							"mode": "ADD",
							"value": 40
						}
					],
					"description": "The target's Hit Point maximum is increased for the duration."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Alarm",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast over Area",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Cast on Window or Door",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cube",
							"size": "5"
						},
						"affects": {
							"count": "1",
							"type": "object"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Alter Self",
			"source": "XPHB",
			"activities": [
				{
					"name": "Aquatic Adaptation",
					"type": "utility",
					"img": "icons/creatures/fish/fish-bluefin-yellow-blue.webp",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "alterSelf"
						}
					]
				},
				{
					"name": "Change Appearance",
					"type": "utility",
					"img": "icons/creatures/magical/spirit-undead-ghost-blue.webp",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "alterSelf1"
						}
					]
				},
				{
					"name": "Natural Weapons",
					"type": "utility",
					"img": "icons/creatures/abilities/fang-tooth-blood-red.webp",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "alterSelf2"
						}
					]
				},
				{
					"name": "Attack: Claws",
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"range": {
						"units": "ft",
						"value": "5"
					},
					"attack": {
						"type": {
							"value": "melee",
							"classification": "unarmed"
						},
						"ability": "spellcasting"
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"bonus": "@mod",
								"types": [
									"slashing"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Attack: Fangs/Horns",
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"range": {
						"value": "5",
						"units": "ft"
					},
					"attack": {
						"type": {
							"value": "melee",
							"classification": "unarmed"
						},
						"ability": "spellcasting"
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"bonus": "@mod",
								"types": [
									"piercing"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Attack: Hooves",
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"range": {
						"value": "5",
						"units": "ft"
					},
					"attack": {
						"type": {
							"value": "melee",
							"classification": "unarmed"
						},
						"ability": "spellcasting"
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"bonus": "@mod",
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"effects": [
				{
					"foundryId": "alterSelf",
					"name": "Aquatic Adaptation",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.attributes.movement.swim",
							"mode": "UPGRADE",
							"value": 1
						}
					],
					"description": "You can breathe underwater and gain a Swim Speed equal to your Speed."
				},
				{
					"foundryId": "alterSelf1",
					"name": "Altered Appearance",
					"duration": {
						"seconds": 3600
					}
				},
				{
					"foundryId": "alterSelf2",
					"name": "Natural Weapon",
					"duration": {
						"seconds": 3600
					},
					"description": "When you use your Unarmed Strike to deal damage with that new growth, it deals 1d6 damage of the type in parentheses instead of dealing the normal damage for your Unarmed Strike, and you use your spellcasting ability modifier for the attack and damage rolls rather than using Strength."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Animal Friendship",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "animalFriendship"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "animalFriendship",
					"name": "Charmed",
					"duration": {
						"rounds": 1,
						"seconds": 86400
					},
					"statuses": [
						"charmed"
					],
					"description": "The target has the &Reference[charmed apply=false] condition for the duration. If you or one of your allies deals damage to the target, the spells ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Animal Messenger",
			"source": "XPHB",
			"system": {
				"duration.value": "@item.level * 48 - 72"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "animalMessenger"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "animalMessenger",
					"name": "Carrying Message",
					"duration": {
						"seconds": 86400
					},
					"description": "The Beast travels for the duration toward the specified location, covering about 25 miles per 24 hours or 50 miles if the Beast can fly. When the Beast arrives, it delivers your message to the creature that you described, mimicking your communication. If the Beast doesn't reach its destination before the spell ends, the message is lost, and the Beast returns to where you cast the spell."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Animal Shapes",
			"source": "XPHB",
			"activities": [
				{
					"name": "Initial Transformation",
					"type": "transform",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"cr": "4",
							"sizes": [
								"tiny",
								"sm",
								"med",
								"lg"
							],
							"types": [
								"beast"
							]
						}
					],
					"transform": {
						"customize": true,
						"mode": "cr",
						"preset": "polymorph"
					},
					"settings": {
						"effects": [
							"origin",
							"otherOrigin",
							"spell"
						],
						"keep": [
							"mental",
							"languages",
							"type",
							"hp"
						],
						"tempFormula": "@source.attributes.hp.max",
						"preset": "polymorph",
						"transformTokens": true
					}
				},
				{
					"name": "Follow Up Transformations",
					"type": "transform",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"cr": "4",
							"sizes": [
								"tiny",
								"sm",
								"med",
								"lg"
							],
							"types": [
								"beast"
							]
						}
					],
					"transform": {
						"customize": true,
						"mode": "cr",
						"preset": "polymorph"
					},
					"settings": {
						"effects": [
							"origin",
							"otherOrigin",
							"spell"
						],
						"keep": [
							"mental",
							"languages",
							"type",
							"hp"
						],
						"preset": "polymorph",
						"transformTokens": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Animate Dead",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level * 2 - 5"
			},
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"name": "Skeleton (bones)",
							"uuid": "@creature[skeleton|xmm]"
						},
						{
							"name": "Zombie (corpse)",
							"uuid": "@creature[zombie|xmm]"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Animate Objects",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@attributes.spell.mod"
			},
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"count": "floor(@attributes.spell.mod / 3)",
							"name": "Huge Object (costs 3)",
							"uuid": "@creature[animated object (huge)|xphb]"
						},
						{
							"count": "floor(@attributes.spell.mod / 2)",
							"name": "Large Object (costs 2)",
							"uuid": "@creature[animated object (large)|xphb]"
						},
						{
							"count": "@attributes.spell.mod",
							"name": "Medium Object",
							"uuid": "@creature[animated object (medium or smaller)|xphb]"
						}
					],
					"match": {
						"proficiency": true,
						"attacks": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Antilife Shell",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "antilifeShell"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "antilifeShell",
					"duration": {
						"seconds": 3600
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Antipathy/Sympathy",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "antipathysympath"
						},
						{
							"foundryId": "antipathysympat1"
						}
					]
				},
				{
					"name": "Antipathy Save",
					"type": "save",
					"img": "icons/magic/control/modfiy-luck-fortune-red.webp",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "day",
						"value": "10"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "120"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "antipathysympat2"
						}
					]
				},
				{
					"name": "Sympathy Save",
					"type": "save",
					"img": "icons/magic/control/modfiy-luck-fortune-gray.webp",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "day",
						"value": "10"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"value": "120",
						"units": "ft"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "antipathysympat3"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "antipathysympath",
					"name": "Antipathy",
					"duration": {
						"seconds": 864000
					}
				},
				{
					"foundryId": "antipathysympat1",
					"name": "Sympathy",
					"duration": {
						"seconds": 864000
					}
				},
				{
					"foundryId": "antipathysympat2",
					"name": "Frightened",
					"duration": {
						"seconds": 864000
					},
					"statuses": [
						"frightened"
					],
					"descriptionEntries": [
						"The creature has the &Reference[Frightened apply=false] condition. The Frightened creature must use its movement on its turns to get as far away as possible from the target, moving by the safest route.",
						{
							"type": "entries",
							"name": "Ending the Effect",
							"entries": [
								"If the Frightened or Charmed creature ends its turn more than 120 feet away from the target, the creature makes a [[/save ability=wis format=long]]. On a successful save, the creature is no longer affected by the target. A creature that successfully saves against this effect is immune to it for 1 minute, after which it can be affected again."
							]
						}
					]
				},
				{
					"foundryId": "antipathysympat3",
					"name": "Charmed",
					"duration": {
						"seconds": 864000
					},
					"statuses": [
						"charmed"
					],
					"descriptionEntries": [
						"The creature has the &Reference[Charmed apply=false] condition. The Charmed creature must use its movement on its turns to get as close as possible to the target, moving by the safest route. If the creature is within 5 feet of the target, the creature can't willingly move away. If the target damages the Charmed creature, that creature can make a Wisdom saving throw to end the effect, as described below.",
						{
							"type": "entries",
							"name": "Ending the Effect",
							"entries": [
								"If the Frightened or Charmed creature ends its turn more than 120 feet away from the target, the creature makes a Wisdom saving throw. On a successful save, the creature is no longer affected by the target. A creature that successfully saves against this effect is immune to it for 1 minute, after which it can be affected again."
							]
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Arcane Gate",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "10",
							"count": "2",
							"width": "5",
							"height": "5"
						},
						"affects": {
							"count": "2",
							"type": "space",
							"special": "Large, unoccupied spaces"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Arcane Vigor",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"formula": "@attributes.hd.largest",
						"name": "Roll Largest Hit Die"
					}
				},
				{
					"name": "Expend d6 Hit Dice",
					"type": "heal",
					"activation": {
						"type": ""
					},
					"consumption": {
						"targets": [
							{
								"type": "hitDice",
								"value": "2",
								"target": "d6",
								"scaling": {
									"mode": "amount",
									"formula": "1"
								}
							}
						]
					},
					"healing": {
						"number": 2,
						"denomination": 6,
						"bonus": "@mod",
						"types": [
							"healing"
						],
						"custom": {
							"formula": "2d@attributes.hd.largestFace + @mod"
						},
						"scaling": {
							"mode": "whole",
							"number": 1
						}
					}
				},
				{
					"name": "Expend d8 Hit Dice",
					"type": "heal",
					"activation": {
						"type": ""
					},
					"consumption": {
						"targets": [
							{
								"type": "hitDice",
								"value": "2",
								"target": "d8",
								"scaling": {
									"mode": "amount",
									"formula": "1"
								}
							}
						]
					},
					"healing": {
						"number": 2,
						"denomination": 8,
						"bonus": "@mod",
						"types": [
							"healing"
						],
						"custom": {
							"formula": "2d@attributes.hd.largestFace + @mod"
						},
						"scaling": {
							"mode": "whole",
							"number": 1
						}
					}
				},
				{
					"name": "Expend d10 Hit Dice",
					"type": "heal",
					"activation": {
						"type": ""
					},
					"consumption": {
						"targets": [
							{
								"type": "hitDice",
								"value": "2",
								"target": "d10",
								"scaling": {
									"mode": "amount",
									"formula": "1"
								}
							}
						]
					},
					"healing": {
						"number": 2,
						"denomination": 10,
						"bonus": "@mod",
						"types": [
							"healing"
						],
						"custom": {
							"formula": "2d@attributes.hd.largestFace + @mod"
						},
						"scaling": {
							"mode": "whole",
							"number": 1
						}
					}
				},
				{
					"name": "Expend d12 Hit Dice",
					"type": "heal",
					"activation": {
						"type": ""
					},
					"consumption": {
						"targets": [
							{
								"type": "hitDice",
								"value": "2",
								"target": "d12",
								"scaling": {
									"mode": "amount",
									"formula": "1"
								}
							}
						]
					},
					"healing": {
						"number": 2,
						"denomination": 12,
						"bonus": "@mod",
						"types": [
							"healing"
						],
						"custom": {
							"formula": "2d@attributes.hd.largestFace + @mod"
						},
						"scaling": {
							"mode": "whole",
							"number": 1
						}
					}
				},
				{
					"name": "Expend d12 Hit Dice",
					"type": "heal",
					"activation": {
						"type": ""
					},
					"consumption": {
						"targets": [
							{
								"type": "hitDice",
								"value": "2",
								"target": "d12",
								"scaling": {
									"mode": "amount",
									"formula": "1"
								}
							}
						]
					},
					"healing": {
						"number": 2,
						"denomination": 12,
						"bonus": "@mod",
						"types": [
							"healing"
						],
						"custom": {
							"formula": "2d@attributes.hd.largestFace + @mod"
						},
						"scaling": {
							"mode": "whole",
							"number": 1
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Armor of Agathys",
			"source": "PHB",
			"activities": [
				{
					"type": "heal",
					"healing": {
						"custom": {
							"enabled": true,
							"formula": "5"
						},
						"types": [
							"temphp"
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Armor of Agathys",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"bonus": "5",
						"types": [
							"temphp"
						],
						"custom": {
							"formula": "5 * @item.level"
						},
						"scaling": {
							"mode": "whole",
							"formula": "5"
						}
					}
				},
				{
					"name": "Frost Damage",
					"type": "damage",
					"activation": {
						"type": "",
						"condition": "when a creature hits you with a melee attack"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"custom": {
									"formula": "(5 * @item.level)d1[cold]"
								},
								"bonus": "5",
								"types": [
									"cold"
								],
								"scaling": {
									"mode": "whole",
									"formula": "5"
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Arms of Hadar",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"necrotic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "armsOfHadar"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "armsOfHadar",
					"name": "No Reactions",
					"duration": {
						"turns": 1
					},
					"description": "The target can't take Reactions until the start of its next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Astral Projection",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "astralProjection"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "astralProjection",
					"name": "Suspended Animation",
					"statuses": [
						"unconscious"
					],
					"description": "Each target's body is left behind in a state of suspended animation; it has the &Reference[Unconscious apply=false] condition, doesn't need food or air, and doesn't age."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Aura of Life",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Aura",
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"bonus": "1",
						"types": [
							"healing"
						],
						"custom": {
							"formula": "1"
						}
					},
					"effects": [
						{
							"foundryId": "auraOfLife"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "auraOfLife",
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "necrotic"
						}
					],
					"description": "While in the aura, you and your allies have Resistance to Necrotic damage, and your Hit Point maximums can't be reduced. If an ally with 0 Hit Points starts its turn in the aura, that ally regains [[/healing 1 type=healing]]{1 Hit Point}."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Aura of Purity",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Aura",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "auraOfPurity"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "auraOfPurity",
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "poison"
						}
					],
					"description": "While in the aura, you and your allies have Resistance to Poison damage and Advantage on saving throws to avoid or end effects that include the &Reference[Blinded apply=false], &Reference[Charmed apply=false], &Reference[Deafened apply=false], &Reference[Frightened apply=false], &Reference[Paralyzed apply=false], &Reference[Poisoned apply=false], or &Reference[Stunned apply=false] condition."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Aura of Vitality",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Aura",
					"type": "heal",
					"img": "systems/dnd5e/icons/svg/trait-damage-immunities.svg",
					"activation": {
						"type": "action"
					},
					"healing": {
						"number": 2,
						"denomination": 6,
						"types": [
							"healing"
						]
					}
				},
				{
					"name": "Start of Turn Heal",
					"type": "heal",
					"activation": {
						"type": "",
						"condition": "start of your turn"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "30"
					},
					"healing": {
						"number": 2,
						"denomination": 6,
						"types": [
							"healing"
						],
						"scaling": {
							"number": 1
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Bane",
			"source": "XPHB",
			"system": {
				"target.affects.count": "2 + @item.level"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "bane"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "bane",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": "-1d4"
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": "-1d4"
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": "-1d4"
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": "-1d4"
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": "-1d4"
						}
					],
					"description": "Whenever a target makes an attack roll or a saving throw before the spell ends, the target must subtract 1d4 from the attack roll or save."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Banishing Smite",
			"source": "XPHB",
			"activities": [
				{
					"name": "Damage and Banish",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 5,
								"denomination": 10,
								"types": [
									"force"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "banishingSmite"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "banishingSmite",
					"name": "Banished",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"incapacitated"
					],
					"description": "The target is transported to a harmless demiplane for the duration. While there, the target has the &Reference[Incapacitated apply=false] condition. When the spell ends, the target reappears in the space it left or in the nearest unoccupied space if that space is occupied."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Banishment",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 3"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "banishment"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "banishment",
					"name": "Banished",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"incapacitated"
					],
					"description": "While there, the target has the &Reference[Incapacitated apply=false] condition. When the spell ends, the target reappears in the space it left or in the nearest unoccupied space if that space is occupied. If the target is an Aberration, a Celestial, an Elemental, a Fey, or a Fiend, the target doesn't return if the spell lasts for 1 minute. The target is instead transported to a random location on a plane (DM's choice) associated with its creature type."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Barkskin",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "barkskin"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "barkskin",
					"name": "Bark-like Skin",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.attributes.ac.min",
							"mode": "UPGRADE",
							"value": 17
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Beacon of Hope",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "beaconOfHope"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "beaconOfHope",
					"name": "Hopeful",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.abilities.wis.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.attributes.death.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target has Advantage on Wisdom saving throws and Death Saving Throws and regains the maximum number of Hit Points possible from any healing."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Befuddlement",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 12,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"int"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "befuddlement"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "befuddlement",
					"name": "Befuddled",
					"descriptionEntries": [
						"On a failed save, the target takes 10d12 Psychic damage and can't cast spells or take the Magic action. At the end of every 30 days, the target repeats the [[/save ability=wis]] save, ending the effect on a success. The effect can also be ended by the {@spell Greater Restoration|XPHB}, {@spell Heal|XPHB}, or {@spell Wish|XPHB} spell."
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Bestow Curse",
			"source": "XPHB",
			"activities": [
				{
					"name": "Curse Ability",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Curse Attacks",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "bestowCurse"
						}
					]
				},
				{
					"name": "Curse Actions",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "bestowCurse"
						}
					]
				},
				{
					"name": "Curse Resilience",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 8,
								"types": [
									"necrotic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "bestowCurse1"
						}
					]
				}
			],
			"effects": [
				{
					"name": "Cursed Charisma",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.cha.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.cha.save.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks and saving throws made with the chosen ability."
				},
				{
					"name": "Cursed Constitution",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.con.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.con.save.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks and saving throws made with the chosen ability."
				},
				{
					"name": "Cursed Dexterity",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.dex.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.dex.save.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks and saving throws made with the chosen ability."
				},
				{
					"name": "Cursed Intelligence",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.int.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.int.save.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks and saving throws made with the chosen ability."
				},
				{
					"name": "Cursed Strength",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.str.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.str.save.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks and saving throws made with the chosen ability."
				},
				{
					"name": "Cursed Wisdom",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.wis.save.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.wis.save.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks and saving throws made with the chosen ability."
				},
				{
					"foundryId": "bestowCurse",
					"name": "Cursed Attacks",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"description": "The target has Disadvantage on attack rolls against you."
				},
				{
					"foundryId": "bestowCurse1",
					"name": "Cursed Resilience",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"cursed"
					],
					"description": "If you deal damage to the target with an attack roll or a spell, the target takes an extra [[/damage 1d8 type=necrotic]] damage."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Blade Barrier",
			"source": "XPHB",
			"activities": [
				{
					"name": "Blade Wall",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "100",
							"width": "5",
							"height": "20"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 6,
								"denomination": 10,
								"types": [
									"force"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Blade Ring",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cylinder",
							"size": "30",
							"width": "5",
							"height": "20"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 6,
								"denomination": 10,
								"types": [
									"force"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Blade Ward",
			"source": "PHB",
			"effects": [
				{
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "CUSTOM",
							"value": "bludgeoning",
							"priority": 20
						},
						{
							"key": "system.traits.dr.value",
							"mode": "CUSTOM",
							"value": "piercing",
							"priority": 20
						},
						{
							"key": "system.traits.dr.value",
							"mode": "CUSTOM",
							"value": "slashing",
							"priority": 20
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Blade Ward",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"visible": true,
						"name": "Attack Penalty",
						"formula": "1d4"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Bless",
			"source": "XPHB",
			"system": {
				"target.affects.count": "2 + @item.level"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "bless"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "bless",
					"name": "Blessed",
					"duration": {
						"seconds": 60,
						"rounds": 10
					},
					"changes": [
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": "1d4"
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": "1d4"
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": "1d4"
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": "1d4"
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": "1d4"
						}
					],
					"description": "Whenever a target makes an attack roll or a saving throw before the spell ends, the target adds 1d4 to the attack roll or save."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Blinding Smite",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 3,
								"denomination": 8,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "blindingSmite"
						}
					]
				},
				{
					"name": "End of Turn Save",
					"type": "save",
					"activation": {
						"type": ""
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "blindingSmite"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "blindingSmite",
					"name": "Blinded",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"blinded"
					],
					"description": "The target has the Blinded condition until the spell ends. At the end of each of its turns, the Blinded target makes a [[/save ability=con]] saving throw, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Blindness/Deafness",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 1"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "blindnessdeafnes"
						},
						{
							"foundryId": "blindnessdeafne1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "blindnessdeafnes",
					"name": "Blindness",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"blinded"
					],
					"description": "At the end of each of its turns, the target repeats the [[/save ability=con]] save, ending the spell on itself on a success."
				},
				{
					"foundryId": "blindnessdeafne1",
					"name": "Deafness",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"deafened"
					],
					"description": "At the end of each of its turns, the target repeats the [[/save ability=con]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Blink",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"formula": "1d6cs>3"
					},
					"effects": [
						{
							"foundryId": "blink"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "blink",
					"name": "Ethereal",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"ethereal"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Booming Blade",
			"source": "TCE",
			"activities": [
				{
					"type": "damage",
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						},
						"template": {
							"units": ""
						}
					},
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "(floor(((@details.level + @attributes.spell.level) + 1) / 6))d8[on hit]"
								},
								"types": [
									"thunder"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Call Lightning",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Save",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 3,
								"denomination": 10,
								"types": [
									"lightning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Calm Emotions",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "calmEmotions"
						},
						{
							"foundryId": "calmEmotions1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "calmEmotions",
					"name": "Calmed",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "charmed"
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "frightened"
						}
					],
					"description": "The creature has Immunity to the Charmed and Frightened conditions until the spell ends. If the creature was already Charmed or Frightened, those conditions are suppressed for the duration."
				},
				{
					"foundryId": "calmEmotions1",
					"name": "Indifference",
					"duration": {
						"seconds": 60
					},
					"description": "The creature becomes Indifferent about creatures of your choice that it's Hostile toward. This indifference ends if the target takes damage or witnesses its allies taking damage. When the spell ends, the creature's attitude returns to normal."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Charm Monster",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 3"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "charmMonster"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "charmMonster",
					"name": "Charmed",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"charmed"
					],
					"description": "The target has the &Reference[Charmed apply=false] condition until the spell ends or until you or your allies damage it. The Charmed creature is Friendly to you. When the spell ends, the target knows it was Charmed by you."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Charm Person",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "charmPerson"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "charmPerson",
					"name": "Charmed",
					"duration": {
						"rounds": 1,
						"seconds": 3600
					},
					"statuses": [
						"charmed"
					],
					"description": "the target has the &Reference[charmed apply=false] condition until the spell ends or until you or your allies damage it. The Charmed creature is Friendly to you. When the spell ends, the target knows it was Charmed by you."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Chill Touch",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "melee"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 10,
								"types": [
									"necrotic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "chillTouch"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "chillTouch",
					"name": "Blocked Healing",
					"duration": {
						"rounds": 1
					},
					"description": "The target can't regain Hit Points until the end of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Chromatic Orb",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 3,
								"denomination": 8,
								"types": [
									"acid",
									"cold",
									"fire",
									"lightning",
									"poison",
									"thunder"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Circle of Power",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "circleOfPower"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "circleOfPower",
					"name": "Circle's Power",
					"duration": {
						"seconds": 600
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Cloud of Daggers",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 4,
								"denomination": 4,
								"types": [
									"slashing"
								],
								"scaling": {
									"mode": "whole",
									"number": 2
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Color Spray",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "colorSpray"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "colorSpray",
					"name": "Blinded",
					"duration": {
						"rounds": 1
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Command",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Compelled Duel",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "compelledDuel"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "compelledDuel",
					"name": "Compelled",
					"duration": {
						"seconds": 60
					},
					"description": "The target has Disadvantage on attack rolls against creatures other than you, and it can't willingly move to a space that is more than 30 feet away from you."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Comprehend Languages",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "comprehendLangua"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "comprehendLangua",
					"name": "Comprehension",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1,
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.languages.value",
							"mode": "ADD",
							"value": "standard"
						},
						{
							"key": "system.traits.languages.value",
							"mode": "ADD",
							"value": "exotic"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Compulsion",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "compulsion"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "compulsion",
					"name": "Charmed",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"charmed"
					],
					"description": "You can take a Bonus Action to designate a direction that is horizontal to you. Each &Reference[Charmed apply=false] target must use as much of its movement as possible to move in that direction on its next turn, taking the safest route. After moving in this way, a target repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Confusion",
			"source": "XPHB",
			"system": {
				"target.template.size": "@item.level * 5 - 10"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "confusion"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "confusion",
					"name": "Confused",
					"duration": {
						"seconds": 60
					},
					"descriptionEntries": [
						"The target can't take Bonus Actions or Reactions and must roll 1d10 at the start of each of its turns to determine its behavior for that turn, consulting the table below.",
						{
							"type": "table",
							"colStyles": [
								"col-2 text-center",
								"col-10"
							],
							"colLabels": [
								"1d10",
								"Behavior for the Turn"
							],
							"rows": [
								[
									"1",
									"The target doesn't take an action, and it uses all its movement to move. Roll {@dice 1d4} for the direction: {@b 1}, north; {@b 2}, east; {@b 3}, south; or {@b 4}, west."
								],
								[
									"2-6",
									"The target doesn't move or take actions."
								],
								[
									"7-8",
									"The target doesn't move, and it takes the {@action Attack|XPHB} action to make one melee attack against a random creature within reach. If none are within reach, the target takes no action."
								],
								[
									"9-10",
									"The target chooses its behavior."
								]
							]
						},
						"At the end of each of its turns, an affected target repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Conjure Animals",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"bonuses": {
						"saveDamage": "(@item.level - 3)d10"
					},
					"match": {
						"saves": true
					}
				},
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 3,
								"denomination": 10,
								"types": [
									"slashing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Conjure Celestial",
			"source": "XPHB",
			"activities": [
				{
					"name": "Conjure Pillar",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/damage/radiant.svg",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Healing Light",
					"type": "heal",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"healing": {
						"number": 4,
						"denomination": 12,
						"types": [
							"healing"
						],
						"scaling": {
							"number": 1,
							"mode": "whole"
						}
					}
				},
				{
					"name": "Searing Light",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 6,
								"denomination": 12,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Conjure Fey",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"bonuses": {
						"attackDamage": "@mod + (@item.level - 6)d12"
					},
					"match": {
						"attacks": true,
						"proficiency": true
					}
				},
				{
					"name": "Teleport and Attack",
					"type": "utility",
					"activation": {
						"type": "bonus"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "space",
							"special": "within range of spirit"
						}
					},
					"range": {
						"units": "ft",
						"value": "30"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Conjure Minor Elementals",
			"source": "XPHB",
			"activities": [
				{
					"name": "Bonus Attack Damage",
					"type": "damage",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"type": "any"
						}
					},
					"range": {
						"units": "ft",
						"value": "15"
					},
					"damage": {
						"critical": {
							"allow": true
						},
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"acid",
									"cold",
									"fire",
									"lightning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Conjure Volley",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 8,
								"denomination": 8,
								"types": [
									"force"
								]
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Conjure Woodland Beings",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 5,
								"denomination": 8,
								"types": [
									"force"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Disengage",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "bonus"
					},
					"target": {
						"affects": {
							"type": "self"
						}
					}
				},
				{
					"name": "Emanation Save",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "10"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 5,
								"denomination": 8,
								"types": [
									"force"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Contact Other Plane",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 6,
								"denomination": 6,
								"types": [
									"psychic"
								]
							}
						]
					},
					"save": {
						"ability": [
							"int"
						],
						"dc": {
							"calculation": "custom",
							"formula": "15"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Contagion",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 11,
								"denomination": 8,
								"types": [
									"necrotic"
								]
							}
						]
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "contagion"
						},
						{
							"foundryId": "contagion1"
						},
						{
							"foundryId": "contagion2"
						},
						{
							"foundryId": "contagion3"
						},
						{
							"foundryId": "contagion4"
						},
						{
							"foundryId": "contagion5"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "contagion",
					"name": "Infected (Strength)",
					"duration": {
						"seconds": 604800
					},
					"statuses": [
						"poisoned"
					],
					"descriptionEntries": [
						{
							"type": "list",
							"items": [
								"While &Reference[Poisoned apply=false], the target has Disadvantage on saving throws made with the chosen ability.",
								"The target must repeat the [[/save ability=con format=long]] at the end of each of its turns until it gets three successes or failures.",
								"Whenever the target receives an effect that would end the Poisoned condition, the target must succeed on a [[/save ability=con format=long]], or the condition doesn't end on it."
							]
						}
					]
				},
				{
					"foundryId": "contagion1",
					"name": "Infected (Dexterity)",
					"duration": {
						"seconds": 604800
					},
					"statuses": [
						"poisoned"
					],
					"descriptionEntries": [
						{
							"type": "list",
							"items": [
								"While &Reference[Poisoned apply=false], the target has Disadvantage on saving throws made with the chosen ability.",
								"The target must repeat the [[/save ability=con format=long]] at the end of each of its turns until it gets three successes or failures.",
								"Whenever the target receives an effect that would end the Poisoned condition, the target must succeed on a [[/save ability=con format=long]], or the condition doesn't end on it."
							]
						}
					]
				},
				{
					"foundryId": "contagion2",
					"name": "Infected (Constitution)",
					"duration": {
						"seconds": 604800
					},
					"statuses": [
						"poisoned"
					],
					"descriptionEntries": [
						{
							"type": "list",
							"items": [
								"While &Reference[Poisoned apply=false], the target has Disadvantage on saving throws made with the chosen ability.",
								"The target must repeat the [[/save ability=con format=long]] at the end of each of its turns until it gets three successes or failures.",
								"Whenever the target receives an effect that would end the Poisoned condition, the target must succeed on a [[/save ability=con format=long]], or the condition doesn't end on it."
							]
						}
					]
				},
				{
					"foundryId": "contagion3",
					"name": "Infected (Intelligence)",
					"duration": {
						"seconds": 604800
					},
					"statuses": [
						"poisoned"
					],
					"descriptionEntries": [
						{
							"type": "list",
							"items": [
								"While &Reference[Poisoned apply=false], the target has Disadvantage on saving throws made with the chosen ability.",
								"The target must repeat the [[/save ability=con format=long]] at the end of each of its turns until it gets three successes or failures.",
								"Whenever the target receives an effect that would end the Poisoned condition, the target must succeed on a [[/save ability=con format=long]], or the condition doesn't end on it."
							]
						}
					]
				},
				{
					"foundryId": "contagion4",
					"name": "Infected (Wisdom)",
					"duration": {
						"seconds": 604800
					},
					"statuses": [
						"poisoned"
					],
					"descriptionEntries": [
						{
							"type": "list",
							"items": [
								"While &Reference[Poisoned apply=false], the target has Disadvantage on saving throws made with the chosen ability.",
								"The target must repeat the [[/save ability=con format=long]] at the end of each of its turns until it gets three successes or failures.",
								"Whenever the target receives an effect that would end the Poisoned condition, the target must succeed on a [[/save ability=con format=long]], or the condition doesn't end on it."
							]
						}
					]
				},
				{
					"foundryId": "contagion5",
					"name": "Infected (Charisma)",
					"duration": {
						"seconds": 604800
					},
					"statuses": [
						"poisoned"
					],
					"descriptionEntries": [
						{
							"type": "list",
							"items": [
								"While &Reference[Poisoned apply=false], the target has Disadvantage on saving throws made with the chosen ability.",
								"The target must repeat the [[/save ability=con format=long]] at the end of each of its turns until it gets three successes or failures.",
								"Whenever the target receives an effect that would end the Poisoned condition, the target must succeed on a [[/save ability=con format=long]], or the condition doesn't end on it."
							]
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Contingency",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Contingency",
					"type": "enchant",
					"activation": {
						"type": "action"
					},
					"restrictions": {
						"allowMagical": true,
						"categories": [
							"scroll"
						],
						"type": "consumable"
					},
					"effects": [
						{
							"foundryId": "contingency"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "contingency",
					"name": "Contingency Spell",
					"type": "enchantment",
					"duration": {
						"seconds": 864000
					},
					"changes": [
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "Contingency: {}"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Control Water",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Whirlpool",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cylinder",
							"size": "25",
							"height": "-25"
						}
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Flood, Part, or Redirect",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"name": "25% Capsize Chance",
						"formula": "1d100cs<26"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Control Weather",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Control",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"name": "Weather Change Delay",
						"formula": "10 * 1d4[minutes]"
					}
				},
				{
					"name": "Change Conditions",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "action"
					},
					"duration": {
						"units": "hour",
						"value": "8"
					},
					"roll": {
						"formula": "10 * 1d4[minutes]",
						"name": "Weather Change Delay"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Cordon of Arrows",
			"source": "XPHB",
			"system": {
				"target.affects.count": "2 * @item.level"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": ""
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "1"
							}
						]
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "30"
					},
					"damage": {
						"onSave": "none",
						"parts": [
							{
								"number": 2,
								"denomination": 4,
								"types": [
									"piercing"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "@item.uses.value - (2 * @item.level)"
							}
						]
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "30"
						},
						"affects": {
							"choice": true,
							"type": "creature"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Counterspell",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Create or Destroy Water",
			"source": "XPHB",
			"system": {
				"target.template.size": "25 + 5 * @item.level"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"formula": "10 * @item.level"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Create Undead",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 3"
			},
			"activities": [
				{
					"name": "Animate Corpses",
					"type": "summon",
					"img": "icons/magic/death/hand-dirt-undead-zombie.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "@item.level - 3",
							"type": "object"
						}
					},
					"profiles": [
						{
							"count": "@item.level - 3",
							"uuid": "@creature[ghoul|xmm]"
						},
						{
							"count": "@item.level - 6",
							"uuid": "@creature[ghast|xmm]",
							"level": {
								"min": 8
							}
						},
						{
							"count": "@item.level - 6",
							"uuid": "@creature[wight|xmm]",
							"level": {
								"min": 8
							}
						},
						{
							"count": "2",
							"uuid": "@creature[mummy|xmm]",
							"level": {
								"min": 9
							}
						}
					]
				},
				{
					"name": "Reassert Control",
					"type": "utility",
					"img": "icons/magic/death/skull-humanoid-crown-white-blue.webp",
					"activation": {
						"type": "action"
					},
					"duration": {
						"units": "hour",
						"value": "24"
					},
					"target": {
						"affects": {
							"count": "@item.level - 3",
							"type": "creature"
						}
					}
				},
				{
					"name": "Mentally Command",
					"type": "utility",
					"img": "icons/magic/death/skull-energy-light-purple.webp",
					"activation": {
						"type": "bonus"
					},
					"target": {
						"affects": {
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "120"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Crown of Madness",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "crownOfMadness"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "crownOfMadness",
					"name": "Spectral Crown",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"charmed"
					],
					"description": "The target must use its action before moving on each of its turns to make a melee attack against a creature other than itself that you mentally choose. The target can act normally on its turn if you choose no creature or if no creature is within its reach. The target repeats the [[/save ability=wis]] save at the end of each of its turns, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Crusader's Mantle",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "crusadersMantle"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "crusadersMantle",
					"name": "Crusader's Mantle",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.bonuses.mwak.damage",
							"mode": "ADD",
							"value": "1d4[radiant]"
						},
						{
							"key": "system.bonuses.rwak.damage",
							"mode": "ADD",
							"value": "1d4[radiant]"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dancing Lights",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Lights",
					"type": "summon",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Move Lights",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "bonus"
					},
					"target": {
						"affects": {
							"type": "space"
						}
					},
					"range": {
						"units": "ft",
						"value": "60"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Darkvision",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "darkvision"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "darkvision",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.senses.darkvision",
							"mode": "UPGRADE",
							"value": 120
						}
					],
					"description": "For the duration, a willing creature you touch has &Reference[darkvision] with a range of 150 feet."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Death Ward",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "deathWard"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "deathWard",
					"name": "Protection from Death",
					"duration": {
						"seconds": 28800
					},
					"description": "The first time the target would drop to 0 Hit Points before the spell ends, the target instead drops to 1 Hit Point, and the spell ends. If the spell is still in effect when the target is subjected to an effect that would kill it instantly without dealing damage, that effect is negated against the target, and the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Delayed Blast Fireball",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Bead",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/damage/force.svg",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "@item.uses.value"
							}
						]
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "1"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				},
				{
					"name": "Touch Bead",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/trait-skills.svg",
					"activation": {
						"type": "",
						"condition": "a creature touches the glowing bead before the spell ends"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Turn End Damage Increase",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/scale-value.svg",
					"activation": {
						"type": "",
						"condition": "whenever your turn ends"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "-1"
							}
						]
					},
					"range": {
						"units": "any"
					}
				},
				{
					"name": "Trigger Explosion",
					"type": "save",
					"activation": {
						"type": "",
						"condition": "when the spell ends"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "20"
						},
						"affects": {
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 12,
								"denomination": 6,
								"bonus": "(@item.uses.value)d6",
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Destructive Wave",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 5,
								"denomination": 6,
								"types": [
									"thunder"
								],
								"scaling": {
									"number": 1
								}
							},
							{
								"number": 5,
								"denomination": 6,
								"types": [
									"radiant",
									"necrotic"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "destructiveWave"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "destructiveWave",
					"name": "Prone",
					"statuses": [
						"prone"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Detect Evil and Good",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "detectEvilAndGoo"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "detectEvilAndGoo",
					"duration": {
						"seconds": 600
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Detect Magic",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "detectMagic"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "detectMagic",
					"duration": {
						"seconds": 600
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Detect Poison and Disease",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "detectPoisonAndD"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "detectPoisonAndD",
					"duration": {
						"seconds": 600
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Detect Thoughts",
			"source": "XPHB",
			"activities": [
				{
					"name": "Probe Deeper",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "30"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Sense Thoughts",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/damage/psychic.svg",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dimension Door",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 4,
								"denomination": 6,
								"types": [
									"force"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Disguise Self",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "disguiseSelf"
						}
					]
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"effects": [
				{
					"foundryId": "disguiseSelf",
					"name": "Disguised",
					"duration": {
						"seconds": 3600
					},
					"description": "To discern that you are disguised, a creature must take the Study action to inspect your appearance and succeed on an [[/check ability=int skill=inv]] check against your spell save DC."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dispel Evil and Good",
			"source": "XPHB",
			"activities": [
				{
					"name": "Dismissal",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature",
							"special": "Celestial, Elemental, Fey, Fiend, or Undead"
						}
					},
					"range": {
						"units": "ft",
						"value": "5"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Break Enchantment",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature",
							"special": "Celestial, Elemental, Fey, Fiend, or Undead"
						}
					},
					"range": {
						"units": "touch"
					}
				},
				{
					"name": "Cast",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/trait-damage-immunities.svg",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "dispelEvilAndGoo"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "dispelEvilAndGoo",
					"name": "Dispelling Evil and Good",
					"duration": {
						"rounds": 1
					},
					"descriptionEntries": [
						"For the duration, Celestials, Elementals, Fey, Fiends, and Undead have Disadvantage on attack rolls against you. You can end the spell early by using either of the following special functions: {@b Break Enchantment} or {@b Dismissal}."
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Divine Favor",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "divineFavor"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "divineFavor",
					"disabled": true,
					"transfer": true,
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.bonuses.mwak.damage",
							"mode": "ADD",
							"value": "1d4[radiant]"
						},
						{
							"key": "system.bonuses.rwak.damage",
							"mode": "ADD",
							"value": "1d4[radiant]"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Divine Smite",
			"source": "XPHB",
			"activities": [
				{
					"name": "Unholy Creature Damage",
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"critical": {
							"allow": true
						},
						"parts": [
							{
								"number": 3,
								"denomination": 8,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Cast",
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"critical": {
							"allow": true
						},
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Divine Word",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "divineWord"
						},
						{
							"foundryId": "divineWord1"
						},
						{
							"foundryId": "divineWord2"
						},
						{
							"foundryId": "divineWord3"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "divineWord",
					"name": "Death",
					"statuses": [
						"dead"
					]
				},
				{
					"foundryId": "divineWord1",
					"name": "Blinded, Deafened, Stunned",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"blinded",
						"deafened",
						"stunned"
					]
				},
				{
					"foundryId": "divineWord2",
					"name": "Blinded, Deafened",
					"duration": {
						"seconds": 600
					}
				},
				{
					"foundryId": "divineWord3",
					"name": "Deafened",
					"duration": {
						"seconds": 60
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dominate Beast",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "dominateBeast"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "dominateBeast",
					"name": "Dominated",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"charmed"
					],
					"description": "Whenever the &Reference[Charmed apply=false] target takes damage, it repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dominate Monster",
			"source": "XPHB",
			"system": {
				"duration.value": "1 + (@item.level - 8) * 7"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "dominateMonster"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "dominateMonster",
					"name": "Dominated",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"charmed"
					],
					"description": "Whenever the target takes damage, it repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dominate Person",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "dominatePerson"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "dominatePerson",
					"name": "Dominated",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"charmed"
					],
					"description": "Whenever the &Reference[charmed apply=false] target takes damage, it repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dragon's Breath",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility"
				},
				{
					"name": "Exhale",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "action",
						"override": true
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cone",
							"size": "15"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 3,
								"denomination": 6,
								"types": [
									"acid",
									"cold",
									"fire",
									"lightning",
									"poison"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Drawmij's Instant Summons",
			"source": "XPHB",
			"activities": [
				{
					"name": "Inscribe Mark",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "-1"
							}
						]
					}
				},
				{
					"name": "Recall Object",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "1"
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Dream",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 3,
								"denomination": 6,
								"types": [
									"psychic"
								]
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "dream"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "dream",
					"name": "Trance State",
					"duration": {
						"seconds": 28800
					},
					"statuses": [
						"incapacitated"
					],
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "DOWNGRADE",
							"value": 0
						}
					],
					"description": "While in the trance, the messenger is Incapacitated and has a Speed of 0."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Druidcraft",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cube",
							"size": "5"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Earthquake",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "save",
					"img": "icons/magic/sonic/explosion-shock-sound-wave.webp",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "End of Turn Fissures",
					"type": "save",
					"img": "icons/magic/earth/lava-stone-fire-eye.webp",
					"description": {
						"chatFlavor": "[[1d6]] Fissure(s)<br>[[10 * 1d10]] Feet deep"
					},
					"activation": {
						"type": "",
						"condition": "end of turn of initial casting"
					},
					"duration": {
						"units": "minute",
						"value": "1"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "line",
							"size": "200",
							"width": "10"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Collapsing Structure Save",
					"type": "save",
					"img": "icons/environment/settlement/building-rubble.webp",
					"activation": {
						"type": "",
						"condition": "when a structure drops to 0 Hit Points"
					},
					"target": {
						"affects": {
							"type": "space"
						}
					},
					"range": {
						"units": "spec",
						"special": "half of the structure's height"
					},
					"damage": {
						"parts": [
							{
								"number": 12,
								"denomination": 6,
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "earthquake"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "earthquake",
					"name": "Buried in Rubble",
					"statuses": [
						"prone"
					],
					"description": "On a failed save, the creature takes 12d6 Bludgeoning damage, has the &Reference[Prone apply=false] condition, and is buried in the rubble, requiring a [[/check ability=str skill=ath dc=20]] check as an action to escape."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Elemental Weapon",
			"source": "XPHB",
			"activities": [
				{
					"type": "enchant",
					"activation": {
						"type": "action"
					},
					"restrictions": {
						"type": "weapon"
					},
					"effects": [
						{
							"foundryId": "elementalWeapon"
						},
						{
							"foundryId": "elementalWeapon1"
						},
						{
							"foundryId": "elementalWeapon2"
						},
						{
							"foundryId": "elementalWeapon3"
						},
						{
							"foundryId": "elementalWeapon4"
						},
						{
							"foundryId": "elementalWeapon5"
						},
						{
							"foundryId": "elementalWeapon6"
						},
						{
							"foundryId": "elementalWeapon7"
						},
						{
							"foundryId": "elementalWeapon8"
						},
						{
							"foundryId": "elementalWeapon9"
						},
						{
							"foundryId": "elementalWeapo10"
						},
						{
							"foundryId": "elementalWeapo11"
						},
						{
							"foundryId": "elementalWeapo12"
						},
						{
							"foundryId": "elementalWeapo13"
						},
						{
							"foundryId": "elementalWeapo14"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "elementalWeapon",
					"name": "Elemental Acid +1",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"1d4",
									"acid"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 3,
									"max": 4
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon1",
					"name": "Elemental Cold +1",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"1d4",
									"cold"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 3,
									"max": 4
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon2",
					"name": "Elemental Fire +1",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"1d4",
									"fire"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 3,
									"max": 4
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon3",
					"name": "Elemental Lightning +1",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"1d4",
									"lightning"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 3,
									"max": 4
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon4",
					"name": "Elemental Thunder +1",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"1d4",
									"thunder"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 3,
									"max": 4
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon5",
					"name": "Elemental Acid +2",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 2
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"2d4",
									"acid"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 5,
									"max": 6
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon6",
					"name": "Elemental Cold +2",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 2
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"2d4",
									"cold"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 5,
									"max": 6
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon7",
					"name": "Elemental Fire +2",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 2
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"2d4",
									"fire"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 5,
									"max": 6
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon8",
					"name": "Elemental Lightning +2",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 2
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"2d4",
									"lightning"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 5,
									"max": 6
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapon9",
					"name": "Elemental Thunder +2",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 2
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"2d4",
									"thunder"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 5,
									"max": 6
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapo10",
					"name": "Elemental Acid +3",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 3
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"3d4",
									"acid"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 7
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapo11",
					"name": "Elemental Cold +3",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 3
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"3d4",
									"cold"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 7
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapo12",
					"name": "Elemental Fire +3",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 3
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"3d4",
									"fire"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 7
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapo13",
					"name": "Elemental Lightning +3",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 3
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"3d4",
									"lightning"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 7
								}
							}
						}
					}
				},
				{
					"foundryId": "elementalWeapo14",
					"name": "Elemental Thunder +3",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.attack.bonus",
							"mode": "ADD",
							"value": 3
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"3d4",
									"thunder"
								]
							]
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 7
								}
							}
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Elementalism",
			"source": "XPHB",
			"activities": [
				{
					"name": "Beckon Element",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/statuses/grappled.svg",
					"description": {
						"chatFlavor": "Fire and water beckoning lasts for 1 minute"
					},
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Sculpt Element",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/damage/bludgeoning.svg",
					"activation": {
						"type": "action"
					},
					"duration": {
						"units": "hour",
						"value": "1"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cube",
							"size": "1"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Enhance Ability",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "enhanceAbility"
						},
						{
							"foundryId": "enhanceAbility1"
						},
						{
							"foundryId": "enhanceAbility2"
						},
						{
							"foundryId": "enhanceAbility3"
						},
						{
							"foundryId": "enhanceAbility4"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "enhanceAbility",
					"name": "Enhanced Strength",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.abilities.str.check.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target has Advantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "enhanceAbility1",
					"name": "Enhanced Dexterity",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.abilities.dex.check.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target has Advantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "enhanceAbility2",
					"name": "Enhanced Intelligence",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.abilities.int.check.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target has Advantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "enhanceAbility3",
					"name": "Enhanced Wisdom",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.abilities.wis.check.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target has Advantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "enhanceAbility4",
					"name": "Enhanced Charisma",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.abilities.cha.check.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target has Advantage on ability checks made with the chosen ability."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Enlarge/Reduce",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "enlargereduce"
						},
						{
							"foundryId": "enlargereduce1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "enlargereduce",
					"name": "Enlarged",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.bonuses.mwak.damage",
							"mode": "ADD",
							"value": "1d4"
						},
						{
							"key": "system.bonuses.rwak.damage",
							"mode": "ADD",
							"value": "1d4"
						}
					],
					"description": "The target's size increases by one category\u2014from Medium to Large, for example. The target also has Advantage on Strength checks and Strength saving throws. The target's attacks with its enlarged weapons or Unarmed Strikes deal an extra 1d4 damage on a hit."
				},
				{
					"foundryId": "enlargereduce1",
					"name": "Reduced",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.bonuses.mwak.damage",
							"mode": "ADD",
							"value": "- 1d4"
						},
						{
							"key": "system.bonuses.rwak.damage",
							"mode": "ADD",
							"value": "- 1d4"
						},
						{
							"key": "system.abilities.str.check.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.str.save.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target's size decreases by one category\u2014from Medium to Small, for example. The target also has Disadvantage on Strength checks and Strength saving throws. The target's attacks with its reduced weapons or Unarmed Strikes deal 1d4 less damage on a hit (this can't reduce the damage below 1)."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Ensnaring Strike",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"piercing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "ensnaringStrike"
						}
					]
				},
				{
					"name": "Start of Turn Damage",
					"type": "damage",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"piercing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"effects": [
				{
					"foundryId": "ensnaringStrike",
					"name": "Ensnared",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"restrained"
					],
					"descriptionEntries": [
						"The target has the &Reference[restrained apply=false] condition until the spell ends.",
						"While Restrained, the target takes [[/damage 1d6 type=piercing]] (plus 1d6 per spell slot level above 1) damage at the start of each of its turns. The target or a creature within reach of it can take an action to make a [[/check ability=str skill=ath]] check against your spell save DC. On a success, the spell ends."
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Entangle",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "entangle"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "entangle",
					"name": "Restrained",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"restrained"
					],
					"description": "A Restrained creature can take an action to make a [[/check ability=str skill=ath]] check against your spell save DC. On a success, it frees itself from the grasping plants and is no longer Restrained by them."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Enthrall",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "enthrall"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "enthrall",
					"name": "Distracted",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.prc.bonuses.check",
							"mode": "ADD",
							"value": -10
						}
					],
					"description": "The target has a \u221210 penalty to [[/check ability=wis skill=prc]] checks and Passive Perception until the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Etherealness",
			"source": "XPHB",
			"system": {
				"target.affects.count": "1 + 3 * (@item.level - 7)"
			},
			"activities": [
				{
					"name": "Enter Border Ethereal",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "etherealness"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "etherealness",
					"duration": {
						"seconds": 28800
					},
					"statuses": [
						"ethereal"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Evard's Black Tentacles",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 3,
								"denomination": 6,
								"types": [
									"bludgeoning"
								]
							}
						]
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "evardsBlackTenta"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "evardsBlackTenta",
					"name": "Restrained",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"restrained"
					],
					"description": "A &Reference[Restrained apply=false] creature can take an action to make a [[/check ability=str skill=ath dc=@attributes.spell.dc]] check against your spell save DC, ending the condition on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Eyebite",
			"source": "XPHB",
			"activities": [
				{
					"name": "Initial Cast",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "eyebite"
						},
						{
							"foundryId": "eyebite1"
						},
						{
							"foundryId": "eyebite2"
						}
					]
				},
				{
					"name": "While Concentrating",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "eyebite"
						},
						{
							"foundryId": "eyebite1"
						},
						{
							"foundryId": "eyebite2"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "eyebite",
					"name": "Asleep",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"unconscious"
					],
					"description": "The target has the &Reference[Unconscious apply=false] condition. It wakes up if it takes any damage or if another creature takes an action to shake it awake."
				},
				{
					"foundryId": "eyebite1",
					"name": "Panicked",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"frightened"
					],
					"description": "The target has the &Reference[Frightened apply=false] condition. On each of its turns, the Frightened target must take the &Reference[Dash] action and move away from you by the safest and shortest route available. If the target moves to a space at least 60 feet away from you where it can't see you, this effect ends."
				},
				{
					"foundryId": "eyebite2",
					"name": "Sickened",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"poisoned"
					],
					"description": "The target has the &Reference[Poisoned apply=false] condition."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Faerie Fire",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "faerieFire"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "faerieFire",
					"name": "Outlined",
					"duration": {
						"seconds": 60
					},
					"description": "For the duration, objects and affected creatures shed &Reference[dimlight] in a 10-foot radius and can't benefit from the Invisible condition. Attack rolls against an affected creature or object have Advantage if the attacker can see it."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "False Life",
			"source": "XPHB",
			"activities": [
				{
					"name": "Temporary Health",
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"number": 2,
						"denomination": 4,
						"bonus": "4",
						"types": [
							"temphp"
						],
						"scaling": {
							"mode": "whole",
							"formula": "5"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Fear",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "fear"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "fear",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"statuses": [
						"frightened"
					],
					"description": "A &Reference[frightened apply=false] creature takes the &Reference[dash] action and moves away from you by the safest route on each of its turns unless there is nowhere to move. If the creature ends its turn in a space where it doesn't have line of sight to you, the creature makes a [[/save ability=wis]] saving throw. On a successful save, the spell ends on that creature."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Feign Death",
			"source": "XPHB",
			"effects": [
				{
					"name": "Cataleptic",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "acid"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "bludgeoning"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "cold"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "fire"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "force"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "lightning"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "necrotic"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "piercing"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "poison"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "radiant"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "slashing"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "thunder"
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "poisoned"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Find Familiar",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"count": "1",
							"cr": "0",
							"name": "CR 0 Beast",
							"types": [
								"beast"
							]
						}
					],
					"summon": {
						"mode": "cr"
					},
					"creatureTypes": [
						"celestial",
						"fey",
						"fiend"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Find Steed",
			"source": "XPHB",
			"activities": [
				{
					"name": "Summon Steed",
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[otherworldly steed (celestial)|xphb]",
							"level": {
								"max": 3
							}
						},
						{
							"uuid": "@creature[otherworldly steed (fey)|xphb]",
							"level": {
								"max": 3
							}
						},
						{
							"uuid": "@creature[otherworldly steed (fiend)|xphb]",
							"level": {
								"max": 3
							}
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hd": "@item.level",
						"hp": "10 * @item.level",
						"attackDamage": "@item.level",
						"healing": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				},
				{
					"name": "Summon Flying Steed",
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[otherworldly steed (celestial)|xphb]",
							"level": {
								"min": 4
							}
						},
						{
							"uuid": "@creature[otherworldly steed (fey)|xphb]",
							"level": {
								"min": 4
							}
						},
						{
							"uuid": "@creature[otherworldly steed (fiend)|xphb]",
							"level": {
								"min": 4
							}
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hd": "@item.level",
						"hp": "10 * @item.level",
						"attackDamage": "@item.level",
						"healing": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					},
					"effects": [
						{
							"foundryId": "findSteed"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "findSteed",
					"name": "Flying Steed",
					"changes": [
						{
							"key": "system.attributes.movement.fly",
							"mode": "UPGRADE",
							"value": 60
						}
					],
					"description": "The steed has a Fly speed of 60ft. when summoned by a level 4+ spell."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Finger of Death",
			"source": "XPHB",
			"activities": [
				{
					"name": "Negative Energy Save",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 7,
								"denomination": 8,
								"bonus": "30",
								"types": [
									"necrotic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Raise Zombie",
					"type": "summon",
					"activation": {
						"type": ""
					},
					"range": {
						"units": "any"
					},
					"profiles": [
						{
							"uuid": "@creature[zombie|xmm]"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Fire Shield",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "fireShield"
						},
						{
							"foundryId": "fireShield1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "fireShield",
					"name": "Warm Shield",
					"disabled": true,
					"transfer": true,
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "cold"
						}
					],
					"description": "Whenever a creature within 5 feet of you hits you with a melee attack roll, the attacker takes [[/damage 2d8 type=fire]] damage."
				},
				{
					"foundryId": "fireShield1",
					"name": "Chill Shield",
					"disabled": true,
					"transfer": true,
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "fire"
						}
					],
					"description": "Whenever a creature within 5 feet of you hits you with a melee attack roll, the attacker takes [[/damage 2d8 type=cold]] damage."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Fire Storm",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Storm",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 7,
								"denomination": 10,
								"types": [
									"fire"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Flame Blade",
			"source": "PHB",
			"activities": [
				{
					"type": "damage",
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "(floor((@item.level) / 2) + 2)d6"
								},
								"types": [
									"fire"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Flame Blade",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"type": "any"
						}
					},
					"range": {
						"units": "touch"
					},
					"attack": {
						"type": {
							"value": "melee",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 3,
								"denomination": 6,
								"bonus": "@mod",
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Evoke Blade",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Flame Strike",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"custom": {
									"formula": "(@item.level)d6"
								},
								"number": 5,
								"denomination": 6,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							},
							{
								"custom": {
									"formula": "(@item.level)d6"
								},
								"number": 5,
								"denomination": 6,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Flaming Sphere",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"bonuses": {
						"saveDamage": "(@item.level)d6"
					},
					"match": {
						"proficiency": true,
						"saves": true
					}
				},
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Flesh to Stone",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "fleshToStone"
						},
						{
							"foundryId": "fleshToStone1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "fleshToStone",
					"name": "Turning to Stone",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"restrained"
					],
					"description": "A &Reference[Restrained apply=false] target makes another [[/save ability=con format=long]] at the end of each of its turns. If it successfully saves against this spell three times, the spell ends. If it fails its saves three times, it is turned to stone and has the &Reference[Petrified] condition for the duration."
				},
				{
					"foundryId": "fleshToStone1",
					"name": "Unable to Move",
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "DOWNGRADE",
							"value": 0
						}
					],
					"description": "On a successful save, its Speed is 0 until the start of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Fly",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 2"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "fly"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "fly",
					"name": "Flight",
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.attributes.movement.fly",
							"mode": "UPGRADE",
							"value": 60
						},
						{
							"key": "system.attributes.movement.hover",
							"mode": "OVERRIDE",
							"value": true
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Forbiddance",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Ward",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/rosa-shield.svg",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Damage Forbidden Creature",
					"type": "damage",
					"activation": {
						"type": "",
						"condition": "creature of a chosen type enters the spell's area for the first time on a turn or ends its turn there"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any",
						"special": "within the spell's area"
					},
					"damage": {
						"parts": [
							{
								"number": 5,
								"denomination": 10,
								"types": [
									"radiant",
									"necrotic"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Forcecage",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Cage",
					"type": "utility",
					"img": "icons/environment/traps/cage-grey-steel.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cube",
							"size": "20"
						},
						"affects": {
							"type": "creature"
						}
					}
				},
				{
					"name": "Create Solid Box",
					"type": "utility",
					"img": "icons/commodities/treasure/puzzle-cube.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cube",
							"size": "10"
						},
						"affects": {
							"type": "creature"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Foresight",
			"source": "XPHB",
			"activities": [
				{
					"name": "Bestow Foresight",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "foresight"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "foresight",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.abilities.str.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.dex.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.con.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.int.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.wis.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.cha.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.str.check.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.dex.check.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.con.check.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.int.check.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.wis.check.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.cha.check.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "For the duration, the target has Advantage on D20 Tests, and other creatures have Disadvantage on attack rolls against it."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Fount of Moonlight",
			"source": "XPHB",
			"activities": [
				{
					"name": "Blinding Reaction",
					"type": "save",
					"activation": {
						"type": "reaction",
						"condition": "you take damage from a creature you can see within range"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "60"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "fountOfMoonlight"
						}
					]
				},
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "fountOfMoonligh1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "fountOfMoonligh1",
					"name": "Wreathed in Light",
					"disabled": true,
					"transfer": true,
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "radiant"
						},
						{
							"key": "system.bonuses.mwak.damage",
							"mode": "ADD",
							"value": "2d6[radiant]"
						},
						{
							"key": "system.bonuses.msak.damage",
							"mode": "ADD",
							"value": "2d6[radiant]"
						}
					]
				},
				{
					"foundryId": "fountOfMoonlight",
					"name": "Blinded",
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"blinded"
					],
					"description": "The creature has the &Reference[Blinded apply=false] condition until the end of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Freedom of Movement",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 3"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "freedomOfMovemen"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "freedomOfMovemen",
					"name": "Unrestricted Movement",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "paralyzed"
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "restrained"
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "UPGRADE",
							"value": 1
						},
						{
							"key": "system.attributes.movement.ignoredDifficultTerrain",
							"mode": "ADD",
							"value": "all"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Friends",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "friends"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "friends",
					"name": "Charmed",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"charmed"
					],
					"description": "The spell ends early if the &Reference[Charmed apply=false] target takes damage or if you make an attack roll, deal damage, or force anyone to make a saving throw. When the spell ends, the target knows it was Charmed by you."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Gaseous Form",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 2"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "gaseousForm"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "gaseousForm",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"transformed"
					],
					"changes": [
						{
							"key": "system.attributes.movement.fly",
							"mode": "OVERRIDE",
							"value": 10
						},
						{
							"key": "system.attributes.movement.hover",
							"mode": "OVERRIDE",
							"value": true
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "bludgeoning"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "piercing"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "slashing"
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "prone"
						},
						{
							"key": "img",
							"mode": "OVERRIDE",
							"value": "icons/magic/air/wind-vortex-swirl-blue-purple.webp"
						},
						{
							"key": "system.abilities.str.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.dex.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.con.save.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "The target's only method of movement is a Fly Speed of 10 feet, and it can hover. The target can enter and occupy the space of another creature. The target has Resistance to Bludgeoning, Piercing, and Slashing damage; it has Immunity to the &Reference[prone apply=false] condition; and it has Advantage on Strength, Dexterity, and Constitution saving throws. The target can pass through narrow openings, but it treats liquids as though they were solid surfaces. The target can't talk or manipulate objects, and any objects it was carrying or holding can't be dropped, used, or otherwise interacted with. Finally, the target can't attack or cast spells."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Gate",
			"source": "XPHB",
			"activities": [
				{
					"name": "Small Vertical Portal",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/trait-condition-immunities.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "5",
							"width": "1",
							"height": "5"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				},
				{
					"name": "Large Vertical Portal",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/trait-condition-immunities.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "20",
							"width": "1",
							"height": "20"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				},
				{
					"name": "Small Horizontal Portal",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/activity/summon.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "circle",
							"size": "5",
							"width": "1",
							"height": "5"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				},
				{
					"name": "Large Horizontal Portal",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/activity/summon.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "circle",
							"size": "20",
							"width": "1",
							"height": "5"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Geas",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "none",
						"parts": [
							{
								"number": 5,
								"denomination": 10,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "geas"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "geas",
					"name": "Under Orders",
					"duration": {
						"seconds": 2592000
					},
					"statuses": [
						"charmed"
					],
					"description": "While &Reference[Charmed apply=false], the creature takes [[/damage 5d10 type=psychic]] damage if it acts in a manner directly counter to your command. It takes this damage no more than once each day."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Giant Insect",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[giant insect (centipede)|xphb]"
						},
						{
							"uuid": "@creature[giant insect (spider)|xphb]"
						},
						{
							"uuid": "@creature[giant insect (wasp)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "10 * (@item.level - 4)",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Glibness",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "glibness"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "glibness",
					"name": "Glib",
					"duration": {
						"seconds": 3600
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Glyph of Warding",
			"source": "XPHB",
			"activities": [
				{
					"name": "Spell Glyph",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Explosive Rune",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 5,
								"denomination": 8,
								"types": [
									"acid",
									"cold",
									"fire",
									"lightning",
									"thunder"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Goodberry",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Berries",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Grease",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Greater Invisibility",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "greaterInvisibil"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "greaterInvisibil",
					"name": "Invisible",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"invisible"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Green-Flame Blade",
			"source": "TCE",
			"activities": [
				{
					"type": "damage",
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						},
						"template": {
							"units": ""
						}
					},
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "(floor(((@details.level + @attributes.spell.level) + 1) / 6))d8[on hit]"
								},
								"types": [
									"fire"
								]
							},
							{
								"custom": {
									"enabled": true,
									"formula": "@mod + (floor(((@details.level + @attributes.spell.level) + 1) / 6))d8[splash]"
								},
								"types": [
									"fire"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Guardian of Faith",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"match": {
						"proficiency": true,
						"saves": true
					}
				},
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"types": [
									"radiant"
								],
								"custom": {
									"enabled": true,
									"formula": "20"
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Guards and Wards",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "square",
							"size": "50"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Guidance",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "guidance"
						},
						{
							"foundryId": "guidance1"
						},
						{
							"foundryId": "guidance2"
						},
						{
							"foundryId": "guidance3"
						},
						{
							"foundryId": "guidance4"
						},
						{
							"foundryId": "guidance5"
						},
						{
							"foundryId": "guidance6"
						},
						{
							"foundryId": "guidance7"
						},
						{
							"foundryId": "guidance8"
						},
						{
							"foundryId": "guidance9"
						},
						{
							"foundryId": "guidance10"
						},
						{
							"foundryId": "guidance11"
						},
						{
							"foundryId": "guidance12"
						},
						{
							"foundryId": "guidance13"
						},
						{
							"foundryId": "guidance14"
						},
						{
							"foundryId": "guidance15"
						},
						{
							"foundryId": "guidance16"
						},
						{
							"foundryId": "guidance17"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "guidance",
					"name": "Acrobatic Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.acr.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance1",
					"name": "Animal Handling Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.ani.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance2",
					"name": "Arcana Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.arc.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance3",
					"name": "Athletic Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.ath.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance4",
					"name": "Deception Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.dec.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance5",
					"name": "History Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.his.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance6",
					"name": "Insight Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.ins.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance7",
					"name": "Investigation Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.inv.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance8",
					"name": "Intimidation Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.itm.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance9",
					"name": "Medicine Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.med.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance10",
					"name": "Nature Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.nat.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance11",
					"name": "Persuasion Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.per.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance12",
					"name": "Perception Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.prc.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance13",
					"name": "Performance Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.prf.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance14",
					"name": "Religion Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.rel.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance15",
					"name": "Sleight of Hand Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.slt.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance16",
					"name": "Stealth Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.ste.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				},
				{
					"foundryId": "guidance17",
					"name": "Survival Guidance",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.sur.bonuses.check",
							"mode": "ADD",
							"value": "1d4"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Guiding Bolt",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 4,
								"denomination": 6,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "guidingBolt"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "guidingBolt",
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"marked"
					],
					"description": "The next attack roll made against the target before the end of your next turn has Advantage."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Gust of Wind",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hail of Thorns",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "radius",
							"size": "5"
						},
						"affects": {
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 1,
								"denomination": 10,
								"types": [
									"piercing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hallucinatory Terrain",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Haste",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "haste"
						}
					]
				},
				{
					"name": "Apply Lethargy",
					"type": "utility",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "round",
						"value": "1"
					},
					"range": {
						"units": "any"
					},
					"effects": [
						{
							"foundryId": "haste1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "haste",
					"name": "Hasted",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "MULTIPLY",
							"value": 2
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "MULTIPLY",
							"value": 2
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "MULTIPLY",
							"value": 2
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "MULTIPLY",
							"value": 2
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "MULTIPLY",
							"value": 2
						},
						{
							"key": "system.attributes.ac.bonus",
							"mode": "ADD",
							"value": 2
						},
						{
							"key": "system.abilities.dex.save.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "Until the spell ends, the target's Speed is doubled, it gains a +2 bonus to Armor Class, it has Advantage on Dexterity saving throws, and it gains an additional action on each of its turns. That action can be used to take only the Attack (one attack only), Dash, Disengage, Hide, or Utilize action. When the spell ends, the target is Incapacitated and has a Speed of 0 until the end of its next turn, as a wave of lethargy washes over it."
				},
				{
					"foundryId": "haste1",
					"name": "Lethargy",
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"incapacitated"
					],
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "DOWNGRADE",
							"value": 0
						}
					],
					"description": "When the spell ends, the target is &Reference[incapacitated apply=false] and has a Speed of 0 until the end of its next turn, as a wave of lethargy washes over it."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Heal",
			"source": "XPHB",
			"activities": [
				{
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"types": [
							"healing"
						],
						"scaling": {
							"mode": "whole",
							"formula": "10"
						},
						"bonus": "70"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Heat Metal",
			"source": "XPHB",
			"activities": [
				{
					"name": "On Damage Save",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "heatMetal"
						}
					]
				},
				{
					"name": "Cast and Heat",
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Reheat",
					"type": "damage",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "bonus"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"effects": [
				{
					"foundryId": "heatMetal",
					"name": "Heated Metal",
					"duration": {
						"rounds": 1
					},
					"description": "If a creature is holding or wearing the object and takes the damage from it, The creature must succeed on a [[/save ability=con format=long]] or drop the object if it can. If it doesn't drop the object, it has Disadvantage on attack rolls and ability checks until the start of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Heroes' Feast",
			"source": "XPHB",
			"activities": [
				{
					"name": "Conjure Feast",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/activity/summon.svg",
					"activation": {
						"type": "hour",
						"value": 1
					},
					"duration": {
						"units": "hour",
						"value": "24"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "-12"
							}
						]
					}
				},
				{
					"name": "Consume Feast",
					"type": "heal",
					"description": {
						"chatFlavor": "Hit Point maximum increased by healing amount"
					},
					"activation": {
						"type": "hour",
						"value": 1
					},
					"duration": {
						"units": "hour",
						"value": "24"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "1"
							}
						]
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"healing": {
						"number": 2,
						"denomination": 10,
						"types": [
							"healing"
						],
						"scaling": {
							"number": 1
						}
					},
					"effects": [
						{
							"foundryId": "heroesFeast"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "heroesFeast",
					"name": "Feast's Benefits",
					"duration": {
						"seconds": 86400
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "poison"
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "frightened"
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "poisoned"
						}
					],
					"description": "The creature has &Reference[damageResistance]{Resistance} to Poison damage, and it has Immunity to the &Reference[Frightened] and &Reference[Poisoned] conditions. Its Hit Point maximum also increases by 2d10, and it gains the same number of Hit Points."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Heroism",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level"
			},
			"activities": [
				{
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"types": [
							"temphp"
						],
						"custom": {
							"enabled": true,
							"formula": "@mod"
						}
					},
					"effects": [
						{
							"foundryId": "heroism"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "heroism",
					"name": "Bravery",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "frightened"
						}
					],
					"description": "The creature is immune to the Frightened condition and gains Temporary Hit Points equal to your spellcasting ability modifier at the start of each of its turns."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hex",
			"source": "XPHB",
			"activities": [
				{
					"name": "Bonus Hex Damage",
					"type": "damage",
					"activation": {
						"type": "",
						"condition": "whenever you hit the target with an attack roll"
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"critical": {
							"allow": true
						},
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"necrotic"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Place Curse",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"visible": true
					},
					"effects": [
						{
							"foundryId": "hex"
						},
						{
							"foundryId": "hex1"
						},
						{
							"foundryId": "hex2"
						},
						{
							"foundryId": "hex3"
						},
						{
							"foundryId": "hex4"
						},
						{
							"foundryId": "hex5"
						}
					]
				},
				{
					"name": "Curse New Creature",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"range": {
						"units": "any"
					},
					"roll": {
						"visible": true
					},
					"effects": [
						{
							"foundryId": "hex"
						},
						{
							"foundryId": "hex1"
						},
						{
							"foundryId": "hex2"
						},
						{
							"foundryId": "hex3"
						},
						{
							"foundryId": "hex4"
						},
						{
							"foundryId": "hex5"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "hex",
					"name": "Hexed Strength",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.str.check.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "hex1",
					"name": "Hexed Dexterity",
					"duration": {
						"rounds": 1,
						"seconds": 3600
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.dex.check.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "hex2",
					"name": "Hexed Constitution",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.con.check.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "hex3",
					"name": "Hexed Intelligence",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.int.check.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "hex4",
					"name": "Hexed Wisdom",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.wis.check.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks made with the chosen ability."
				},
				{
					"foundryId": "hex5",
					"name": "Hexed Charisma",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"cursed"
					],
					"changes": [
						{
							"key": "system.abilities.cha.check.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks made with the chosen ability."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hold Monster",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 4"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "holdMonster"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "holdMonster",
					"name": "Paralyzed",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"paralyzed"
					],
					"description": "At the end of each of its turns, the target repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hold Person",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 1"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "holdPerson"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "holdPerson",
					"name": "Paralyzed",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"paralyzed"
					],
					"description": "At the end of each of its turns, the target repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Holy Aura",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Aura",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/trait-damage-immunities.svg",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "holyAura"
						}
					]
				},
				{
					"name": "Fiend/Undead Save",
					"type": "save",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "round",
						"value": "1"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "holyAura1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "holyAura",
					"name": "Holy Protection",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.abilities.str.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.dex.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.con.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.int.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.wis.save.roll.mode",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.abilities.cha.save.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					]
				},
				{
					"foundryId": "holyAura1",
					"name": "Blinded",
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"blinded"
					],
					"description": "The attacker has the &Reference[Blinded apply=false] condition until the end of its next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hunger of Hadar",
			"source": "XPHB",
			"activities": [
				{
					"name": "Open Gateway",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/activity/summon.svg",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Start of Turn Damage",
					"type": "damage",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"cold"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "End of Turn Save",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"acid"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hunter's Mark",
			"source": "XPHB",
			"activities": [
				{
					"name": "Bonus Mark Damage",
					"type": "damage",
					"activation": {
						"type": ""
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"force"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Mark Creature",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "huntersMark"
						}
					]
				},
				{
					"name": "Move Mark",
					"type": "utility",
					"activation": {
						"type": "bonus",
						"condition": "when the currently marked target drops to 0 Hit Points"
					},
					"range": {
						"units": "any"
					},
					"effects": [
						{
							"foundryId": "huntersMark"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "huntersMark",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"marked"
					],
					"description": "Until the spell ends, the caster deals an extra [[/damage 1d6 force]] damage to the target whenever they hit it with an attack roll."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Hypnotic Pattern",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "hypnoticPattern"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "hypnoticPattern",
					"name": "Hypnotized",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"charmed",
						"incapacitated"
					],
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "DOWNGRADE",
							"value": 0
						}
					],
					"description": "While &Reference[charmed apply=false], the creature has the &Reference[incapacitated apply=false] condition and a Speed of 0. The spell ends for an affected creature if it takes any damage or if someone else uses an action to shake the creature out of its stupor."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Ice Knife",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 10,
								"types": [
									"piercing"
								]
							}
						]
					}
				},
				{
					"name": "Shard Explosion",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "radius",
							"size": "5"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "none",
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"cold"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Ice Storm",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"custom": {
									"formula": "(@item.level - 2)d10"
								},
								"number": 2,
								"denomination": 10,
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							},
							{
								"number": 4,
								"denomination": 6,
								"types": [
									"cold"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Imprisonment",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "imprisonment"
						},
						{
							"foundryId": "imprisonment1"
						},
						{
							"foundryId": "imprisonment2"
						},
						{
							"foundryId": "imprisonment3"
						},
						{
							"foundryId": "imprisonment4"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "imprisonment",
					"name": "Burial",
					"description": "The target is entombed beneath the earth in a hollow globe of magical force that is just large enough to contain the target. Nothing can pass into or out of the globe."
				},
				{
					"foundryId": "imprisonment1",
					"name": "Chaining",
					"statuses": [
						"restrained"
					],
					"description": "Chains firmly rooted in the ground hold the target in place. The target has the &Reference[Restrained apply=false] condition and can't be moved by any means."
				},
				{
					"foundryId": "imprisonment2",
					"name": "Hedged Prison",
					"description": "The target is trapped in a demiplane that is warded against teleportation and planar travel. The demiplane is your choice of a labyrinth, a cage, a tower, or the like."
				},
				{
					"foundryId": "imprisonment3",
					"name": "Minimus Containment",
					"description": "The target becomes 1 inch tall and is trapped inside an indestructible gemstone or a similar object. Light can pass through the gemstone (allowing the target to see out and other creatures to see in), but nothing else can pass through by any means."
				},
				{
					"foundryId": "imprisonment4",
					"name": "Slumber",
					"statuses": [
						"unconscious"
					],
					"description": "The target has the &Reference[Unconscious apply=false] condition and can't be awoken."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Incendiary Cloud",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Save",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 8,
								"types": [
									"fire"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Invisibility",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 1"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "invisibility"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "invisibility",
					"name": "Invisible",
					"duration": {
						"seconds": 3600
					},
					"statuses": [
						"invisible"
					],
					"description": "The spell ends early immediately after the target makes an attack roll, deals damage, or casts a spell."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Jallarzi's Storm of Radiance",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"types": [
									"radiant"
								],
								"custom": {
									"enabled": true,
									"formula": "(@item.level - 3)d10"
								}
							},
							{
								"types": [
									"thunder"
								],
								"custom": {
									"enabled": true,
									"formula": "(@item.level - 3)d10"
								}
							}
						]
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "jallarzisStormOf"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "jallarzisStormOf",
					"name": "Senses Overwhelmed",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"blinded",
						"deafened",
						"silenced"
					],
					"description": "While in this area, creatures have the &Reference[Blinded apply=false] and &Reference[Deafened apply=false] conditions, and they can't cast spells with a Verbal component."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Jump",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "jump"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "jump",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"description": "Once on each of its turns until the spell ends, that creature can jump up to 30 feet by spending 10 feet of movement."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Leomund's Secret Chest",
			"source": "XPHB",
			"activities": [
				{
					"name": "Recall Chest",
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"type": "space"
						}
					},
					"range": {
						"units": "ft",
						"value": "5"
					}
				},
				{
					"name": "Hide Chest",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Levitate",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "levitate"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "levitate",
					"name": "Levitating",
					"duration": {
						"seconds": 600
					},
					"description": "The target can move only by pushing or pulling against a fixed object or surface within reach (such as a wall or a ceiling), which allows it to move as if it were climbing."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Lightning Arrow",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 4,
								"denomination": 8,
								"types": [
									"lightning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"lightning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Lightning Lure",
			"source": "TCE",
			"system": {
				"range.value": 15,
				"range.units": "ft",
				"target.template.type": ""
			},
			"migrationVersion": 3
		},
		{
			"name": "Longstrider",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "longstrider"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "longstrider",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "ADD",
							"value": 10
						}
					],
					"description": "The target's Speed increases by 10 feet until the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mage Armor",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "mageArmor"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "mageArmor",
					"duration": {
						"seconds": 28800
					},
					"changes": [
						{
							"key": "system.attributes.ac.calc",
							"mode": "OVERRIDE",
							"value": "mage"
						}
					],
					"description": "The target's base AC becomes 13 + its Dexterity modifier."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Magic Circle",
			"source": "XPHB",
			"system": {
				"duration.value": "@item.level - 2"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Magic Jar",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Transfer Soul",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/ink-pot.svg",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "magicJar"
						}
					]
				},
				{
					"name": "Possess Humanoid",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/multiclass.svg",
					"activation": {
						"type": "action",
						"condition": "your soul inhabits the container"
					},
					"duration": {
						"units": "dstr"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature",
							"special": "target is Humanoid"
						}
					},
					"range": {
						"units": "ft",
						"value": "100"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "magicJar1"
						}
					]
				},
				{
					"name": "Return from Host",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/trait-saves.svg",
					"activation": {
						"type": "action"
					}
				}
			],
			"effects": [
				{
					"foundryId": "magicJar",
					"name": "Catatonic",
					"disabled": true,
					"transfer": true,
					"statuses": [
						"silenced"
					],
					"description": "While your soul inhabits the container, you are aware of your surroundings as if you were in the container's space. You can't move or take &Reference[reaction]{Reactions}."
				},
				{
					"foundryId": "magicJar1",
					"name": "Trapped Soul",
					"statuses": [
						"incapacitated"
					],
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "DOWNGRADE",
							"value": 0
						}
					],
					"description": "the possessed creature's soul can perceive from the container using its own senses, but it can't move and it is &Reference[Incapacitated apply=false]."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Magic Missile",
			"source": "PHB",
			"activities": [
				{
					"type": "damage",
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "(1d4 + 1) * (2 + @item.level)"
								},
								"types": [
									"force"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Magic Missile",
			"source": "XPHB",
			"system": {
				"target.affects.count": "2 + @item.level"
			},
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 4,
								"bonus": "1",
								"types": [
									"force"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Magic Stone",
			"source": "XGE",
			"system": {
				"range.value": 60,
				"range.units": "ft"
			},
			"activities": [
				{
					"type": "damage",
					"activation": {
						"value": 1,
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						},
						"template": {
							"units": ""
						}
					},
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "1d6 + @mod"
								},
								"types": [
									"bludgeoning"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Magic Weapon",
			"source": "XPHB",
			"activities": [
				{
					"type": "enchant",
					"activation": {
						"type": "action"
					},
					"restrictions": {
						"type": "weapon"
					},
					"effects": [
						{
							"foundryId": "magicWeapon"
						},
						{
							"foundryId": "magicWeapon1"
						},
						{
							"foundryId": "magicWeapon2"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "magicWeapon",
					"name": "Magic Weapon +1",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.magicalBonus",
							"mode": "UPGRADE",
							"value": 1
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "Magic {} +1"
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 2,
									"max": 2
								}
							}
						}
					},
					"description": "Until the spell ends, that weapon becomes a magic weapon with a +1 bonus to attack rolls and damage rolls."
				},
				{
					"foundryId": "magicWeapon1",
					"name": "Magic Weapon +2",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.magicalBonus",
							"mode": "UPGRADE",
							"value": 2
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "Magic {} +2"
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 3,
									"max": 5
								}
							}
						}
					},
					"description": "Until the spell ends, that weapon becomes a magic weapon with a +2 bonus to attack rolls and damage rolls."
				},
				{
					"foundryId": "magicWeapon2",
					"name": "Magic Weapon +3",
					"type": "enchantment",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "mgc"
						},
						{
							"key": "system.magicalBonus",
							"mode": "UPGRADE",
							"value": 3
						},
						{
							"key": "name",
							"mode": "ADD",
							"value": "Magic {} +3"
						}
					],
					"flags": {
						"dnd5e": {
							"enchantment": {
								"level": {
									"min": 6
								}
							}
						}
					},
					"description": "Until the spell ends, that weapon becomes a magic weapon with a +3 bonus to attack rolls and damage rolls."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Major Image",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mass Heal",
			"source": "XPHB",
			"activities": [
				{
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"types": [
							"healing"
						],
						"scaling": {
							"number": 1
						},
						"bonus": "700"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mass Suggestion",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "massSuggestion"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "massSuggestion",
					"name": "Charmed",
					"duration": {
						"seconds": 86400
					},
					"statuses": [
						"charmed"
					],
					"description": "The target has the &Reference[Charmed apply=false] condition for the duration or until you or your allies deal damage to the target. Each Charmed target pursues the suggestion to the best of its ability."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Maze",
			"source": "XPHB",
			"activities": [
				{
					"name": "Banish to Maze",
					"type": "check",
					"activation": {
						"type": "action"
					},
					"check": {
						"dc": {
							"formula": "20"
						},
						"associated": [
							"inv"
						]
					},
					"effects": [
						{
							"foundryId": "maze"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "maze",
					"name": "Banished",
					"duration": {
						"seconds": 600
					},
					"description": "The target can take a Study action to try to escape. When it does so, it makes a [[/check ability=int skill=inv dc=20]] check. If it succeeds, it escapes, and the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Meld into Stone",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 6,
								"denomination": 6,
								"types": [
									"force"
								]
							}
						]
					}
				},
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "50"
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Melf's Acid Arrow",
			"source": "PHB",
			"activities": [
				{
					"type": "attack",
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "4d4[immediate]"
								},
								"types": [
									"acid"
								]
							},
							{
								"custom": {
									"enabled": true,
									"formula": "(@item.level)d4[end of turn]"
								},
								"types": [
									"acid"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Melf's Acid Arrow",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Attack",
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 4,
								"denomination": 4,
								"types": [
									"acid"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "melfsAcidArrow"
						}
					]
				},
				{
					"name": "Lingering Acid Damage",
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 4,
								"types": [
									"acid"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"effects": [
				{
					"foundryId": "melfsAcidArrow",
					"name": "Lingering Acid",
					"duration": {
						"turns": 1
					},
					"description": "On a hit, the target takes 4d4 Acid damage and [[/damage 2d4 type=acid]] (plus 1d4 per spell slot level above 2) Acid damage at the end of its next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mind Blank",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "mindBlank"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "mindBlank",
					"name": "Mind Blanked",
					"duration": {
						"seconds": 86400
					},
					"changes": [
						{
							"key": "system.traits.di.value",
							"mode": "ADD",
							"value": "psychic"
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "charmed"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mind Sliver",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"psychic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"int"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "mindSliver"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "mindSliver",
					"name": "Slivered",
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": "-1d4"
						}
					],
					"description": "The target subtracts 1d4 from the next saving throw it makes before the end of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mind Spike",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 3,
								"denomination": 8,
								"types": [
									"psychic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "mindSpike"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "mindSpike",
					"name": "Spiked",
					"duration": {
						"seconds": 3600
					},
					"description": "You always know the target's location until the spell ends, but only while the two of you are on the same plane of existence. While you have this knowledge, the target can't become hidden from you, and if it has the &Reference[invisible apply=false] condition, it gains no benefit from that condition against you."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Minor Illusion",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mirage Arcane",
			"source": "XPHB",
			"activities": [
				{
					"name": "Alter Terrain",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mirror Image",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"formula": "(@flags.dnd-players-handbook.mirrorImages)d6kh"
					},
					"effects": [
						{
							"foundryId": "mirrorImage"
						},
						{
							"foundryId": "mirrorImage1"
						},
						{
							"foundryId": "mirrorImage2"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "mirrorImage",
					"name": "Duplicate A",
					"disabled": true,
					"transfer": true,
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "flags.dnd-players-handbook.mirrorImages",
							"mode": "ADD",
							"value": 1
						}
					]
				},
				{
					"foundryId": "mirrorImage1",
					"name": "Duplicate B",
					"disabled": true,
					"transfer": true,
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "flags.dnd-players-handbook.mirrorImages",
							"mode": "ADD",
							"value": 1
						}
					]
				},
				{
					"foundryId": "mirrorImage2",
					"name": "Duplicate C",
					"disabled": true,
					"transfer": true,
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "flags.dnd-players-handbook.mirrorImages",
							"mode": "ADD",
							"value": 1
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Modify Memory",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "modifyMemory"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "modifyMemory",
					"name": "Memory Modification",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"charmed",
						"incapacitated"
					],
					"description": "While &Reference[Charmed apply=false] in this way, the target also has the &Reference[Incapacitated apply=false] condition and is unaware of its surroundings, though it can hear you. If it takes any damage or is targeted by another spell, this spell ends, and no memories are modified."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mordenkainen's Faithful Hound",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"match": {
						"saves": true
					}
				},
				{
					"name": "Move Hound",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Mordenkainen's Magnificent Mansion",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Door",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Move Earth",
			"source": "XPHB",
			"activities": [
				{
					"name": "Initial Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Affect New Area",
					"type": "utility",
					"activation": {
						"type": ""
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Nondetection",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "nondetection"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "nondetection",
					"name": "Hidden from Divination",
					"duration": {
						"seconds": 28800
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Nystul's Magic Aura",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "nystulsMagicAura"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "nystulsMagicAura",
					"name": "Masked",
					"duration": {
						"seconds": 86400
					},
					"description": "Choose a creature type other than the target's actual type. Spells and other magical effects treat the target as if it were a creature of the chosen type."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Otiluke's Freezing Sphere",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Fire",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 6,
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Freeze Water",
					"type": "utility",
					"activation": {
						"type": "",
						"condition": "if the globe strikes a body of water"
					},
					"duration": {
						"units": "minute",
						"value": "1"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "square",
							"size": "30"
						},
						"affects": {
							"type": "creature",
							"special": "creatures swimming on the surface"
						}
					},
					"effects": [
						{
							"foundryId": "otilukesFreezing"
						}
					]
				},
				{
					"name": "Cast and Hold",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/trait-skills.svg",
					"activation": {
						"type": "action"
					},
					"duration": {
						"units": "minute",
						"value": "1"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "-1"
							}
						]
					},
					"target": {
						"affects": {
							"type": "self"
						}
					}
				},
				{
					"name": "Throw Held Globe",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "1"
							}
						]
					},
					"range": {
						"units": "ft",
						"special": "if hurled with a sling, use sling's normal range",
						"value": "40"
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 6,
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"effects": [
				{
					"foundryId": "otilukesFreezing",
					"name": "Trapped in Ice",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"restrained"
					],
					"description": "Creatures that were swimming on the surface of frozen water are trapped in the ice and have the &Reference[Restrained apply=false] condition. A trapped creature can take an action to make a [[/check ability=str skill=ath]] check against your spell save DC to break free."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Otiluke's Resilient Sphere",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "otilukesResilien"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "otilukesResilien",
					"name": "Enclosed in Sphere",
					"duration": {
						"seconds": 60
					},
					"description": "An enclosed creature can take an action to push against the sphere's walls and thus roll the sphere at up to half the creature's Speed."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Otto's Irresistible Dance",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "ottosIrresistibl"
						},
						{
							"foundryId": "ottosIrresistib1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "ottosIrresistibl",
					"name": "Irresistible Dance",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"charmed"
					],
					"description": "While &Reference[Charmed apply=false], the target dances comically, must use all its movement to dance in place, and has Disadvantage on Dexterity saving throws and attack rolls, and other creatures have Advantage on attack rolls against it. On each of its turns, the target can take an action to collect itself and repeat the [[/save ability=wis]] save, ending the spell on itself on a success."
				},
				{
					"foundryId": "ottosIrresistib1",
					"name": "Short Dance",
					"duration": {
						"turns": 1
					},
					"description": "The target dances comically until the end of its next turn, during which it must spend all its movement to dance in place."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Pass without Trace",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "passWithoutTrace"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "passWithoutTrace",
					"name": "Concealed",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.skills.ste.bonuses.check",
							"mode": "ADD",
							"value": 10
						}
					],
					"description": "While in the aura, you and each creature you choose have a +10 bonus to [[/check ability=dex skill=ste]] checks and leave no tracks."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Passwall",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "line",
							"size": "20",
							"width": "5"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Phantasmal Force",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cube",
							"size": "10"
						},
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"int"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "phantasmalForce"
						}
					]
				},
				{
					"name": "Phantasm Damage",
					"type": "damage",
					"activation": {
						"type": ""
					},
					"range": {
						"units": "ft",
						"value": "5"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"effects": [
				{
					"foundryId": "phantasmalForce",
					"name": "Seeing Illusions",
					"duration": {
						"seconds": 60
					},
					"description": "The target can take a &Reference[Study]{Study} action to examine the phantasm with an [[/check ability=int skill=inv]] check against your spell save DC. If the check succeeds, the target realizes that the phantasm is an illusion, and the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Phantasmal Killer",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 4,
								"denomination": 10,
								"types": [
									"psychic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "phantasmalKiller"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "phantasmalKiller",
					"name": "Fears Manifested",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.abilities.str.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.dex.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.con.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.int.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.wis.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.cha.check.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on ability checks and attack rolls for the duration. For the duration, the target makes a [[/save ability=wis]] saving throw at the end of each of its turns. On a failed save, it takes the Psychic damage again. On a successful save, the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Planar Ally",
			"source": "XPHB",
			"activities": [
				{
					"name": "Beseech Entity",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "circle",
							"size": "5"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Planar Binding",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "planarBinding"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "planarBinding",
					"name": "Bound to Service",
					"duration": {
						"seconds": 86400
					},
					"description": "A bound creature must follow your commands to the best of its ability. If the creature is Hostile, it strives to twist your commands to achieve its own objectives."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Plane Shift",
			"source": "XPHB",
			"activities": [
				{
					"name": "Transport",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Plant Growth",
			"source": "XPHB",
			"activities": [
				{
					"name": "Overgrowth",
					"type": "utility",
					"img": "icons/magic/nature/plant-undersea-glow-green.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "100"
						},
						"affects": {
							"type": "space"
						}
					}
				},
				{
					"name": "Enrichment",
					"type": "utility",
					"img": "icons/skills/trades/farming-wheat-circle-yellow.webp",
					"activation": {
						"type": "hour",
						"value": 8
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Polymorph",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"type": "transform",
					"activation": {
						"type": ""
					},
					"profiles": [
						{
							"name": "Creature into Creature",
							"types": [
								"beast"
							]
						}
					],
					"transform": {
						"mode": "cr",
						"preset": "polymorph"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Power Word Fortify",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "-120"
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Power Word Heal",
			"source": "XPHB",
			"activities": [
				{
					"name": "Heal Fully",
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"types": [
							"healing"
						],
						"scaling": {
							"number": 1
						},
						"bonus": "1000"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Power Word Kill",
			"source": "XPHB",
			"activities": [
				{
					"name": "Compel to Die",
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 12,
								"denomination": 12,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Power Word Stun",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "powerWordStun"
						},
						{
							"foundryId": "powerWordStun1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "powerWordStun",
					"name": "Stunned",
					"statuses": [
						"stunned"
					],
					"description": "The &Reference[Stunned apply=false] target makes a [[/save ability=con]] saving throw at the end of each of its turns, ending the condition on itself on a success."
				},
				{
					"foundryId": "powerWordStun1",
					"name": "No Movement",
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "DOWNGRADE",
							"value": 0
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "DOWNGRADE",
							"value": 0
						}
					],
					"description": "The target's Speed is 0 until the start of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Prayer of Healing",
			"source": "XPHB",
			"activities": [
				{
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"number": 2,
						"denomination": 8,
						"types": [
							"healing"
						],
						"scaling": {
							"mode": "whole",
							"number": 1
						}
					},
					"effects": [
						{
							"foundryId": "prayerOfHealing"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "prayerOfHealing",
					"name": "Healed by Prayer",
					"descriptionEntries": [
						"A creature can't be affected by the {@spell Prayer of Healing|XPHB} spell again until that creature finishes a Long Rest."
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Prismatic Spray",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 12,
								"denomination": 6,
								"types": [
									"acid",
									"cold",
									"fire",
									"lightning",
									"poison"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "prismaticSpray"
						},
						{
							"foundryId": "prismaticSpray1"
						}
					]
				},
				{
					"name": "Indigo Save (Con)",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/abilities/constitution.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Violet Save (Wis)",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/abilities/wisdom.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"effects": [
				{
					"foundryId": "prismaticSpray",
					"name": "Petrifying (Indigo)",
					"statuses": [
						"restrained"
					],
					"descriptionEntries": [
						"The target has the &Reference[Restrained apply=false] condition and makes a [[/save ability=con format=long]] at the end of each of its turns. If it successfully saves three times, the condition ends. If it fails three times, it has the &Reference[Petrified] condition until it is freed by an effect like the {@spell Greater Restoration|XPHB} spell. The successes and failures needn't be consecutive; keep track of both until the target collects three of a kind."
					]
				},
				{
					"foundryId": "prismaticSpray1",
					"name": "Teleporting (Violet)",
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"blinded"
					],
					"description": "The target has the &Reference[Blinded apply=false] condition and makes a [[/save ability=wis format=long]] at the start of your next turn. On a successful save, the condition ends. On a failed save, the condition ends, and the creature teleports to another plane of existence (DM's choice)."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Prismatic Wall",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Wall",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "90",
							"width": "1/12",
							"height": "30"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				},
				{
					"name": "Create Globe",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "15",
							"width": "1/12",
							"height": "30"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				},
				{
					"name": "Blinding Save",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"special": "measured from nearest point on wall or globe",
						"value": "20"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "prismaticWall"
						}
					]
				},
				{
					"name": "Traversal Save",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 12,
								"denomination": 6,
								"types": [
									"acid",
									"fire",
									"lightning",
									"poison",
									"cold"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "prismaticWall1"
						},
						{
							"foundryId": "prismaticWall2"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "prismaticWall",
					"name": "Prismatic Blinding",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"blinded"
					],
					"description": "The target has the &Reference[Blinded apply=false] condition for 1 minute."
				},
				{
					"foundryId": "prismaticWall1",
					"name": "Restrained (Indigo)",
					"statuses": [
						"restrained"
					],
					"descriptionEntries": [
						"The target has the &Reference[Restrained apply=false] condition and makes a [[/save ability=con dc=@attributes.spell.dc]] format=long]] at the end of each of its turns. If it successfully saves three times, the condition ends. If it fails three times, it has the &Reference[Petrified] condition until it is freed by an effect like the {@spell Greater Restoration|XPHB} spell."
					]
				},
				{
					"foundryId": "prismaticWall2",
					"name": "Blinded (Violet)",
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"blinded"
					],
					"description": "The target has the &Reference[Blinded apply=false] condition and makes a [[/save ability=wis dc=@attributes.spell.dc format=long]] at the start of your next turn. On a successful save, the condition ends. On a failed save, the condition ends, and the creature teleports to another plane of existence (DM's choice)."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Produce Flame",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Hurl Fire",
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creatureOrObject"
						}
					},
					"range": {
						"units": "ft",
						"value": "60"
					},
					"attack": {
						"type": {
							"value": "ranged"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 8,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Programmed Illusion",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Project Image",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Protection from Energy",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "protectionFromEn"
						},
						{
							"foundryId": "protectionFromE1"
						},
						{
							"foundryId": "protectionFromE2"
						},
						{
							"foundryId": "protectionFromE3"
						},
						{
							"foundryId": "protectionFromE4"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "protectionFromEn",
					"name": "Acid Protection",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "acid"
						}
					]
				},
				{
					"foundryId": "protectionFromE1",
					"name": "Cold Protection",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "cold"
						}
					]
				},
				{
					"foundryId": "protectionFromE2",
					"name": "Fire Protection",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "fire"
						}
					]
				},
				{
					"foundryId": "protectionFromE3",
					"name": "Lightning Protection",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "lightning"
						}
					]
				},
				{
					"foundryId": "protectionFromE4",
					"name": "Thunder Protection",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "thunder"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Protection from Evil and Good",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "protectionFromEv"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "protectionFromEv",
					"name": "Protected",
					"duration": {
						"seconds": 600
					},
					"description": "Creatures of those types have Disadvantage on attack rolls against the target. The target also can't be possessed by or gain the &Reference[Charmed apply=false] or &Reference[Frightened apply=false] conditions from them."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Protection from Poison",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "protectionFromPo"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "protectionFromPo",
					"name": "Poison Protection",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "poison"
						}
					],
					"description": "For the duration, the target has Advantage on saving throws to avoid or end the Poisoned condition, and it has Resistance to Poison damage."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Raise Dead",
			"source": "XPHB",
			"activities": [
				{
					"name": "Revive",
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"types": [
							"healing"
						],
						"scaling": {
							"number": 1
						},
						"bonus": "1"
					},
					"effects": [
						{
							"foundryId": "raiseDead"
						},
						{
							"foundryId": "raiseDead1"
						},
						{
							"foundryId": "raiseDead2"
						},
						{
							"foundryId": "raiseDead3"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "raiseDead",
					"name": "Resurrection Sickness (Day 1)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				},
				{
					"foundryId": "raiseDead1",
					"name": "Resurrection Sickness (Day 2)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				},
				{
					"foundryId": "raiseDead3",
					"name": "Resurrection Sickness (Day 4)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				},
				{
					"foundryId": "raiseDead2",
					"name": "Resurrection Sickness (Day 3)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Rary's Telepathic Bond",
			"source": "XPHB",
			"activities": [
				{
					"name": "Forge Telepathic Link",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "rarysTelepathicB"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "rarysTelepathicB",
					"name": "Bonded Telepathy",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.languages.custom",
							"mode": "ADD",
							"value": ";Bonded telepathy"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Ray of Enfeeblement",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "rayOfEnfeeblemen"
						},
						{
							"foundryId": "rayOfEnfeebleme1"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "rayOfEnfeeblemen",
					"name": "Brief Enfeeblement",
					"duration": {
						"rounds": 1
					},
					"description": "The target has Disadvantage on the next attack roll it makes until the start of your next turn."
				},
				{
					"foundryId": "rayOfEnfeebleme1",
					"name": "Enervated",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.bonuses.mwak.damage",
							"mode": "ADD",
							"value": "- 1d8"
						},
						{
							"key": "system.bonuses.rwak.damage",
							"mode": "ADD",
							"value": "- 1d8"
						},
						{
							"key": "system.bonuses.msak.damage",
							"mode": "ADD",
							"value": "- 1d8"
						},
						{
							"key": "system.bonuses.rsak.damage",
							"mode": "ADD",
							"value": "- 1d8"
						},
						{
							"key": "system.abilities.str.check.roll.mode",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.abilities.str.save.roll.mode",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "The target has Disadvantage on Strength-based D20 Tests for the duration. During that time, it also subtracts 1d8 from all its damage rolls. The target repeats the [[/save ability=con]] save at the end of each of its turns, ending the spell on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Ray of Frost",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 8,
								"types": [
									"cold"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "rayOfFrost"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "rayOfFrost",
					"name": "Reduced Movement",
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "ADD",
							"value": -10
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "ADD",
							"value": -10
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "ADD",
							"value": -10
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "ADD",
							"value": -10
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "ADD",
							"value": -10
						}
					],
					"description": "The target's Speed is reduced by 10 feet until the start of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Ray of Sickness",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 2,
								"denomination": 8,
								"types": [
									"poison"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Regenerate",
			"source": "XPHB",
			"activities": [
				{
					"type": "heal",
					"activation": {
						"type": "action"
					},
					"healing": {
						"number": 4,
						"denomination": 8,
						"types": [
							"healing"
						],
						"scaling": {
							"number": 1
						},
						"bonus": "15"
					},
					"effects": [
						{
							"foundryId": "regenerate"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "regenerate",
					"name": "Regenerating",
					"duration": {
						"seconds": 3600
					},
					"description": "For the duration, the target regains [[/healing 1 type=healing]]{1 Hit Point} at the start of each of its turns, and any severed body parts regrow after 2 minutes."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Reincarnate",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Resistance",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"visible": true,
						"name": "Damage Reduction",
						"formula": "1d4"
					},
					"effects": [
						{
							"foundryId": "resistance"
						},
						{
							"foundryId": "resistance1"
						},
						{
							"foundryId": "resistance2"
						},
						{
							"foundryId": "resistance3"
						},
						{
							"foundryId": "resistance4"
						},
						{
							"foundryId": "resistance5"
						},
						{
							"foundryId": "resistance6"
						},
						{
							"foundryId": "resistance7"
						},
						{
							"foundryId": "resistance8"
						},
						{
							"foundryId": "resistance9"
						},
						{
							"foundryId": "resistance10"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "resistance",
					"name": "Acid Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance1",
					"name": "Bludgeoning Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance2",
					"name": "Cold Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance3",
					"name": "Fire Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance4",
					"name": "Lightning Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance5",
					"name": "Necrotic Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance6",
					"name": "Piercing Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance7",
					"name": "Poison Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance8",
					"name": "Radiant Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance9",
					"name": "Slashing Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				},
				{
					"foundryId": "resistance10",
					"name": "Thunder Protection",
					"duration": {
						"seconds": 60
					},
					"description": "When the creature takes damage of the chosen type before the spell ends, the creature reduces the total damage taken by [[/r 1d4]]. A creature can benefit from this spell only once per turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Resurrection",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "resurrection"
						},
						{
							"foundryId": "resurrection1"
						},
						{
							"foundryId": "resurrection2"
						},
						{
							"foundryId": "resurrection3"
						}
					]
				},
				{
					"name": "Taxing Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "resurrection"
						},
						{
							"foundryId": "resurrection1"
						},
						{
							"foundryId": "resurrection2"
						},
						{
							"foundryId": "resurrection3"
						},
						{
							"foundryId": "resurrection4"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "resurrection",
					"name": "Resurrection Sickness (Day 1)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				},
				{
					"foundryId": "resurrection1",
					"name": "Resurrection Sickness (Day 2)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				},
				{
					"foundryId": "resurrection2",
					"name": "Resurrection Sickness (Day 3)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				},
				{
					"foundryId": "resurrection3",
					"name": "Resurrection Sickness (Day 4)",
					"changes": [
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.attributes.init.bonus",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": -1
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": -1
						}
					],
					"description": "Coming back from the dead is an ordeal. The target takes a \u22124 penalty to D20 Tests. Every time the target finishes a Long Rest, the penalty is reduced by 1 until it becomes 0."
				},
				{
					"foundryId": "resurrection4",
					"name": "Spell Taxed",
					"duration": {
						"seconds": 86400
					},
					"description": "Until you finish a Long Rest, you can't cast spells again, and you have Disadvantage on D20 Tests."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Revivify",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"types": [
									"healing"
								],
								"custom": {
									"enabled": true,
									"formula": "1"
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sanctuary",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "sanctuary"
						}
					]
				},
				{
					"name": "Save on Target",
					"type": "save",
					"activation": {
						"type": ""
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"effects": [
				{
					"foundryId": "sanctuary",
					"name": "Warded",
					"duration": {
						"seconds": 60
					},
					"description": "Until the spell ends, any creature who targets the warded creature with an attack roll or a damaging spell must succeed on a [[/save ability=wis format=long]] or either choose a new target or lose the attack or spell. The spell ends if the warded creature makes an attack roll, casts a spell, or deals damage."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Scorching Ray",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"fire"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Scrying",
			"source": "XPHB",
			"activities": [
				{
					"name": "Secondhand and Picture",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc - 5 + 2"
						}
					}
				},
				{
					"name": "Secondhand and Garment",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc - 5 + 4"
						}
					}
				},
				{
					"name": "Secondhand and Body Part",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc - 5 + 10"
						}
					}
				},
				{
					"name": "Firsthand and Picture",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc - 0 + 2"
						}
					}
				},
				{
					"name": "Firsthand and Garment",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc - 0 + 4"
						}
					}
				},
				{
					"name": "Firsthand and Body Part",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc - 0 + 10"
						}
					}
				},
				{
					"name": "Extensive and Picture",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc + 5 + 2"
						}
					}
				},
				{
					"name": "Extensive and Garment",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc + 5 + 4"
						}
					}
				},
				{
					"name": "Extensive and Body Part",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "custom",
							"formula": "@attributes.spell.dc + 5 + 10"
						}
					}
				},
				{
					"name": "Create Sensor",
					"type": "summon",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "space",
							"special": "at target location or within 10 feet of target creature"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Searing Smite",
			"source": "XPHB",
			"activities": [
				{
					"name": "Start of Turn Save",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "full",
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Damage",
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "searingSmite"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "searingSmite",
					"name": "Seared",
					"duration": {
						"seconds": 60
					},
					"description": "At the start of each of its turns until the spell ends, the target takes [[/damage 1d6 type=fire]] damage and then makes a [[/save ability=con]] saving throw. On a failed save, the spell continues. On a successful save, the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "See Invisibility",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "seeInvisibility"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "seeInvisibility",
					"duration": {
						"rounds": 1,
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.attributes.senses.special",
							"mode": "ADD",
							"value": ";Invisible creatures"
						},
						{
							"key": "system.attributes.senses.special",
							"mode": "ADD",
							"value": ";Ethereal Plane"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Seeming",
			"source": "XPHB",
			"activities": [
				{
					"name": "Unwilling Save",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Change Appearance",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"visible": true
					},
					"effects": [
						{
							"foundryId": "seeming"
						}
					]
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"effects": [
				{
					"foundryId": "seeming",
					"name": "Changed Appearance",
					"duration": {
						"seconds": 28800
					},
					"description": "A creature that takes the Study action to examine a target can make an [[/check ability=int skill=inv]] check against your spell save DC. If it succeeds, it becomes aware that the target is disguised."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sending",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"formula": "1d20cs>1"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sequester",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "sequester"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "sequester",
					"name": "Sequestered",
					"statuses": [
						"invisible",
						"unconscious"
					],
					"description": "If the target is a creature, it enters a state of suspended animation; it has the &Reference[Unconscious apply=false] condition, doesn't age, and doesn't need food, water, or air. This spell also ends if the target takes any damage."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Shapechange",
			"source": "XPHB",
			"activities": [
				{
					"name": "Initial Transformation",
					"type": "transform",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"cr": "max(@details.level, @details.cr)",
							"types": [
								"aberration",
								"beast",
								"celestial",
								"dragon",
								"elemental",
								"fey",
								"fiend",
								"giant",
								"humanoid",
								"monstrosity",
								"ooze",
								"plant"
							]
						}
					],
					"transform": {
						"customize": true,
						"mode": "cr",
						"preset": "polymorph"
					},
					"settings": {
						"effects": [
							"origin",
							"otherOrigin",
							"spell"
						],
						"keep": [
							"mental",
							"saves",
							"skills",
							"languages",
							"spells",
							"type",
							"hp"
						],
						"tempFormula": "@source.attributes.hp.max",
						"preset": "polymorph",
						"transformTokens": true
					}
				},
				{
					"name": "Follow Up Transformations",
					"type": "transform",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"cr": "max(@details.level, @details.cr)",
							"types": [
								"aberration",
								"beast",
								"celestial",
								"dragon",
								"elemental",
								"fey",
								"fiend",
								"giant",
								"humanoid",
								"monstrosity",
								"ooze",
								"plant"
							]
						}
					],
					"transform": {
						"customize": true,
						"mode": "cr",
						"preset": "polymorph"
					},
					"settings": {
						"effects": [
							"origin",
							"otherOrigin",
							"spell"
						],
						"keep": [
							"mental",
							"saves",
							"skills",
							"languages",
							"spells",
							"type",
							"hp"
						],
						"preset": "polymorph",
						"transformTokens": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Shield",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "shield"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "shield",
					"name": "Imperceptible Barrier",
					"disabled": true,
					"duration": {
						"rounds": 1
					},
					"changes": [
						{
							"key": "system.attributes.ac.bonus",
							"mode": "ADD",
							"value": 5
						}
					],
					"descriptionEntries": [
						"Until the start of your next turn, you have a +5 bonus to AC, including against the triggering attack, and you take no damage from {@i Magic Missile}."
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Shield of Faith",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "shieldOfFaith"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "shieldOfFaith",
					"name": "Shimmering Field",
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.attributes.ac.bonus",
							"mode": "ADD",
							"value": 2
						}
					],
					"description": "The target gains a +2 bonus to AC for the duration."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Shillelagh",
			"source": "XPHB",
			"activities": [
				{
					"name": "Imbue Weapon",
					"type": "enchant",
					"activation": {
						"type": "action"
					},
					"restrictions": {
						"allowMagical": true,
						"categories": [
							"simpleM"
						],
						"type": "weapon"
					},
					"effects": [
						{
							"foundryId": "shillelagh"
						},
						{
							"foundryId": "shillelagh1"
						},
						{
							"foundryId": "shillelagh2"
						},
						{
							"foundryId": "shillelagh3"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "shillelagh",
					"name": "Shillelagh (1d8)",
					"type": "enchantment",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.damage.base.denomination",
							"mode": "OVERRIDE",
							"value": 8
						},
						{
							"key": "system.damage.base.types",
							"mode": "ADD",
							"value": "force"
						},
						{
							"key": "system.damage.base.number",
							"mode": "OVERRIDE",
							"value": 1
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "{} Shillelagh"
						},
						{
							"key": "system.damage.base.custom.enabled",
							"mode": "OVERRIDE",
							"value": 0
						},
						{
							"key": "activities[attack].attack.ability",
							"mode": "OVERRIDE",
							"value": "none"
						},
						{
							"key": "activities[attack].attack.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.base.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.versatile.denomination",
							"mode": "OVERRIDE",
							"value": 8
						},
						{
							"key": "system.damage.versatile.number",
							"mode": "OVERRIDE",
							"value": 1
						},
						{
							"key": "system.damage.versatile.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						}
					]
				},
				{
					"foundryId": "shillelagh1",
					"name": "Shillelagh (1d10)",
					"type": "enchantment",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.damage.base.denomination",
							"mode": "OVERRIDE",
							"value": 10
						},
						{
							"key": "system.damage.base.types",
							"mode": "ADD",
							"value": "force"
						},
						{
							"key": "system.damage.base.number",
							"mode": "OVERRIDE",
							"value": 1
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "{} (Shillelagh)"
						},
						{
							"key": "system.damage.base.custom.enabled",
							"mode": "OVERRIDE",
							"value": 0
						},
						{
							"key": "activities[attack].attack.ability",
							"mode": "OVERRIDE",
							"value": "none"
						},
						{
							"key": "activities[attack].attack.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.base.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.versatile.denomination",
							"mode": "OVERRIDE",
							"value": 10
						},
						{
							"key": "system.damage.versatile.number",
							"mode": "OVERRIDE",
							"value": 1
						},
						{
							"key": "system.damage.versatile.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						}
					]
				},
				{
					"foundryId": "shillelagh2",
					"name": "Shillelagh (1d12)",
					"type": "enchantment",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.damage.base.denomination",
							"mode": "OVERRIDE",
							"value": 12
						},
						{
							"key": "system.damage.base.types",
							"mode": "ADD",
							"value": "force"
						},
						{
							"key": "system.damage.base.number",
							"mode": "OVERRIDE",
							"value": 1
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "{} (Shillelagh)"
						},
						{
							"key": "system.damage.base.custom.enabled",
							"mode": "OVERRIDE",
							"value": 0
						},
						{
							"key": "activities[attack].attack.ability",
							"mode": "OVERRIDE",
							"value": "none"
						},
						{
							"key": "activities[attack].attack.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.base.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.versatile.denomination",
							"mode": "OVERRIDE",
							"value": 12
						},
						{
							"key": "system.damage.versatile.number",
							"mode": "OVERRIDE",
							"value": 1
						},
						{
							"key": "system.damage.versatile.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						}
					]
				},
				{
					"foundryId": "shillelagh3",
					"name": "Shillelagh (2d6)",
					"type": "enchantment",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.damage.base.denomination",
							"mode": "OVERRIDE",
							"value": 6
						},
						{
							"key": "system.damage.base.types",
							"mode": "ADD",
							"value": "force"
						},
						{
							"key": "system.damage.base.number",
							"mode": "OVERRIDE",
							"value": 2
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "{} (Shillelagh)"
						},
						{
							"key": "system.damage.base.custom.enabled",
							"mode": "OVERRIDE",
							"value": 0
						},
						{
							"key": "activities[attack].attack.ability",
							"mode": "OVERRIDE",
							"value": "none"
						},
						{
							"key": "activities[attack].attack.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.base.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						},
						{
							"key": "system.damage.versatile.denomination",
							"mode": "OVERRIDE",
							"value": 6
						},
						{
							"key": "system.damage.versatile.number",
							"mode": "OVERRIDE",
							"value": 2
						},
						{
							"key": "system.damage.versatile.bonus",
							"mode": "ADD",
							"value": "max(@abilities.str.mod, @attributes.spell.mod)"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Shining Smite",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "shiningSmite"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "shiningSmite",
					"name": "Shining",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"marked"
					],
					"changes": [
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "invisible"
						}
					],
					"description": "Until the spell ends, the target sheds &Reference[BrightLight] in a 5-foot radius, attack rolls against it have Advantage, and it can't benefit from the &Reference[Invisible] condition."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Shocking Grasp",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "melee"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 8,
								"types": [
									"lightning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "shockingGrasp"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "shockingGrasp",
					"name": "Shocked",
					"duration": {
						"turns": 1
					},
					"description": "The target can't make Opportunity Attacks until the start of its next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Silence",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "silence"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "silence",
					"name": "Silenced",
					"duration": {
						"seconds": 600
					},
					"statuses": [
						"deafened",
						"silenced"
					],
					"changes": [
						{
							"key": "system.traits.di.value",
							"mode": "ADD",
							"value": "thunder"
						}
					],
					"description": "Any creature or object entirely inside the Sphere has Immunity to Thunder damage, and creatures have the Deafened condition while entirely inside it. Casting a spell that includes a Verbal component is impossible there."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Silent Image",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Study",
					"type": "check",
					"activation": {
						"type": "",
						"condition": "Study Action taken by other creature"
					},
					"range": {
						"units": "any"
					},
					"check": {
						"associated": [
							"inv"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Simulacrum",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Simulacrum",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sleep",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "sleep"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "sleep",
					"name": "Sleeping",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"incapacitated"
					],
					"description": "The target has the &Reference[incapacitated apply=false] condition until the end of its next turn, at which point it must repeat the save. If the target fails the second save, the target has the &Reference[unconscious] condition for the duration. The spell ends on a target if it takes damage or someone within 5 feet of it takes an action to shake it out of the spell's effect."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sleet Storm",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Slow",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "slow"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "slow",
					"name": "Slowed",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.attributes.ac.bonus",
							"mode": "ADD",
							"value": -2
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.walk",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.abilities.dex.bonuses.save",
							"mode": "ADD",
							"value": -2
						}
					],
					"description": "An affected target's Speed is halved, it takes a \u22122 penalty to AC and Dexterity saving throws, and it can't take Reactions. On its turns, it can take either an action or a Bonus Action, not both, and it can make only one attack if it takes the Attack action. If it casts a spell with a Somatic component, there is a [[/r 1d100cs>25#Slowed spell cast success]]{25 percent} chance the spell fails as a result of the target making the spell's gestures too slowly. An affected target repeats the [[/save ability=wis]] save at the end of each of its turns, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sorcerous Burst",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "1d8x@mod=8"
								},
								"number": 1,
								"denomination": 8,
								"types": [
									"acid",
									"cold",
									"fire",
									"lightning",
									"poison",
									"psychic",
									"thunder"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Spare the Dying",
			"source": "XPHB",
			"system": {
				"range.value": "15 * pow(2, @scaling.increase)"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "spareTheDying"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "spareTheDying",
					"name": "Stabilized",
					"statuses": [
						"stable"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Speak with Animals",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "speakWithAnimals"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "speakWithAnimals",
					"name": "Bestial Communication",
					"disabled": true,
					"transfer": true,
					"duration": {
						"rounds": 1,
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.traits.languages.custom",
							"mode": "ADD",
							"value": ";comprehend and verbally communicate with Beasts"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Speak with Plants",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "speakWithPlants"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "speakWithPlants",
					"name": "Speaking with Plants",
					"duration": {
						"seconds": 600
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Spider Climb",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level - 1"
			},
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "spiderClimb"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "spiderClimb",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.attributes.movement.climb",
							"mode": "UPGRADE",
							"value": 1
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Spike Growth",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 4,
								"types": [
									"piercing"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Spirit Guardians",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Save",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"value": "15"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 3,
								"denomination": 8,
								"types": [
									"necrotic",
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "spiritGuardians"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "spiritGuardians",
					"name": "Half Speed",
					"duration": {
						"seconds": 600
					},
					"changes": [
						{
							"key": "system.attributes.movement.walk",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.fly",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.climb",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.swim",
							"mode": "MULTIPLY",
							"value": 0.5
						},
						{
							"key": "system.attributes.movement.burrow",
							"mode": "MULTIPLY",
							"value": 0.5
						}
					],
					"description": "The creature's speed is halved while within the Emanation."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Spirit of Death",
			"source": "BMT",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Reaper Spirit",
							"uuid": "@creature[reaper spirit|bmt]"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Spirit Shroud",
			"source": "TCE",
			"activities": [
				{
					"type": "damage",
					"damage": {
						"parts": []
					},
					"roll": {
						"formula": "(floor(((@item.level) - 1) / 2))d8"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Spiritual Weapon",
			"source": "PHB",
			"activities": [
				{
					"type": "damage",
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "(floor((@item.level) / 2))d8 + @mod"
								},
								"types": [
									"force"
								]
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Staggering Smite",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "full",
						"parts": [
							{
								"number": 4,
								"denomination": 6,
								"types": [
									"psychic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Starry Wisp",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 8,
								"types": [
									"radiant"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "starryWisp"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "starryWisp",
					"name": "Illuminated",
					"duration": {
						"rounds": 1
					},
					"description": "Until the end of your next turn, it emits Dim Light in a 10-foot radius and can't benefit from the &Reference[Invisible] condition."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Stinking Cloud",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast and Save",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "stinkingCloud"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "stinkingCloud",
					"name": "Stinking Poison",
					"duration": {
						"turns": 1
					},
					"statuses": [
						"poisoned"
					],
					"description": "While &Reference[poisoned apply=false] in this way, the creature can't take an action or a Bonus Action."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Stoneskin",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "stoneskin"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "stoneskin",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "bludgeoning"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "piercing"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "slashing"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Storm of Vengeance",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Storm",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/statuses/exhaustion-1.svg",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"thunder"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "stormOfVengeance"
						}
					]
				},
				{
					"name": "Turn 2: Acid Rain",
					"type": "damage",
					"img": "systems/dnd5e/icons/svg/statuses/exhaustion-2.svg",
					"activation": {
						"type": "",
						"condition": "at the start of your turn"
					},
					"target": {
						"affects": {
							"type": "creature",
							"special": "creatures under the cloud"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 4,
								"denomination": 6,
								"types": [
									"acid"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Turn 3: Lightning",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/statuses/exhaustion-3.svg",
					"activation": {
						"type": "",
						"condition": "at the start of your turn"
					},
					"target": {
						"affects": {
							"type": "creature",
							"special": "creatures under the cloud"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 6,
								"types": [
									"lightning"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Turn 4: Hailstones",
					"type": "damage",
					"img": "systems/dnd5e/icons/svg/statuses/exhaustion-4.svg",
					"activation": {
						"type": "",
						"condition": "at the start of your turn"
					},
					"target": {
						"affects": {
							"type": "creature",
							"special": "creatures under the cloud"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Turn 5+: Gusts and Rain",
					"type": "damage",
					"img": "systems/dnd5e/icons/svg/statuses/exhaustion-5.svg",
					"activation": {
						"type": "",
						"condition": "at the start of your turn"
					},
					"target": {
						"affects": {
							"type": "creature",
							"special": "creatures under the cloud"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"cold"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"effects": [
				{
					"foundryId": "stormOfVengeance",
					"name": "Deafened",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"deafened"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Suggestion",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "suggestion"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "suggestion",
					"name": "Pursuing Suggestion",
					"duration": {
						"seconds": 28800
					},
					"statuses": [
						"charmed"
					],
					"description": "The Charmed target pursues the suggestion to the best of its ability. The suggested activity can continue for the entire duration, but if the suggested activity can be completed in a shorter time, the spell ends for the target upon completing it."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Aberration",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Beholderkin",
							"uuid": "@creature[aberrant spirit (beholderkin)|tce]"
						},
						{
							"name": "Slaad",
							"uuid": "@creature[aberrant spirit (slaad)|tce]"
						},
						{
							"name": "Star Spawn",
							"uuid": "@creature[aberrant spirit (star spawn)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 4) * 10",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Aberration",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[aberrant spirit (beholderkin)|xphb]"
						},
						{
							"uuid": "@creature[aberrant spirit (slaad)|xphb]"
						},
						{
							"uuid": "@creature[aberrant spirit (star spawn)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "10 * (@item.level - 4)",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Beast",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Air",
							"uuid": "@creature[bestial spirit (air)|tce]"
						},
						{
							"name": "Land",
							"uuid": "@creature[bestial spirit (land)|tce]"
						},
						{
							"name": "Water",
							"uuid": "@creature[bestial spirit (water)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 2) * 5",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Beast",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[bestial spirit (air)|xphb]"
						},
						{
							"uuid": "@creature[bestial spirit (land)|xphb]"
						},
						{
							"uuid": "@creature[bestial spirit (water)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "5 * (@item.level - 2)",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Celestial",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Avenger",
							"uuid": "@creature[celestial spirit (avenger)|tce]"
						},
						{
							"name": "Defender",
							"uuid": "@creature[celestial spirit (defender)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 5) * 10",
						"attackDamage": "@item.level",
						"healing": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Celestial",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"name": "Avenger",
							"uuid": "@creature[celestial spirit (avenger)|xphb]"
						},
						{
							"name": "Defender",
							"uuid": "@creature[celestial spirit (defender)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "10 * (@item.level - 5)",
						"attackDamage": "@item.level"
					},
					"match": {
						"attacks": true,
						"proficiency": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Construct",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Clay",
							"uuid": "@creature[construct spirit (clay)|tce]"
						},
						{
							"name": "Metal",
							"uuid": "@creature[construct spirit (metal)|tce]"
						},
						{
							"name": "Stone",
							"uuid": "@creature[construct spirit (stone)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 4) * 15",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Construct",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"name": "Clay",
							"uuid": "@creature[construct spirit (clay)|xphb]"
						},
						{
							"name": "Metal",
							"uuid": "@creature[construct spirit (metal)|xphb]"
						},
						{
							"name": "Stone",
							"uuid": "@creature[construct spirit (stone)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "15 * (@item.level - 4)",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Draconic Spirit",
			"source": "FTD",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Chromatic",
							"uuid": "@creature[draconic spirit (chromatic)|ftd]"
						},
						{
							"name": "Gem",
							"uuid": "@creature[draconic spirit (gem)|ftd]"
						},
						{
							"name": "Metallic",
							"uuid": "@creature[draconic spirit (metallic)|ftd]"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Dragon",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[draconic spirit|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "10 * (@item.level - 5)",
						"attackDamage": "@item.level"
					},
					"match": {
						"attacks": true,
						"proficiency": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Elemental",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Air",
							"uuid": "@creature[elemental spirit (air)|tce]"
						},
						{
							"name": "Earth",
							"uuid": "@creature[elemental spirit (earth)|tce]"
						},
						{
							"name": "Fire",
							"uuid": "@creature[elemental spirit (fire)|tce]"
						},
						{
							"name": "Water",
							"uuid": "@creature[elemental spirit (water)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 4) * 10",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Elemental",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"name": "Air",
							"uuid": "@creature[elemental spirit (air)|xphb]"
						},
						{
							"name": "Earth",
							"uuid": "@creature[elemental spirit (earth)|xphb]"
						},
						{
							"name": "Fire",
							"uuid": "@creature[elemental spirit (fire)|xphb]"
						},
						{
							"name": "Water",
							"uuid": "@creature[elemental spirit (water)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "10 * (@item.level - 4)",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Fey",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Fuming",
							"uuid": "@creature[fey spirit (fuming)|tce]"
						},
						{
							"name": "Mirthful",
							"uuid": "@creature[fey spirit (mirthful)|tce]"
						},
						{
							"name": "Tricksy",
							"uuid": "@creature[fey spirit (tricksy)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 3) * 10",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Fey",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[fey spirit (fuming)|xphb]"
						},
						{
							"uuid": "@creature[fey spirit (mirthful)|xphb]"
						},
						{
							"uuid": "@creature[fey spirit (tricksy)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "10 * (@item.level - 3)",
						"attackDamage": "@item.level"
					},
					"match": {
						"attacks": true,
						"saves": true,
						"proficiency": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Fiend",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Demon",
							"uuid": "@creature[fiendish spirit (demon)|tce]"
						},
						{
							"name": "Devil",
							"uuid": "@creature[fiendish spirit (devil)|tce]"
						},
						{
							"name": "Yugoloth",
							"uuid": "@creature[fiendish spirit (yugoloth)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "15 * @item.level",
						"attackDamage": "@item.level",
						"saveDamage": "@item.level"
					},
					"match": {
						"attacks": true,
						"proficiency": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Fiend",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"name": "Demon",
							"uuid": "@creature[fiendish spirit (demon)|xphb]"
						},
						{
							"name": "Devil",
							"uuid": "@creature[fiendish spirit (devil)|xphb]"
						},
						{
							"name": "Yugoloth",
							"uuid": "@creature[fiendish spirit (yugoloth)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "15 * (@item.level - 6)",
						"attackDamage": "@item.level",
						"saveDamage": "@item.level"
					},
					"match": {
						"attacks": true,
						"proficiency": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Shadowspawn",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Fury",
							"uuid": "@creature[shadow spirit (fury)|tce]"
						},
						{
							"name": "Despair",
							"uuid": "@creature[shadow spirit (despair)|tce]"
						},
						{
							"name": "Fear",
							"uuid": "@creature[shadow spirit (fear)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 3) * 15",
						"attackDamage": "@item.level"
					},
					"match": {
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Undead",
			"source": "TCE",
			"activities": [
				{
					"type": "summon",
					"profiles": [
						{
							"name": "Ghostly",
							"uuid": "@creature[undead spirit (ghostly)|tce]"
						},
						{
							"name": "Putrid",
							"uuid": "@creature[undead spirit (putrid)|tce]"
						},
						{
							"name": "Skeletal",
							"uuid": "@creature[undead spirit (skeletal)|tce]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "(@item.level - 3) * 10",
						"attackDamage": "@item.level"
					},
					"match": {
						"attacks": true,
						"proficiency": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Summon Undead",
			"source": "XPHB",
			"activities": [
				{
					"type": "summon",
					"activation": {
						"type": "action"
					},
					"profiles": [
						{
							"uuid": "@creature[undead spirit (ghostly)|xphb]"
						},
						{
							"uuid": "@creature[undead spirit (putrid)|xphb]"
						},
						{
							"uuid": "@creature[undead spirit (skeletal)|xphb]"
						}
					],
					"bonuses": {
						"ac": "@item.level",
						"hp": "10 * (@item.level - 3)",
						"attackDamage": "@item.level"
					},
					"match": {
						"proficiency": true,
						"attacks": true,
						"saves": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sunbeam",
			"source": "XPHB",
			"activities": [
				{
					"name": "Initial Cast",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 6,
								"denomination": 8,
								"types": [
									"radiant"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "sunbeam"
						}
					]
				},
				{
					"name": "Create New Sunbeam",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 6,
								"denomination": 8,
								"types": [
									"radiant"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "sunbeam"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "sunbeam",
					"name": "Blinded",
					"duration": {
						"rounds": 1
					},
					"statuses": [
						"blinded"
					],
					"description": "The target has the &Reference[Blinded apply=false] condition until the start of your next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Sunburst",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 12,
								"denomination": 6,
								"types": [
									"radiant"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "sunburst"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "sunburst",
					"name": "Blinded",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"blinded"
					],
					"description": "A creature &Reference[Blinded apply=false] by this spell makes another [[/save ability=con format=long]] at the end of each of its turns, ending the effect on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Swift Quiver",
			"source": "XPHB",
			"activities": [
				{
					"name": "Cast",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Cast and Enchant",
					"type": "enchant",
					"activation": {
						"type": "action"
					},
					"restrictions": {
						"allowMagical": true,
						"categories": [
							"simpleR",
							"martialR"
						],
						"properties": [
							"amm"
						],
						"type": "weapon"
					},
					"effects": [
						{
							"foundryId": "swiftQuiver"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "swiftQuiver",
					"name": "Endless Ammunition",
					"type": "enchantment",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.properties",
							"mode": "ADD",
							"value": "-amm"
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "Swift {}"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Symbol",
			"source": "XPHB",
			"activities": [
				{
					"name": "Inscribe Glyph",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/activity/summon.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "circle",
							"size": "1"
						},
						"affects": {
							"count": "1",
							"type": "object"
						}
					}
				},
				{
					"name": "Death",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "60"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 10,
								"types": [
									"necrotic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Discord",
					"type": "save",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "minute",
						"value": "1"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "60"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "symbol"
						}
					]
				},
				{
					"name": "Fear",
					"type": "save",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "minute",
						"value": "1"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "60"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "symbol1"
						}
					]
				},
				{
					"name": "Pain",
					"type": "save",
					"activation": {
						"type": ""
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "60"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "symbol2"
						}
					]
				},
				{
					"name": "Sleep",
					"type": "save",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "minute",
						"value": "10"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "60"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "symbol3"
						}
					]
				},
				{
					"name": "Stunning",
					"type": "save",
					"activation": {
						"type": ""
					},
					"duration": {
						"units": "minute",
						"value": "1"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "60"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "symbol4"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "symbol",
					"name": "Arguing",
					"duration": {
						"seconds": 60
					},
					"description": "The target is incapable of meaningful communication and has Disadvantage on attack rolls and ability checks."
				},
				{
					"foundryId": "symbol1",
					"name": "Frightened",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"frightened"
					],
					"description": "While Frightened, the target must move at least 30 feet away from the glyph on each of its turns, if able."
				},
				{
					"foundryId": "symbol2",
					"name": "Incapacitated",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"incapacitated"
					]
				},
				{
					"foundryId": "symbol3",
					"name": "Sleeping",
					"duration": {
						"seconds": 600
					},
					"statuses": [
						"unconscious"
					],
					"description": "A creature awakens if it takes damage or if someone takes an action to shake it awake."
				},
				{
					"foundryId": "symbol4",
					"name": "Stunned",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"stunned"
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Synaptic Static",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 8,
								"denomination": 6,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"int"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "synapticStatic"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "synapticStatic",
					"name": "Muddled Thoughts",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.bonuses.mwak.attack",
							"mode": "ADD",
							"value": "- 1d6"
						},
						{
							"key": "system.bonuses.msak.attack",
							"mode": "ADD",
							"value": "- 1d6"
						},
						{
							"key": "system.bonuses.rsak.attack",
							"mode": "ADD",
							"value": "- 1d6"
						},
						{
							"key": "system.bonuses.rwak.attack",
							"mode": "ADD",
							"value": "- 1d6"
						},
						{
							"key": "system.bonuses.abilities.check",
							"mode": "ADD",
							"value": "- 1d6"
						},
						{
							"key": "system.attributes.concentration.bonuses.save",
							"mode": "ADD",
							"value": "- 1d6"
						}
					],
					"description": "The target subtracts 1d6 from all its attack rolls and ability checks, as well as any Constitution saving throws to maintain Concentration. The target makes an [[/save ability=int format=long]] at the end of each of its turns, ending the effect on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Tasha's Bubbling Cauldron",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Cauldron",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/activity/summon.svg",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "-@attributes.spell.dc"
							}
						]
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "square",
							"size": "5"
						},
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				},
				{
					"name": "Withdraw Potion",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/ink-pot.svg",
					"activation": {
						"type": "bonus",
						"condition": "you or an ally"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "1"
							}
						]
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "object"
						}
					},
					"range": {
						"units": "touch"
					},
					"roll": {
						"visible": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Tasha's Hideous Laughter",
			"source": "XPHB",
			"system": {
				"target.affects.count": "@item.level"
			},
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "tashasHideousLau"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "tashasHideousLau",
					"name": "Uncontrollable Laughter",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"incapacitated"
					],
					"flags": {
						"dnd5e": {
							"riders": {
								"statuses": [
									"prone"
								]
							}
						}
					},
					"description": "has the &Reference[prone apply=false] and &Reference[incapacitated apply=false] conditions for the duration. During that time, it laughs uncontrollably if it's capable of laughter, and it can't end the Prone condition on itself. At the end of each of its turns and each time it takes damage, it makes another [[/save ability=wis dc=@attributes.spell.dc]] saving throw. The target has Advantage on the save if the save is triggered by damage. On a successful save, the spell ends."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Telepathy",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Telepathic Link",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "telepathy"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "telepathy",
					"name": "Telepathically Linked",
					"duration": {
						"seconds": 86400
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Teleport",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Thaumaturgy",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "thaumaturgy"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "thaumaturgy",
					"name": "Booming Voice",
					"duration": {
						"seconds": 60
					},
					"changes": [
						{
							"key": "system.skills.itm.roll.mode",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "Your voice booms up to three times as loud as normal for 1 minute. For the duration, you have Advantage on [[/check ability=cha skill=itm]] checks."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Thorn Whip",
			"source": "XPHB",
			"activities": [
				{
					"name": "Attack and Pull",
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "melee"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"piercing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Thunderous Smite",
			"source": "XPHB",
			"activities": [
				{
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 2,
								"denomination": 6,
								"types": [
									"thunder"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				},
				{
					"name": "Save vs. Push",
					"type": "save",
					"activation": {
						"type": ""
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "thunderousSmite"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "thunderousSmite",
					"name": "Prone",
					"statuses": [
						"prone"
					],
					"description": "Due to being pushed 10 feet away, the target is &Reference[prone apply=false]."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Time Stop",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"name": "Consecutive Turns",
						"formula": "1d4 + 1"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Toll the Dead",
			"source": "XPHB",
			"activities": [
				{
					"name": "Healthy Target",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/hit-points.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature",
							"special": "undamaged creature"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 8,
								"types": [
									"necrotic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Damaged Target",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/trait-damage-vulnerabilities.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature",
							"special": "creature missing any of its Hit Points"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 12,
								"types": [
									"necrotic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Tongues",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "tongues"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "tongues",
					"name": "Universal Communication",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.languages.custom",
							"mode": "ADD",
							"value": ";all spoken or signed languages"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "True Polymorph",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"type": "transform",
					"activation": {
						"type": ""
					},
					"profiles": [
						{
							"name": "Creature into Creature"
						},
						{
							"cr": "9",
							"name": "Object into Creature"
						}
					],
					"transform": {
						"customize": true,
						"mode": "cr",
						"preset": "polymorph"
					},
					"settings": {
						"effects": [
							"origin",
							"otherOrigin",
							"spell"
						],
						"tempFormula": "@source.attributes.hp.max",
						"preset": "polymorph",
						"transformTokens": true
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "True Resurrection",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "True Seeing",
			"source": "XPHB",
			"activities": [
				{
					"name": "Grant Truesight",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "trueSeeing"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "trueSeeing",
					"name": "Truesight",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.attributes.senses.truesight",
							"mode": "UPGRADE",
							"value": 120
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "True Strike",
			"source": "XPHB",
			"activities": [
				{
					"name": "Enchant Weapon",
					"type": "enchant",
					"activation": {
						"type": "action"
					},
					"restrictions": {
						"allowMagical": true,
						"type": "weapon"
					},
					"effects": [
						{
							"foundryId": "trueStrike",
							"riders": {
								"activity": [
									{
										"foundryId": "trueStrike"
									}
								]
							}
						},
						{
							"foundryId": "trueStrike1",
							"riders": {
								"activity": [
									{
										"foundryId": "trueStrike1"
									}
								]
							}
						}
					]
				},
				{
					"foundryId": "trueStrike",
					"name": "Spellcasting Attack",
					"type": "attack",
					"img": "systems/dnd5e/icons/svg/damage/bludgeoning.svg",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "melee",
							"classification": "weapon"
						},
						"ability": "spellcasting"
					},
					"damage": {
						"includeBase": true
					}
				},
				{
					"foundryId": "trueStrike1",
					"name": "Spellcasting Attack",
					"type": "attack",
					"img": "systems/dnd5e/icons/svg/damage/piercing.svg",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "weapon"
						},
						"ability": "spellcasting"
					},
					"damage": {
						"includeBase": true
					}
				}
			],
			"effects": [
				{
					"foundryId": "trueStrike",
					"type": "enchantment",
					"duration": {
						"turns": 1
					},
					"changes": [
						{
							"key": "system.damage.base.types",
							"mode": "ADD",
							"value": "radiant"
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "{} (True Strike)"
						},
						{
							"key": "system.damage.parts",
							"mode": "ADD",
							"value": [
								[
									"(floor((@details.level + 1) / 6))d6",
									"radiant"
								]
							]
						},
						{
							"key": "activities[attack].attack.ability",
							"mode": "OVERRIDE",
							"value": "spellcasting"
						}
					]
				},
				{
					"foundryId": "trueStrike1",
					"name": "Ranged Weapon",
					"type": "enchantment",
					"duration": {
						"turns": 1
					},
					"changes": [
						{
							"key": "system.damage.base.types",
							"mode": "ADD",
							"value": "radiant"
						},
						{
							"key": "name",
							"mode": "OVERRIDE",
							"value": "{} (True Strike)"
						},
						{
							"key": "system.damage.base.bonus",
							"mode": "ADD",
							"value": "(floor((@details.level + 1) / 6))d6[radiant]"
						}
					]
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Tsunami",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Tsunami",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "-6"
							}
						]
					},
					"damage": {
						"parts": [
							{
								"number": 6,
								"denomination": 10,
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Start of Turn Effects",
					"type": "save",
					"img": "systems/dnd5e/icons/svg/statuses/concentrating.svg",
					"activation": {
						"type": "",
						"condition": "start of each of your turns"
					},
					"consumption": {
						"targets": [
							{
								"type": "itemUses",
								"value": "1"
							}
						]
					},
					"target": {
						"affects": {
							"type": "creature"
						}
					},
					"range": {
						"units": "ft",
						"special": "moves away from you",
						"value": "50"
					},
					"damage": {
						"parts": [
							{
								"custom": {
									"enabled": true,
									"formula": "(@item.uses.value)d10"
								},
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Vampiric Touch",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "melee",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 3,
								"denomination": 6,
								"types": [
									"necrotic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Vicious Mockery",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"psychic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "viciousMockery"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "viciousMockery",
					"name": "Mocked",
					"duration": {
						"rounds": 1
					},
					"description": "The target has Disadvantage on the next attack roll it makes before the end of its next turn."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Vitriolic Sphere",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"custom": {
									"formula": "(2 * @item.level + 2)d4"
								},
								"number": 10,
								"denomination": 4,
								"types": [
									"acid"
								],
								"scaling": {
									"mode": "whole",
									"number": 2
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "vitriolicSphere"
						}
					]
				},
				{
					"name": "End of Turn Damage",
					"type": "damage",
					"activation": {
						"type": ""
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 5,
								"denomination": 4,
								"types": [
									"acid"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"effects": [
				{
					"foundryId": "vitriolicSphere",
					"name": "Lingering Acid",
					"duration": {
						"turns": 1
					},
					"description": "The creature takes [[/damage 5d4 type=acid]] damage at the end of its next turn"
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wall of Fire",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Wall",
					"type": "save",
					"img": "icons/magic/fire/flame-burning-fence.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "60",
							"width": "1",
							"height": "20"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 5,
								"denomination": 8,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Create Ring",
					"type": "save",
					"img": "icons/magic/fire/barrier-wall-flame-ring-yellow.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cylinder",
							"size": "10",
							"width": "1",
							"height": "20"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 5,
								"denomination": 8,
								"types": [
									"fire"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wall of Force",
			"source": "XPHB",
			"activities": [
				{
					"name": "Sphere or Globe",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "10"
						}
					}
				},
				{
					"name": "Panels",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"contiguous": true,
							"units": "ft",
							"type": "wall",
							"size": "10",
							"count": "10",
							"width": "1/12",
							"height": "10"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wall of Ice",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Globe",
					"type": "save",
					"img": "icons/magic/water/barrier-ice-shield.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "sphere",
							"size": "10"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 6,
								"types": [
									"cold"
								],
								"scaling": {
									"mode": "whole",
									"number": 2
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Create Panels",
					"type": "save",
					"img": "icons/magic/water/barrier-ice-wall-snow.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"contiguous": true,
							"units": "ft",
							"count": "10",
							"type": "wall",
							"size": "10",
							"width": "1",
							"height": "10"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 6,
								"types": [
									"cold"
								],
								"scaling": {
									"mode": "whole",
									"number": 2
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Frigid Air",
					"type": "save",
					"img": "icons/magic/water/snowflake-ice-blue-white.webp",
					"activation": {
						"type": "",
						"condition": "creature moves through the wall for the first time on a turn"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "spec"
					},
					"damage": {
						"parts": [
							{
								"number": 5,
								"denomination": 6,
								"types": [
									"cold"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"con"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wall of Stone",
			"source": "XPHB",
			"activities": [
				{
					"name": "Square Panels",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"contiguous": true,
							"units": "ft",
							"type": "wall",
							"size": "10",
							"count": "10",
							"width": "1/2",
							"height": "10"
						}
					}
				},
				{
					"name": "Long Panels",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"contiguous": true,
							"units": "ft",
							"count": "10",
							"type": "wall",
							"size": "20",
							"width": "1/4",
							"height": "10"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wall of Thorns",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Wall",
					"type": "save",
					"img": "icons/magic/nature/root-vine-entwined-thorns.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "60",
							"width": "5",
							"height": "10"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 7,
								"denomination": 8,
								"types": [
									"piercing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Create Circle",
					"type": "save",
					"img": "icons/magic/nature/trap-spikes-thorns-green.webp",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "cylinder",
							"size": "10",
							"width": "5",
							"height": "20"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"parts": [
							{
								"number": 7,
								"denomination": 8,
								"types": [
									"piercing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Traversal Save",
					"type": "save",
					"img": "icons/magic/nature/root-vine-entangled-humanoid.webp",
					"activation": {
						"type": "",
						"condition": "first time a creature enters or ends its turn in the wall"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 7,
								"denomination": 8,
								"types": [
									"slashing"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Warding Bond",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "wardingBond"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "wardingBond",
					"name": "Bonded",
					"duration": {
						"seconds": 3600
					},
					"changes": [
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "acid"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "bludgeoning"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "cold"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "fire"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "force"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "lightning"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "necrotic"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "piercing"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "poison"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "psychic"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "radiant"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "slashing"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "thunder"
						},
						{
							"key": "system.attributes.ac.bonus",
							"mode": "ADD",
							"value": 1
						},
						{
							"key": "system.bonuses.abilities.save",
							"mode": "ADD",
							"value": 1
						}
					],
					"description": "While the target is within 60 feet of you, it gains a +1 bonus to AC and saving throws, and it has Resistance to all damage. Also, each time it takes damage, you take the same amount of damage. The spell ends if you drop to 0 Hit Points or if you and the target become separated by more than 60 feet. It also ends if the spell is cast again on either of the connected creatures."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Water Breathing",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "waterBreathing"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "waterBreathing",
					"duration": {
						"seconds": 86400
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Water Walk",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"effects": [
						{
							"foundryId": "waterWalk"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "waterWalk",
					"name": "Water Walking",
					"duration": {
						"rounds": 1,
						"seconds": 3600
					},
					"description": "An affected target must take a Bonus Action to pass from the liquid's surface into the liquid itself and vice versa, but if the target falls into the liquid, the target passes through the surface into the liquid below."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Web",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "full",
						"parts": [
							{
								"number": 2,
								"denomination": 4,
								"types": [
									"fire"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"dex"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Weird",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"parts": [
							{
								"number": 10,
								"denomination": 10,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "weird"
						}
					]
				},
				{
					"name": "End of Turn Save",
					"type": "save",
					"activation": {
						"type": "",
						"condition": "at the end of each affected creature's turn"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"units": "any"
					},
					"damage": {
						"parts": [
							{
								"number": 5,
								"denomination": 10,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "none"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"effects": [
				{
					"foundryId": "weird",
					"name": "Frightening Terrors",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"frightened"
					],
					"description": "A &Reference[Frightened apply=false] target makes a [[/save ability=wis format=long]] at the end of each of its turns. On a failed save, it takes [[/damage 5d10 type=psychic]] damage. On a successful save, the spell ends on that target."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wind Walk",
			"source": "XPHB",
			"activities": [
				{
					"name": "Transform to Cloud",
					"type": "utility",
					"activation": {
						"type": "action"
					},
					"roll": {
						"visible": true
					},
					"effects": [
						{
							"foundryId": "windWalk"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "windWalk",
					"name": "Cloud Form",
					"duration": {
						"seconds": 28800
					},
					"statuses": [
						"transformed"
					],
					"changes": [
						{
							"key": "system.attributes.movement.fly",
							"mode": "UPGRADE",
							"value": 300
						},
						{
							"key": "system.attributes.movement.hover",
							"mode": "OVERRIDE",
							"value": true
						},
						{
							"key": "system.traits.ci.value",
							"mode": "ADD",
							"value": "prone"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "bludgeoning"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "piercing"
						},
						{
							"key": "system.traits.dr.value",
							"mode": "ADD",
							"value": "slashing"
						}
					],
					"description": "The only actions a target can take in this form are the &Reference[Dash] action or a Magic action to begin reverting to its normal form. Reverting takes 1 minute, during which the target has the &Reference[Stunned apply=false] condition. Until the spell ends, the target can revert to cloud form, which also requires a Magic action followed by a 1-minute transformation."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wind Wall",
			"source": "XPHB",
			"activities": [
				{
					"name": "Create Single Wall",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"units": "ft",
							"type": "wall",
							"size": "50",
							"width": "1",
							"height": "15"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 4,
								"denomination": 8,
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				},
				{
					"name": "Create Segmented Wall",
					"type": "save",
					"activation": {
						"type": "action"
					},
					"target": {
						"template": {
							"contiguous": true,
							"units": "ft",
							"type": "wall",
							"size": "10",
							"width": "1",
							"height": "15",
							"count": "5"
						},
						"affects": {
							"type": "creature"
						}
					},
					"damage": {
						"onSave": "half",
						"parts": [
							{
								"number": 4,
								"denomination": 8,
								"types": [
									"bludgeoning"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"str"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wish",
			"source": "XPHB",
			"activities": [
				{
					"type": "utility",
					"description": {
						"chatFlavor": "<em>Wish</em> lost on 1: [[/r 1d3cs1]]"
					},
					"activation": {
						"type": "action"
					},
					"roll": {
						"name": "Strength Sap Duration",
						"formula": "2d4[days]"
					},
					"effects": [
						{
							"foundryId": "wish"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "wish",
					"name": "Wish Stress",
					"changes": [
						{
							"key": "system.abilities.str.value",
							"mode": "DOWNGRADE",
							"value": 3
						}
					],
					"description": "Each time you cast a spell until you finish a Long Rest, you take [[/damage 1d10 type=necrotic]] damage per level of that spell. This damage can't be reduced or prevented in any way. In addition, your Strength score becomes 3 for [[/r 2d4]] days."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Witch Bolt",
			"source": "PHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 1,
								"denomination": 12,
								"types": [
									"lightning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "witchBolt"
						}
					]
				},
				{
					"name": "Action Damage",
					"type": "damage",
					"activation": {
						"type": "action"
					},
					"duration": {
						"units": "inst",
						"concentration": false,
						"override": true
					},
					"consumption": {
						"scaling": {
							"allowed": false
						},
						"spellSlot": false
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 12,
								"types": [
									"lightning"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Witch Bolt",
			"source": "XPHB",
			"activities": [
				{
					"type": "attack",
					"activation": {
						"type": "action"
					},
					"attack": {
						"type": {
							"value": "ranged",
							"classification": "spell"
						}
					},
					"damage": {
						"includeBase": true,
						"parts": [
							{
								"number": 2,
								"denomination": 12,
								"types": [
									"lightning"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"effects": [
						{
							"foundryId": "witchBolt"
						}
					]
				},
				{
					"name": "Bonus Action Damage",
					"type": "damage",
					"activation": {
						"type": "bonus"
					},
					"duration": {
						"units": "inst",
						"concentration": false,
						"override": true
					},
					"consumption": {
						"scaling": {
							"allowed": false
						},
						"spellSlot": false
					},
					"damage": {
						"parts": [
							{
								"number": 1,
								"denomination": 12,
								"types": [
									"lightning"
								],
								"scaling": {
									"number": 1
								}
							}
						]
					}
				}
			],
			"effects": [
				{
					"foundryId": "witchBolt",
					"name": "Sustained Lightning",
					"duration": {
						"rounds": 1,
						"seconds": 60
					},
					"description": "On each of your subsequent turns, you can take a Bonus Action to deal [[/damage 1d12 type=lightning]] damage to the target automatically, even if the first attack missed. The spell ends if the target is ever outside the spell's range or if it has &Reference[totalcover] from you."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Word of Recall",
			"source": "XPHB",
			"activities": [
				{
					"name": "Teleport to Sanctuary",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/trait-saves.svg",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Designate Sanctuary",
					"type": "utility",
					"img": "systems/dnd5e/icons/svg/items/background.svg",
					"activation": {
						"type": "action"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "space"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Wrathful Smite",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "full",
						"parts": [
							{
								"number": 1,
								"denomination": 6,
								"types": [
									"necrotic"
								],
								"scaling": {
									"mode": "whole",
									"number": 1
								}
							}
						]
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "wrathfulSmite"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "wrathfulSmite",
					"name": "Frightened",
					"duration": {
						"seconds": 60
					},
					"statuses": [
						"frightened"
					],
					"description": "The target has the &Reference[frightened apply=false] condition until the spell ends. At the end of each of its turns, the Frightened target repeats the [[/save ability=wis]] save, ending the spell on itself on a success."
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Yolande's Regal Presence",
			"source": "XPHB",
			"activities": [
				{
					"name": "Surround Self",
					"type": "utility",
					"activation": {
						"type": "action"
					}
				},
				{
					"name": "Emanation Save",
					"type": "save",
					"description": {
						"chatFlavor": "Push 10 ft. and &Reference[prone] on failure"
					},
					"activation": {
						"type": "",
						"condition": "a creature is within the Emanation"
					},
					"target": {
						"affects": {
							"count": "1",
							"type": "creature"
						}
					},
					"range": {
						"value": "10",
						"units": "ft"
					},
					"damage": {
						"parts": [
							{
								"number": 4,
								"denomination": 6,
								"types": [
									"psychic"
								],
								"scaling": {
									"number": 1
								}
							}
						],
						"onSave": "half"
					},
					"save": {
						"ability": [
							"wis"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					}
				}
			],
			"migrationVersion": 3
		},
		{
			"name": "Zone of Truth",
			"source": "XPHB",
			"activities": [
				{
					"type": "save",
					"activation": {
						"type": "action"
					},
					"damage": {
						"onSave": "half"
					},
					"save": {
						"ability": [
							"cha"
						],
						"dc": {
							"calculation": "spellcasting"
						}
					},
					"effects": [
						{
							"foundryId": "zoneOfTruth"
						}
					]
				}
			],
			"effects": [
				{
					"foundryId": "zoneOfTruth",
					"name": "Cannot Lie",
					"duration": {
						"seconds": 600
					},
					"description": "On a failed save, a creature can't speak a deliberate lie while in the radius. You know whether a creature succeeds or fails on this save. An affected creature is aware of the spell and can avoid answering questions to which it would normally respond with a lie. Such a creature can be evasive yet must be truthful."
				}
			],
			"migrationVersion": 3
		}
	]
}
