Events/dullahan targets

The dullahan_targets event can be used to ensure the dullahan always has specific targets.

Event callback

 * prevent_default does not do anything for this event
 * : The event object
 * : The IRC connection
 * : Reference to the src.settings module
 * : List of dullahans
 * : The maximum number of targets the dullahan will be assigned. You can assign more than max_targets manually via the event data if desired.

Event data
The targets dict contains a mapping of the dullahan to what targets they must kill to win. By default, the sets will all be empty. Players can be added to them to hardcode that the dullahan must kill that particular player. If the number of entries in any given set is less than max_targets, the remaining targets are chosen randomly after the event returns.