Add Natars into combat simulator

This commit is contained in:
Martin Kalabek
2024-10-26 21:01:58 +02:00
parent d7411e85b5
commit 1efe104ed2
6 changed files with 357 additions and 4 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class Battle {
global $form;
// receive form and process
if(isset($post['a1_v']) && (isset($post['a2_v1']) || isset($post['a2_v2']) || isset($post['a2_v3']) || isset($post['a2_v4']))){
if(isset($post['a1_v']) && (isset($post['a2_v1']) || isset($post['a2_v2']) || isset($post['a2_v3']) || isset($post['a2_v4']) || isset($post['a2_v5']))){
$_POST['mytribe'] = $post['a1_v'];
$target = [];