|
|||
|
|||
Treasure chests are nifty things with cool stuff in em. You can get one by either successfully spying on someone who has a chest, or by being given one randomly by the server (which happens about once every 5 or 10 seconds to another person) There is no limit to how many chests you can get, and there is no limit to how many chests you might find on a page. You just need to spy in order to find them on other people. You may occasionally open multiple chests at once. This is done no differently than opening a single chest, but in the case of having more than one chest on you, the game automatically opens the rest of them for you. Treasure chests will contain one of the following:
How the chest contents are calculated There is a certain calculation that will base itself upon your existing status and provide a lower and upper range for the soldiers, gold, and unit production chests. The exact contents are then randomly chosen from that range. The other two chests are far more rare (i.e. 1/200th of a chance or less) and require certain conditions to be met first. Modifiers While you have a tater (hot potato or magic tater), the contents of each chest are doubled. (roughly doubled, when it is a random number range) While the Chest Fest event is in effect, on chests that you steal from other people, contents are doubled once more. This does mean that having a tater during chest fest event means on average 4x larger treasure chests. More about the soldiers chest This gives you an amount of soldiers proportional to how well you rank in terms of army size. Mercenaries are not included in the calculation for how big your army is, however all other types of units are included. You're not gonna get very many anyway if you're already one of the biggest. More about the gold chest This is determined based on the battlefield's total amount of TBG, not on the battlefield's current amount of available gold. The gold treasure chest is determined by taking a calculation from the battlefield's total TBG, and multiplying it by the random number chosen between the lower and upper ranges. More about the unit production chest This chest provides you with an amount of unit production upgrades equal to the upgrades you could buy if you spent an entire gold chest on only unit production upgrades. That's still only gonna buy you ONE upgrade if the gold value it ended up with will only buy one upgrade. However, one unit production is the bare minimum for this treasure chest, as sometimes your unit production may be so high that not even the contents of a gold chest would upgrade it. The elusive RoT age 2 chest algorithm in the best pseudocode I could come up with on short notice: magic_tater_chance = 500 if event is Shadowfall
else
if a random number between 1 and magic_tater_chance is magic_tater_chance
or if turns < turn_threshold and a random number between 1 and turn_chance is turn_chance
otherwise
number 1, soldier chest:
number 2, gold chest:
number 3, unit production chest:
number 4, magic tater chest:
number 5, turn chest:
|
|||
Copyright © 2004-2024 Dennis Field. 27,249 lines of code, 0.004 seconds, 7 queries
Help ·
Rules ·
Privacy & Legal Stuff
|