Skip to content

Commit

Permalink
Dev (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSWS authored Dec 18, 2024
2 parents 9caf801 + b967bb2 commit 2615317
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ name: Nightlies

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand Down
9 changes: 5 additions & 4 deletions mod/Jailbreak.SpecialDay/SpecialDays/FFADay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ public virtual ISDInstanceLocale Locale
"Everyone for themselves! No camping, actively pursue!");

public override void Setup() {
Timers[10] += () => Locale.BeginsIn(10).ToAllChat();
Timers[15] += () => Locale.BeginsIn(5).ToAllChat();
Timers[20] += Execute;
Timers[20] += () => Locale.BeginsIn(20).ToAllChat();
Timers[30] += () => Locale.BeginsIn(10).ToAllChat();
Timers[35] += () => Locale.BeginsIn(5).ToAllChat();
Timers[40] += Execute;
base.Setup();
}

Expand All @@ -43,4 +44,4 @@ public override float FreezeTime(CCSPlayerController player) {
return rng.NextSingle() * 5 + 2;
}
}
}
}
9 changes: 5 additions & 4 deletions mod/Jailbreak.SpecialDay/SpecialDays/WardayDay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ public class WardayDay(BasePlugin plugin, IServiceProvider provider)
public ISDInstanceLocale Locale => new WardayInstanceLocale();

public override void Setup() {
Timers[15] += () => Locale.BeginsIn(15).ToAllChat();
Timers[30] += () => Locale.BeginsIn(5).ToAllChat();
Timers[35] += Execute;
Timers[20] += () => Locale.BeginsIn(30).ToAllChat();
Timers[35] += () => Locale.BeginsIn(15).ToAllChat();
Timers[45] += () => Locale.BeginsIn(5).ToAllChat();
Timers[50] += Execute;
Timers[120] += () => msg.ExpandIn(30).ToAllChat();
Timers[150] += () => {
msg.ExpandNow.ToAllChat();
Expand All @@ -48,4 +49,4 @@ public override float FreezeTime(CCSPlayerController player) {
return player.Team == CsTeam.CounterTerrorist ? 3 : 5;
}
}
}
}

0 comments on commit 2615317

Please sign in to comment.