War Tax?
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- Freenhult
- 13th Division Captain
- Posts: 3380
- Joined: Mon Jan 02, 2006 2:30 am
- Location: Valparaiso
- Contact:
It only shows up while attacking or doing an action. You can't see it from the status screen. I copy and pasted from there too.
EDIT: I mean while I foraged for 200 turns..it was 0. Just like after I attacked someone.
EDIT: I mean while I foraged for 200 turns..it was 0. Just like after I attacked someone.
Nami kotogotoku, waga tate to nare. Ikazuchi kotogotoku, waga yaiba to nare. Sōgyo no Kotowari!
波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !
Every wave be my shield, every lightning become my blade!
波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !
Every wave be my shield, every lightning become my blade!
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
Ohhh... War Tax was pretty negligible, if I remember correctly, so the $0 could very well be /something/... Just not something particularly big.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
- Slasher
- The FAF Forums SMEGHEAD!!! lol
- Posts: 2635
- Joined: Mon May 03, 2004 5:08 pm
- Location: http://florida4us.com/
- Contact:
- Freenhult
- 13th Division Captain
- Posts: 3380
- Joined: Mon Jan 02, 2006 2:30 am
- Location: Valparaiso
- Contact:
I FOUND IT IN THE CODE. War tax is in /lib/status.php
It looks like its called if the warbands is at war.
This -may- be a way to balance personal war. Specifically, set the initial amount to be something like 10mil, and force the the tax to increase per turn spent. This way, the longer a person is at war (with the minimum requirement), the more they pay. Hopefully, it can bank-rupt people majorly and perhaps cause them to lose the war. Also, I think that perhaps a surrender in the war options might be useful. This would end the war regardless of any limit and give the winner a set amount of resources. The loser can only surrender if they have the requirements. Maybe its cop-out but if its steep enough it could be worth it.
It looks like its called if the warbands is at war.
code: Select all
function calcExpenses() {
global $users, $urace, $expbonus, $warflag, $config;
$loanpayed = round($users[loan] / 200);
$expenses = 0;
foreach($config[troop] as $num => $mktcost) {
$expenses += $users[troop][$num] * ($config[troop][$num] / $config[troop][0]);
$expenses += $config['market_upkeep'] * ($users[pubmarket][$num] * ($config[troop][$num] / $config[troop][0])) / 3;
$expenses += ($users[troop_res][$num] * ($config[troop][$num] / $config[troop][0])) / 3;
}
$expenses += ($users[land] * 8) + ($users[wizards] * .5);
$expenses = round($expenses);
$expbonus = round($expenses * ($urace[costs] - ($users[barracks] / ($users[land]+1))));
if ($expbonus > $expenses / 2) // expenses bonus limit
$expbonus = round($expenses / 2);
$expenses -= $expbonus;
$wartax = 0;
if ($warflag) // war tax?
$wartax = $networth / 1000;
return round($expenses + $loanpayed + $wartax);
}Nami kotogotoku, waga tate to nare. Ikazuchi kotogotoku, waga yaiba to nare. Sōgyo no Kotowari!
波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !
Every wave be my shield, every lightning become my blade!
波悉く我が盾となれ雷悉く我が刃となれ,双魚の理 !
Every wave be my shield, every lightning become my blade!
- The Beatles
- Fear me for I am root
- Posts: 6285
- Joined: Tue May 24, 2005 8:12 pm
-
Members connected in real time

