Recent Posts
None | 22 sec ago
Python | 25 sec ago
HTML | 48 sec ago
C# | 54 sec ago
None | 1 min ago
C++ | 1 min ago
C++ | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By Anonymous on the 10th of Feb 2010 12:09:20 AM
Download |
Raw |
Embed |
Report
Resolution Pseudocode:
For each duelist d in the order list:
If d has not yet acted and is not SDing:
If d and target are targeting each other
Evaluate d's primary against target's primary.
Mark target as having acted.
Else if there is a duelist SDing the target that has not yet acted:
Evaluate d's primary against defender's primary.
Mark defender as having acted.
Else if target has not yet defended:
If target is fancy defending and full fancy defenses are enabled:
If anyone else is going to hit into that defense:
Mark them as having acted. Nothing happens.
Else:
Evaluate d's primary against target's secondary.
Else:
Evaluate d's primary against target's secondary.
Mark target as having defended.
Else:
Evaluate d's primary against moves + 1.
(A special area on the matrix will be made for helpless defenders.)
If the target's HP is 0, mark them as having acted.
If any duelists are at 0 HP, remove them from the order list.
Move the first duelist to the end of the list.
Submit a correction or amendment below.
Make A New Post