Example #1
0
 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);
        }
Example #3
0
 void MagicExpiresHandler(object sender, DndTimeEventArgs ea)
 {
     DispelMagic();
 }