Skip to content

Commit

Permalink
Update to add the Undying Allies
Browse files Browse the repository at this point in the history
Update to add the Undying Allies
  • Loading branch information
romaniac01 committed Oct 24, 2023
1 parent 4c664aa commit 29a5e99
Show file tree
Hide file tree
Showing 6 changed files with 202 additions and 196 deletions.
5 changes: 4 additions & 1 deletion db/units/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ async function convertConsUnit(power) {

for (let j = 0; j < power.createunit.length; j++) {
const createUnit = power.createunit[j]
if (createUnit.text.startsWith("Con") && !createUnit.text.startsWith("Con_Spyglass") && !createUnit.text.startsWith("Con_Res_") ) {
if ((createUnit.text.startsWith("Con") && !createUnit.text.startsWith("Con_Spyglass") && !createUnit.text.startsWith("Con_Res_") )
|| createUnit.text === 'NPC_Halloween_HeadlessHorseman'
|| createUnit.text === 'NPC_Halloween_Unit_SoulGuardian'
|| createUnit.text === 'NPC_Halloween_Unit_EmeraldGuardian') {
const consUnit = findByAttribute(units, "name", createUnit.text)
if (consUnit) {
deerTech.Effects.effect[0].target.text = createUnit.text
Expand Down
Binary file modified public/assets/sprites/units.webp
Binary file not shown.
2 changes: 1 addition & 1 deletion public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://unitstats.projectceleste.com</loc><lastmod>2023-10-23T19:13:11.241Z</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url></urlset>
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://unitstats.projectceleste.com</loc><lastmod>2023-10-24T18:40:46.260Z</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url></urlset>
2 changes: 1 addition & 1 deletion server/units.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/units.json

Large diffs are not rendered by default.

Loading

0 comments on commit 29a5e99

Please sign in to comment.