getWeaponEffectiveArea

getWeaponEffectiveArea([number weapon], number cell, [number from]) → array<integer> cells
Lists the cells that would be affected if given weapon were used on given cell from the from cell.

Returns the list of cells that will be affected if the weapon weapon is used on the cell cell from the cell from. The function does not check whether it is possible to shoot at the cell cell or to move to the cell from.

Parameters
Return
See also