Sunday, February 15, 2009

A random magic system

So never mind all that. There are five elements: Sweet, Pungent, Prickle, Orange, and Boom.

Most humans are Prickle-elemental, meaning that they're weak against Pungent, resistant to Orange, healed by Sweet, and best at producing Boom-elemental effects (one way or another).

Pungent-elementals are typically "angels" or "demons"; they are weak against Sweet, resistant to Boom, healed by Orange and are best at Prickle effects.

Orange-elementals are typically reified or quasi-reified concepts; they are weak against Boom, resistant to Prickle, healed by Pungent and best at producing Sweet.

Only the aliens (who are almost all in the bonus dungeon) are Sweet-elemental; this actually means "rearrange the other four randomly depending on the return value of time(2) when battle is joined."

The only Boom-elemental enemies are the Voices In Your Head — and since you don't have access to any elemental effects (other than Boom, if you typically have certain weapons equipped) during those battles, they are very deliberately programmed to reflect back any non-Boom elemental effects as non-elemental damage. Bad cheater! No biscuit!

Most healing items actually deal Sweet damage. Hot dog buns deal random non-Sweet damage (one point's worth), unless the realtime clock says it's currently Friday, in which case they deal Sweet damage (also one point's worth).

Eris herself, if you fight her (you don't have to, but you have the option) takes a random amount of damage (coefficient of effectiveness varies equiprobably within [-1, 1]) from every attack or spell regardless of its elemental affiliation. Her sister Aneris is simply immune to elemental attacks, but as she doesn't actually exist this isn't a problem.

No comments: