Difference between revisions of "Unit Movement"

From Arcen Wiki
Jump to navigation Jump to search
(add decision-table)
 
Line 5: Line 5:
  
 
{|border="1" style="text-align: center;border-collapse:collapse;"
 
{|border="1" style="text-align: center;border-collapse:collapse;"
 +
| Priority =>
 +
| colspan="1" | Low
 +
| colspan="2" | Middle
 +
| colspan="2" | High
 +
|-
 
|
 
|
 
| colspan="3" | Move to an reachable ..
 
| colspan="3" | Move to an reachable ..
Line 21: Line 26:
 
| colspan="2" | .. in sight-range, in line-of-sight, and in attack-range
 
| colspan="2" | .. in sight-range, in line-of-sight, and in attack-range
 
|-
 
|-
| Melee        ||x||x||x||x||x
+
| Melee        ||x||x||x|| ||  
 
|-
 
|-
 
| Archery      ||x||x||x||x||x
 
| Archery      ||x||x||x||x||x
 
|-
 
|-
| Siege Melee  ||x|| ||x|| ||x
+
| Siege Melee  ||x|| ||x|| ||  
 
|-
 
|-
 
| Siege Archery ||x|| ||x|| ||x
 
| Siege Archery ||x|| ||x|| ||x
 
|}
 
|}
 +
 +
Every target's possibility is overridden by it's highest priority. (e.g. if an archery could move to an enemy AND attack it, it would never move to it)
 +
 +
Melee units attack when their on the same tile as the target.
  
 
= References =
 
= References =
 
{{Reflist}}
 
{{Reflist}}

Revision as of 14:30, 25 May 2013

This site explains how units decide to move.

Decision

Chooses randomly any of these possibilities, of none remains the unit does not move (e.g. stands still on tile where it was spawned)

Priority => Low Middle High
Move to an reachable .. Attack an ..
Type town-center[1] enemy[2] enemy-building enemy enemy-building
.. in sight-range .. in sight-range, in line-of-sight, and in attack-range
Melee x x x
Archery x x x x x
Siege Melee x x
Siege Archery x x x

Every target's possibility is overridden by it's highest priority. (e.g. if an archery could move to an enemy AND attack it, it would never move to it)

Melee units attack when their on the same tile as the target.

References

Template:Reflist