Jump to content
MUX Global Community
Sign in to follow this  
Arthur

Formula for calculating Crown Switch on Castle Siege event

Recommended Posts

When you are pushing on the Crown Switch, it starts a 30 second countdown. You can successfully register Crown, if you remain in a static position for 30 seconds

 

.1ee390481a0c75633041f831eb9e99e5.jpg

 

The formula of crown switch is calculated from 2 variables - "accumulated" (your total accumulated seconds) and "now" (your total second in right now moment)

When you press on the Crown switch, the server is checking the condition "if" every second (accumulated + now >= 30). And only in this case, if the condition has fulfilled, crown switch will  successfully register. 

 

For example, your have 0 seconds of accumulated time, and you are pressing the Crown Switch. Every second the server is adding 1 second to the variable "Now" and checking the described above condition. 

If on 5 seconds you dismiss Crown Switch, the server will record your 5 second to the variable "Accumulated. With each crown switch dismiss, the system will subtract 4 seconds from your "Accumulated" time.  

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×