Beispiel #1
0
 public RuneRespawnTrigger(PudgeWorld world, double interval = double.PositiveInfinity)
 {
     this.world    = world;
     random        = new Random(world.WorldState.Seed);
     Interval      = interval;
     ScheduledTime = -1;
 }
Beispiel #2
0
 public RuneTrigger(PudgeWorld world, double interval = 0.5)
 {
     this.world  = world;
     Interval    = ScheduledTime = interval;
     BuffActions = new Dictionary <RuneType, Action <InternalRuneData, string> >
     {
         { RuneType.GoldXP, AddScores },
         { RuneType.Haste, HandleHasteRune },
         { RuneType.Invisibility, HandleInvisRune },
         { RuneType.DoubleDamage, HandleDoubleDamageRune }
     };
 }
Beispiel #3
0
 public DebugRuneRespawnTrigger(PudgeWorld world)
     : base(world, double.PositiveInfinity)
 {
 }