mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-15 02:49:28 -05:00
Easter event
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ var events = {
|
||||
valentines: false,
|
||||
pinkgoo: 0, // every N minutes - 60
|
||||
snowman: 20 * 60, // 1200 normally - 60 - at sprocess_game_data
|
||||
egghunt: 0, // every N minutes - 60
|
||||
egghunt: 60, // every N minutes - 60
|
||||
halloween: false,
|
||||
// RANDOM
|
||||
goblin: false,
|
||||
|
||||
@@ -276,6 +276,11 @@ function sprocess_game_data() {
|
||||
D.drops.maps.global.push([0.0005, "candycane"]);
|
||||
D.drops.maps.global.push([0.0001, "open", "xN"]);
|
||||
}
|
||||
|
||||
if (events.egghunt) {
|
||||
D.drops.maps.global.push([0.000005, "goldenegg"]);
|
||||
D.drops.maps.global.push([0.009, "open", "eastereggs"]);
|
||||
}
|
||||
}
|
||||
|
||||
function calculate_xvalue(arr, rec, divide, mult) {
|
||||
|
||||
Reference in New Issue
Block a user