scrom / Experiments

a NodeJS text adventure - deliberately coded badly to re-experience the pain of legacy code
http://mvta.herokuapp.com/
2 stars 0 forks source link

enactContagion when ticks > 1 is too repetetive #437

Closed scrom closed 8 years ago

scrom commented 8 years ago

need to find a way to limit duplication.

scrom commented 8 years ago

See test expected result for "creatureWillEnactContagion" for what we're looking for here as an example

scrom commented 8 years ago

desired example is that rather than repeating string it says "x bites you twice" or similar. It turns out to be more tricky than expected.

scrom commented 8 years ago

I've gone a little way towards resolving this - hopefully enough fo rnow - will playtest and reopen if not good enough