1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-04-24 17:22:25 +08:00
parent 11bf46c7e4
commit 0ae65cee45
12 changed files with 132 additions and 75 deletions

View File

@@ -21,64 +21,7 @@ type TimeBossRule struct {
}
// Timed boss schedule config.
var timeBossRules = []TimeBossRule{
{
PetID: 261,
Week: 1,
ShowHours: []int{12, 17, 18, 24},
ShowMinute: 35,
LastTime: 40,
MapIDs: []uint32{15, 105, 54},
},
{
PetID: 261,
Week: 2,
ShowHours: []int{17, 18, 24},
ShowMinute: 0,
LastTime: 5,
MapIDs: []uint32{15, 105, 54},
},
{
PetID: 261,
Week: 3,
ShowHours: []int{17, 18, 24},
ShowMinute: 0,
LastTime: 5,
MapIDs: []uint32{15, 105, 54},
},
{
PetID: 261,
Week: 4,
ShowHours: []int{12, 17, 18, 24},
ShowMinute: 35,
LastTime: 40,
MapIDs: []uint32{15, 105, 54},
},
{
PetID: 261,
Week: 5,
ShowHours: []int{17, 18, 24},
ShowMinute: 0,
LastTime: 5,
MapIDs: []uint32{15, 105, 54},
},
{
PetID: 261,
Week: 6,
ShowHours: []int{17, 18, 24},
ShowMinute: 0,
LastTime: 5,
MapIDs: []uint32{15, 105, 54},
},
{
PetID: 261,
Week: 7,
ShowHours: generateHourRange(0, 23),
ShowMinute: 0,
LastTime: 10,
MapIDs: []uint32{15, 105, 54},
},
}
var timeBossRules = []TimeBossRule{}
var (
registeredCronIDs = make(map[string]bool)