Just browsing the code for the particles that get emitter when project() is called, I found that ActorProject only use particles.type from the particles parameter given to project(). That seems fine, except that Map:particleEmitter() has 3 relevant parameters: radius, def, and args. While it is obvious that radius should be 1 (as the method gets called for every tile), there are no reason why args is set to nil instead of particles.args.
One application of being able to set args from the project() function would be to change the color of the emitted particles depending on the element of the spell. Of course, this can be done by calling particleEmitter() directly, but using the particles of project() is simpler.
ActorProject discards particles.args
Moderator: Moderator
Re: ActorProject discards particles.args
done
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
