We then calculate that back to how many troops are required to get as close to that required carry capacity, and show this as an output. At that point “a” is distributed so that it gives us the ratio of carry capacity required to get the maximum amount of resources per hour. We keep doing this, until our total revenue does not increase any more. Next up, we do the same, but then with a and a. Our second attempt would be, and our third attempt would be. Given that all scavenges are enabled, we'd start with. Of those three options, we check which gives the highest revenue and keep that one. With this initial “a” we calculate how much we’d get per hour, and save this in a variable. Once we find that one, we can simply multiply the total capacity by the individual elements of “a” in order to find how much capacity we should send on a given scavenge hunt. Now this is a formula that we could start brute-forcing to find the ideal “a”. Let’s assume “a” to be an array representing the spread of carry capacity over the four scavenges, where the sum of the 4 elements <= 1. This function can be summed four times, with a spread of the iCap (or capacity) for all different ratios. This gives the following formula for resources per hour: iCap * iRatio / ((Math.pow(Math.pow(iCap, 2) * 100 * Math.pow(iRatio, 2), 0.45) + 1800) * df) Quickbar Constructor (MFQBC), to install many commonly used scripts onto their quickbar with ease, even when MFQBC is run from the address bar. World information for duration_factor used to figure out the formula. By throwing the data of the duration_factor and game_speed into google sheets and letting sheets calculate a power trendline, I found that the formula is game_speed^(-0.55). This seems to be loosely based on the world speed. The game is set with each player starting. In this formula, df stands for the duration factor. Tribal Wars (TW) is a browser-based, real-time strategy, massively multiplayer online game set in the Middle Ages. The following equation is found for the duration of a scavenge: ((Math.pow(Math.pow(iCap, 2) * 100 * Math.pow(iRatio, 2), 0.45) + 1800) * df) Where iCap is the total capacity of all units, and iRatio is 10% for the first hunt, 25% for the second, 50% for the third and 75% for the fourth. In the game javascript the following formula can be found for how much a scavenge brings in: iCap * iRatio – The name of the world (start of the URL). In order for me to add a world, I need the following information: In this video we go over the basics on how to use scripts in Tribal Wars for Premium players and free to play playersJoin our discord to chat or ask questio. This calculator was approved on under ticket number T13900636.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |