zijistark/EMF — pull request #102 by zijistark (2014-08-26 01:29:00+00:00)
Title: dynlevy triggers for faction revolts and yearly pulse

- All major_revolt CBs should now immediately reflect the proper levy laws for all sides upon CB add (before raising troops) and any valid completion
- The law-setting event now runs on yearly pulse as maintenance to ensure levy laws stay in sync w/ realm_size (catches faction war invalidation and various other misc. realm-splitting/realm-growing cases that involve no title transfer).
- NOTE: The manner by which this is done could be optimized in the future, as the maintenance event currently fires for all playable rulers rather than those duke-tier or higher. Optimization will require a separate event to be generated that is almost identical to the current one but which filters ruler tier in its trigger.