I am trying to make a game but I am having trouble with the frickin armory2.php everything else pretty much work but I am having trouble with the part that tells how much the power of the weapons to units are...
I am using for loops to do it but I am not sure why the outer loop gets nulled by the inner loop... :glare:
Overview of What Should Happen:
Super Units equal 10x Weapon Power
Normal Units equal 5x Weapon Power
Bigger/Stronger weapons go first as do Super UNits...
So I want it to use Supers first and check the big weapons and multiply the power of the weapon times ten... Then when there are no more Supers Go to Normals and keep going down the list of weapons from strongest to weakest...
Any Ideas?
I have included two files that I think will give you an idea of how it works... 😉 Thanks EVeryone!