01-14-2015, 04:52 AM
I believe I figured it out. Once one of the resources is depleted, it will end the attack. So you could, in theory, have 0 gold left & 200k elixir left, and it would end
~ line 894
I'm going to change this to:
This should fix the issue, assuming parentheses are used the same as other languages.
~ line 894
Code:
If $Gold1 = $Gold2 Or $Elixir1 = $Elixir2 Or $Gold2 = "" Or $Elixir2 = "" Then
I'm going to change this to:
Code:
If $Gold1 = $Gold2 Or $Elixir1 = $Elixir2 Or ($Gold2 = "" And $Elixir2 = "") Then
This should fix the issue, assuming parentheses are used the same as other languages.