Feature - Implemented Allow update of location combats (Hidden City support)

Darzil

Developer
Hidden City has a new mechanic, the ability to move monsters (janitors and lawyers) from some zones to another zone. Currently this isn't supported by mafia. Given the way Jick tends to reuse interesting new mechanics, it'd be nice to support this gracefully rather than in an awkward manner. Once relocated they are relocated for the ascension.

I think we'd need :
AdventureDatabase.refreshCombatsTable to only add Monsters that have not been relocated (I guess a checkMonsterRelocated function) to a zone.
AdventureDatabase.refreshCombatsTable to add Monsters that have been relocated (addRelocatedMonster function?) to a zone.
AdventureDatabase.refreshCombatsTable to be called on character load rather than Mafia load.
When monsters are relocated, call AdventureDatabase.refreshCombatsTable.

I'm not 100% certain of whether all would flow through correctly with just this, and wasn't sure if this was something we'd want to support ?

Am happy to have a go if wanted.

Thoughts?
 
Top