Module ...

Handles actors projecting damage to zones/targets

Functions

_M:canProject (t, x, y) Can we project to this grid ?
_M:project (t, x, y, damtype, dam, particles) Project damage to a distance


Functions

_M:canProject (t, x, y)
Can we project to this grid ?

Parameters

  • t: a type table describing the attack, passed to engine.Target:getType() for interpretation
  • x: target coords
  • y: target coords
_M:project (t, x, y, damtype, dam, particles)
Project damage to a distance

Parameters

  • t: a type table describing the attack, passed to engine.Target:getType() for interpretation
  • x: target coords
  • y: target coords
  • damtype: a damage type ID from the DamageType class
  • dam: damage to be done
  • particles: particles effect configuration, or nil

Valid XHTML 1.0!