Difference between revisions of "User:Sirrob01"
m (→DPL Fun) |
m (→DPL Fun) |
||
Line 161: | Line 161: | ||
}} | }} | ||
{{#arraydefine:arrallsum|{{#sub:{{#var:allsum}}|1}}|$}} | {{#arraydefine:arrallsum|{{#sub:{{#var:allsum}}|1}}|$}} | ||
− | {{#arrayprint:arrallsum}} | + | <!--{{#arrayprint:arrallsum}}for error checking --> |
+ | |||
+ | <!--------------------------------------------------------> | ||
+ | <!-- The below goes through the total array and compares | ||
+ | each of the current influence totals to find the highest | ||
+ | and second highest. These two are then compared to see if | ||
+ | the highest is the correct value clear of the 2nd highest.--> | ||
+ | <!--------------------------------------------------------> | ||
==junk 3== | ==junk 3== |
Revision as of 17:54, 4 September 2014
Template:Army/Preload Template:Preset Army Data Trial:Legio CIX Template:.IArmy/Preload
Value1:Sirrob01
DPL Fun
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
.