diff options
author | Joël Simoneau <simoneaujoel@gmail.com> | 2024-12-29 12:49:18 -0500 |
---|---|---|
committer | Joël Simoneau <simoneaujoel@gmail.com> | 2024-12-29 12:49:18 -0500 |
commit | 0cc290407e8792ee79c918d528e500237173da97 (patch) | |
tree | cc867416d1b20e313b54056f383f486bd7aa7690 /play.js | |
parent | ea22a43c2f0507cdc25494c896f577475d6f0971 (diff) | |
download | vijayanagara-0cc290407e8792ee79c918d528e500237173da97.tar.gz |
Conspire automation
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1064,6 +1064,7 @@ function on_update() { // Command buttons action_button("attack", "Attack") + action_button("end_attack", "End Attack") action_button("migrate", "Migrate") action_button("end_migrate", "End Migrate") action_button("rally", "Rally") @@ -1385,7 +1386,7 @@ function on_log(text) { text = text.substring(4) p.className = "h2 ds" } - else if (text.match(/^\.h2 ds/)) { + else if (text.match(/^\.h2 DS/)) { text = text.substring(6) p.className = "h2 ds" } @@ -1393,7 +1394,7 @@ function on_log(text) { text = text.substring(4) p.className = "h2 bk" } - else if (text.match(/^\.h2 bk/)) { + else if (text.match(/^\.h2 BK/)) { text = text.substring(6) p.className = "h2 bk" } @@ -1401,7 +1402,7 @@ function on_log(text) { text = text.substring(4) p.className = "h2 ve" } - else if (text.match(/^\.h2 ve/)) { + else if (text.match(/^\.h2 VE/)) { text = text.substring(6) p.className = "h2 ve" } @@ -1409,6 +1410,10 @@ function on_log(text) { text = text.substring(4) p.className = "h2 mi" } + else if (text.match(/^\.h2 MI/)) { + text = text.substring(4) + p.className = "h2 mi" + } else if (text.match(/^\.h2 /)) { text = text.substring(3) p.className = "h2" |