Do we know the formula explicitly or is it just guess work?
Do we know the formula explicitly or is it just guess work?
Land grab formula from the manual:
(Thereland/Yourland)*(Thereland*.13) Then 30% less for every hit in the last 36 hours
I wonder why that is...
Pretty sure it implements the manual's version of the land grab formula; I'll confirm this weekend at the latest, been busy with work
The Legend of Glorious Province
Download the Nation Wars Calculator, last updated 2008-07-02 18:14 EST. See forum post for more details.
Extra Bavariam nulla vita, et si vita, non est ita.
(Outside Bavaria there's no life, and if there is, it ain't worth living.)
Munich Loves You
Best city in the world
"When someone from Uri, Switzerland, moves to Austria, the average IQ of both countries rises." - Prof. Wigger, on interpreting mean values.
Welcome to Germany - Land of Ideas
Ya, fairly sure the manual is wrong
The Legend of Glorious Province
Download the Nation Wars Calculator, last updated 2008-07-02 18:14 EST. See forum post for more details.
Yeah I always get alot less than what it says too.
Ive been using the old calc and it works just fine, +/- 5 land at the most
Here is the forumla implemented as it is in the manual:
http://funkja.public.iastate.edu/calculator.php
I'm pretty sure this cannot be the formula that is implemented in the game - because it is possible to grab more land then they have. Which would be interesting eh?Code:<?php if(isset($_POST['submit'])) { $you = $_POST['you'] * 1.0; $them = $_POST['them'] * 1.0; $hits = $_POST['hits'] * 1.0; echo "<strong>Land grabbed:</strong> " . ($them/$you)*($them * .13) * pow(0.7,$hits) . "<br><br>"; } ?> <form action="calculator.php" method=post> Your land: <input type=text size=10 name="you" value="<?php if(isset($you)) echo $you; ?>"><br> Their land: <input type=text size=10 name="them" value="<?php if(isset($them)) echo $them; ?>"><br> Their Hits: <input type=text size=10 name="hits" value="<?php if(isset($hits)) echo $hits; ?>"><br> <input type=submit value="Calculate" name=submit> </form>