wiki fix for power definitions

wiki fix for power definitions

I just tried out Flare and can't believe how awesome it is.  I was feeling nostalgic for Nox and Flare really scratched the itch.

I was looking through the wiki (https://github.com/clintbellanger/flare-engine/wiki/Power-Definitions) to see how mods are coded and noticed that the definitions for lifespan and speed don't seem to be consistent with what happens in the game. Here is what the wiki says:

  • lifespan is the number of frames the hazard exists for
  • speed is the number of map units per frame the hazard(s) traverse.

This doesn't make sense according to what I'm seeing in the game.  For example, in the fantasycore powers.txt, Shock has lifespan 24 and speed 16.  According to the wiki definitions, that would give it a range of lifespan * speed = 24 * 16 = 384, when actually the range in-game seems to be about 12-13 map tiles.  Is it possible that speed is really the number of map units per second (instead of per frame), given that there are 30 frames per second?

Can someone familiar with the code verify the correct definition of lifespan and speed for powers?