createCastPayload
createCastPayload(
world,character,ability):object
The cast command’s payload a page sends for ability as character:
her target, or none for an area ability or where she holds no living
target.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
character |
Entity |
ability |
string |
Returns
Section titled “Returns”object
| Name | Type |
|---|---|
ability |
string |
target |
Entity | null |