mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-22 02:57:14 +00:00
Add Natars into combat simulator
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
<table class="results attacker" cellpadding="1" cellspacing="1">
|
||||
<thead>
|
||||
<tr>
|
||||
<td class="role">
|
||||
Attacker
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u41" title="Pikeman" alt="Pikeman" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u42" title="Thorned Warrior" alt="Thorned Warrior" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u43" title="Guardsman" alt="Guardsman" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u44" title="Birds Of Prey" alt="Birds Of Prey"r" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u45" title="Axerider" alt="Axerider" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u46" title="Natarian Knight" alt="Natarian Knight" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u47" title="War Elephant" alt="War Elephant" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u48" title="Ballista" alt="Ballista" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u49" title="Natarian Emperor" alt="Natarian Emperor" />
|
||||
</td><td>
|
||||
<img src="img/x.gif" class="unit u50" title="Natarian Settler" alt="Natarian Settler" />
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
|
||||
Troops
|
||||
</th>
|
||||
<td <?php if (!$form->getValue('a1_1')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_1');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_2')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_2');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_3')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_3');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_4')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_4');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_5')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_5');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_6')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_6');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_7')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_7');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_8')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_8');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_9')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_9');} ?></td>
|
||||
<td <?php if (!$form->getValue('a1_10')) { echo "class=\"none\">0"; }else{ echo ">".$form->getValue('a1_10');} ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<th>
|
||||
Casualties
|
||||
</th>
|
||||
<td <?php if (!$troops = $form->getValue('a1_1')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_2')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_3')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_4')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_5')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_6')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_7')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_8')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_9')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
<td <?php if (!$troops = $form->getValue('a1_10')) { echo "class=\"none\">0"; }else{ echo ">".$dead = round($troops * $_POST['result'][1]);} ?></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user