Beispiel #1
0
 public override bool ActivateOn(Lord lord, TriggerSignal signal)
 {
     if (signal.type == TriggerSignalType.Tick)
     {
         if (this.data == null || !(this.data is TriggerData_TicksPassed))
         {
             BackCompatibility.TriggerDataTicksPassedNull(this);
         }
         TriggerData_TicksPassed data = this.Data;
         data.ticksPassed++;
         return(data.ticksPassed > this.duration);
     }
     return(false);
 }