Difference between revisions of "User:Sirrob01"
m (→DPL Fun) |
m (→DPL Fun) |
||
Line 166: | Line 166: | ||
<!-- The below goes through the total array and compares | <!-- The below goes through the total array and compares | ||
each of the current influence totals to find the highest | each of the current influence totals to find the highest | ||
− | and second | + | and second highest. --> |
− | + | ||
<!--------------------------------------------------------> | <!--------------------------------------------------------> | ||
{{#vardefine:highfaction|0@0}} | {{#vardefine:highfaction|0@0}} | ||
Line 187: | Line 186: | ||
2nd highest faction:{{#var:2ndhighfaction}}<br> | 2nd highest faction:{{#var:2ndhighfaction}}<br> | ||
Highest faction: {{#var:highfaction}} | Highest faction: {{#var:highfaction}} | ||
+ | |||
+ | <!--------------------------------------------------------> | ||
+ | <!--The 2nd highest and highest faction are now compared to check | ||
+ | if highest is the value required away from the 2nd highest to | ||
+ | have control of the planet. --> | ||
+ | <!--------------------------------------------------------> | ||
==junk 3== | ==junk 3== |
Revision as of 15:54, 5 September 2014
Template:Army/Preload Template:Preset Army Data Trial:Legio CIX Template:.IArmy/Preload
Value1:Sirrob01
DPL Fun
Expression error: Missing operand for >.
2nd highest faction:0@0
Highest faction: 0@0
junk 3
a:A, a, b, A
x:A, A
a:A, a, b, A
15
junk2
- 0* 1* 2
→ yes
for(int i = 0; i < size; i++) with an if statement inside it, like this 1 2 if(num > largets) largest = num;
Legio Topper
Break
Initial Array setup
apple@red, apple@green, green@apple, apple@red, apple@purple, purple@apple, apple@purple, apple@purple, apple@purple, apple@purple
apple@red, apple@green, green@apple, apple@purple, purple@apple
apple@red@2
apple@green@1
green@apple@1
unique list enemys
red, green, purple
Final Array
red@2@0$green@1@1$purple@5@1$
Final Output
red@2@0, green@1@1, purple@5@1,
apple fought | ||
---|---|---|
Combatants | Won | Lost |
red | 2 | 0 |
green | 1 | 1 |
purple | 5 | 1 |
Top Banner
Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.
________________________________
Extension:DynamicPageList (DPL), version 2.3.0 : Warning: Wrong 'mode' parameter: 'inline'! Using default: 'unordered'. Help: mode= none | ordered | unordered
.