mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 21:25:52 +12:00
Add Tack Shop Giveaways
This commit is contained in:
parent
5cac72f67a
commit
2e4ba0b82d
5 changed files with 195 additions and 6 deletions
|
@ -40,6 +40,7 @@ namespace HISP.Server
|
|||
|
||||
// Events
|
||||
public static RealTimeRiddle RiddleEvent = RealTimeRiddle.GetRandomRiddle();
|
||||
public static TackShopGiveaway TackShopGiveawayEvent;
|
||||
|
||||
/*
|
||||
* Private stuff
|
||||
|
@ -143,7 +144,11 @@ namespace HISP.Server
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(totalMinutesElapsed % (60 * 3) == 0)
|
||||
{
|
||||
TackShopGiveawayEvent = new TackShopGiveaway();
|
||||
TackShopGiveawayEvent.StartEvent();
|
||||
}
|
||||
if(totalMinutesElapsed % 30 == 0)
|
||||
{
|
||||
RiddleEvent = RealTimeRiddle.GetRandomRiddle();
|
||||
|
@ -195,10 +200,6 @@ namespace HISP.Server
|
|||
}
|
||||
}
|
||||
|
||||
if (RandomNumberGenerator.Next(0, 100) == 59) // Real Time Riddle
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
Database.IncPlayerTirednessForOfflineUsers();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue