Open perlsaiyan opened 3 years ago
have autobuf registry now, with subscribed affect iteration. pref autobuf sanct method threshold
or short-form pref sanctuary method threshold pref sanctuary method pref sanctuary threshold
threshold defaults to 1 if not given
Perhaps something like pref sanctuary on|off pref set sanctuary method threshold
Needs a generalized buf handler with support for prefs. Fires events when MSDP_AFFECTS reaches minimum threshold.
pref affect[sanctuary][threshold] 1 pref affect[sanctuary][handler] potion
... something like that.