(fixed) Illlumulets and mysterious lights
Posted: Thu Nov 29, 2007 4:25 pm
I discovered a wierd occurance, by complete accident. I was putting together a collection of champions, but forgot to set the light level for the level (in DDM, of course). I noticed when I started the game, though, that the light level wasn't completely dark. The source of the light turned out to be an illumulet that was in the inventory (being worn) by a champion still in a mirror.
I'm trying to think of a way to fix this. The obvious solution, to do a check to make sure the champion is in the party before applying the light bonus, doesn't work, because if the player picks the champion, the 'to_neck' event won't be called again, so the illumulet would be "broken" until it's taken off and put back on.
The other possible way is to place events on hold until a champion is added to the party, but I really don't know how difficult that would be. Also, items that alter stats wouldn't be applied until after the champion is choosen - I personally don't see that as a huge problem (and in fact, the player will get more accurate stats when examining a champion in a mirror), but I don't remember if FTL DM did it this way or not.
I'm trying to think of a way to fix this. The obvious solution, to do a check to make sure the champion is in the party before applying the light bonus, doesn't work, because if the player picks the champion, the 'to_neck' event won't be called again, so the illumulet would be "broken" until it's taken off and put back on.
The other possible way is to place events on hold until a champion is added to the party, but I really don't know how difficult that would be. Also, items that alter stats wouldn't be applied until after the champion is choosen - I personally don't see that as a huge problem (and in fact, the player will get more accurate stats when examining a champion in a mirror), but I don't remember if FTL DM did it this way or not.