Refresh early unit sprite samples

This commit is contained in:
2026-06-28 17:00:34 +09:00
parent 61259b9db7
commit 2efb446a69
15 changed files with 14 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 992 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

After

Width:  |  Height:  |  Size: 1020 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -965,7 +965,7 @@ const signatureUnitTextureIds = new Set([
'dingjun-officer-wang-ping'
]);
const earlyRebelTexturePrefixes = ['rebel-', 'pursuit-'];
const earlyRebelTexturePrefixes = ['rebel-', 'pursuit-', 'guangzong-'];
const wuTexturePrefixes = [
'jing-defense-wu-',
@@ -9023,6 +9023,11 @@ export class BattleScene extends Phaser.Scene {
return signatureTexture;
}
const earlyRebelTexture = this.earlyRebelTextureKey(unit);
if (earlyRebelTexture) {
return earlyRebelTexture;
}
const factionTexture = this.unitFactionTextureKey(unit);
if (factionTexture) {
return factionTexture;
@@ -9058,6 +9063,14 @@ export class BattleScene extends Phaser.Scene {
return this.resolveUnitTextureVariant(unitTexture[unit.id] ?? unitTextureByClass[unit.classKey] ?? 'unit-rebel', unit.id);
}
private earlyRebelTextureKey(unit: UnitData) {
if (unit.faction !== 'enemy' || !earlyRebelTexturePrefixes.some((prefix) => unit.id.startsWith(prefix))) {
return undefined;
}
return unitTexture[unit.id] ?? unitTextureByClass[unit.classKey] ?? 'unit-rebel';
}
private signatureUnitTextureKey(unit: UnitData) {
if (unit.id.includes('sima-yi') || unit.name === '사마의') {
return 'unit-sima-yi';