v3.0.0: gave the cleric a proper hero armor sprite

This commit is contained in:
Evan Debenham
2025-02-24 14:47:44 -05:00
parent 4759bf42c6
commit 704082a242
4 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -413,6 +413,7 @@ public class SurfaceScene extends PixelScene {
public Avatar( HeroClass cl ) {
super( Assets.Sprites.AVATARS );
//TODO CLERIC victory sprite
frame( new TextureFilm( texture, WIDTH, HEIGHT ).get( cl.ordinal() ) );
}
}

View File

@@ -376,7 +376,7 @@ public class ItemSpriteSheet {
public static final int ARMOR_ROGUE = ARMOR+7;
public static final int ARMOR_HUNTRESS = ARMOR+8;
public static final int ARMOR_DUELIST = ARMOR+9;
public static final int ARMOR_CLERIC = ARMOR+10; //TODO CLERIC sprite for this
public static final int ARMOR_CLERIC = ARMOR+10;
static{
assignItemRect(ARMOR_CLOTH, 15, 12);
assignItemRect(ARMOR_LEATHER, 14, 13);
@@ -388,7 +388,7 @@ public class ItemSpriteSheet {
assignItemRect(ARMOR_ROGUE, 14, 12);
assignItemRect(ARMOR_HUNTRESS, 13, 15);
assignItemRect(ARMOR_DUELIST, 12, 13);
assignItemRect(ARMOR_CLERIC, 12, 12);
assignItemRect(ARMOR_CLERIC, 13, 14);
}
//16 free slots