FutureProg functions
tomagiccapability
Overload 1
tomagiccapability overload 1
MagicCapability tomagiccapability(Number id)
Available in
- computer function
- computer program
- standard futureprog
Returns a magic capability by ID or name, or null.
| Parameter | Type | Description |
|---|---|---|
id |
Number |
The ID of the magic capability to find. |
Overload 2
tomagiccapability overload 2
MagicCapability tomagiccapability(Text name)
Available in
- computer function
- computer program
- standard futureprog
Returns a magic capability by ID or name, or null.
| Parameter | Type | Description |
|---|---|---|
name |
Text |
The name or ID of the magic capability to find. |