 |
|  |
 |
|
Fromafar
|
|
quote: Originally posted by Martin Gühmann
What about this:
[...]
By the way I didn't understand for what this nb_transport variable is and why Calvitix checks whether m_transport > 0 and transport_nb > 0, the first check should be included in the second one.
|
I think it is anti-symmetrical now. And also difficult to understand. From what I understand of it, the m_transport value is the number of free transport slots, and the extra guard (both values > 0) is used to prevent using this condition when comparing a transport army against a non-transport army. But I think that mixing 4 different concepts (remaining transport capacity, battle strength, shield cost, #of agents) in a single operator does not work well. It is probably better to define a specific operator for each concept.
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:34. Apolyton Time is 00:34. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|