private void Feature_Expired(object sender, DndTimeEventArgs ea) { if (IsActive) { Deactivate(string.Empty, ea.Alarm.Player); } }
private void DndAlarm_AlarmFired(object sender, DndTimeEventArgs ea) { string functionToCall = (string)ea.Alarm.Data; Expressions.Do(functionToCall, ea.Alarm.Player); }
void MagicExpiresHandler(object sender, DndTimeEventArgs ea) { DispelMagic(); }