FutureProg functions
applymagicalsubstance
applymagicalsubstance overload 1
Boolean applymagicalsubstance(Character recipient, Number substanceId, Number quantity, Text vector)
Available in
- computer function
- computer program
- standard futureprog
Delivers a prepared magical substance using native dose, interdiction, resistance and effect rules. Returns whether delivery was admitted, not whether an effect succeeded. Does not cast a spell or charge Mana.
| Parameter | Type | Description |
|---|---|---|
recipient |
Character |
A living physical recipient. |
substanceId |
Number |
An installed magical substance ID. |
quantity |
Number |
Positive quantity in the substance's configured units. |
vector |
Text |
A supported exposure vector, e.g. ingested. |