-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
592 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
import { resolveItems } from './util.js'; | ||
|
||
const wizardOutfit = resolveItems([ | ||
'Snowdream robe legs', | ||
'Snowdream wizard hat', | ||
'Snowdream robe top', | ||
'Snowdream wizard socks' | ||
]); | ||
|
||
export const blackSantaOutfit = resolveItems([ | ||
'Black santa top', | ||
'Black santa legs', | ||
'Black santa gloves', | ||
'Black santa boots' | ||
]); | ||
|
||
export const allChristmasEventItems = resolveItems([ | ||
...wizardOutfit, | ||
...blackSantaOutfit, | ||
'Snowdream rune', | ||
'Snowdream pillow', | ||
'Chef-touched heart (choc)', | ||
'Sungod slippers', | ||
'Icey santa hat', | ||
'Grinchling', | ||
'Shrimpy', | ||
'Snowflake amulet', | ||
'Snowdream staff' | ||
]); | ||
|
||
const daysOnAverageChance = (days: number) => days * 1440; | ||
|
||
interface Drop { | ||
items: number[]; | ||
chancePerMinute: number; | ||
clDropRateIncrease?: number; | ||
} | ||
|
||
export const christmasDroprates: Drop[] = [ | ||
{ | ||
items: wizardOutfit, | ||
chancePerMinute: daysOnAverageChance(0.3), | ||
clDropRateIncrease: 4 | ||
}, | ||
{ | ||
items: resolveItems(['Icey santa hat']), | ||
chancePerMinute: daysOnAverageChance(10) | ||
}, | ||
{ | ||
items: blackSantaOutfit, | ||
chancePerMinute: daysOnAverageChance(0.8), | ||
clDropRateIncrease: 3 | ||
}, | ||
{ | ||
items: resolveItems(['Snowdream pillow']), | ||
chancePerMinute: daysOnAverageChance(1.5), | ||
clDropRateIncrease: 2 | ||
}, | ||
{ | ||
items: resolveItems(['Chef-touched heart (choc)']), | ||
chancePerMinute: daysOnAverageChance(0.2), | ||
clDropRateIncrease: 2 | ||
}, | ||
{ | ||
items: resolveItems(['Sungod slippers']), | ||
chancePerMinute: daysOnAverageChance(1.5), | ||
clDropRateIncrease: 3 | ||
}, | ||
{ | ||
items: resolveItems(['Shrimpy', 'Grinchling']), | ||
chancePerMinute: daysOnAverageChance(5), | ||
clDropRateIncrease: 2 | ||
} | ||
]; | ||
|
||
export const SNOWDREAM_RUNES_PER_MINUTE = 30; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.