Skip to content

New-Spell

SYNOPSIS

Create a new spell for your PC or NPC to use/discover.

SYNTAX

New-Spell [[-Mutation] <Boolean>] [[-Omen] <Boolean>] [<CommonParameters>]

DESCRIPTION

Creates a spell.

EXAMPLES

EXAMPLE 1

$spell = New-Spell
PS C:\> $spell

PhysicalEffect : PhysicalElement : PhysicalForm : Trap EtherealEffect : EtherealElement : Warp EtherealForm : Mutation : Insanity : Omen :

PS C:\> $spell.ToString() Warp Trap

Create a new spell and save it to a variable.

PARAMETERS

-Mutation

Should the spell has a mutation.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Omen

Should the spell result in an Omen.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES