mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
MOM jumpstart typo, adventure event patch (#3357)
* Adventure - draft fixes * Update AdventureEventData.java cleanup * Adventure map updates Adding collision barriers around several maps, expanding entry objects to prevent moving outside the map minor Temple of Gideon progress * Adventure draft set filtering Preventing sealed-only sets from being selected only for drafts * Adventure mob spawn rate adjustment Making enemy spawn allocation more reasonable while still allowing for higher and lower rates. * Adventure - Map updates Removing unneeded collision layers from dungeons * Adventure - Fix for missing event rewards getHumanPlayer() is backed by a transient field and will lose track of game wins if saved / reloaded * Removal of unneeded collision layers * Adventure - Event bugfix Preventing NPE if event was created with an enemy participant that is no longer found in enemies.json * MOM Red Jumpstart insert typo fix --------- Co-authored-by: Anthony Calosa <anthonycalosa@gmail.com>
This commit is contained in:
@@ -429,6 +429,11 @@ public class AdventureEventData implements Serializable {
|
|||||||
|
|
||||||
public Image getAvatar() {
|
public Image getAvatar() {
|
||||||
if (sprite == null) {
|
if (sprite == null) {
|
||||||
|
EnemyData data = WorldData.getEnemy(enemyDataName);
|
||||||
|
if (data == null){
|
||||||
|
//enemyDataName was not found, replace with something valid.
|
||||||
|
enemyDataName = Aggregates.random(WorldData.getAllEnemies()).getName();
|
||||||
|
}
|
||||||
sprite = new EnemySprite(WorldData.getEnemy(enemyDataName));
|
sprite = new EnemySprite(WorldData.getEnemy(enemyDataName));
|
||||||
}
|
}
|
||||||
return sprite.getAvatar() == null ? new Image() : new Image(sprite.getAvatar());
|
return sprite.getAvatar() == null ? new Image() : new Image(sprite.getAvatar());
|
||||||
|
|||||||
@@ -6188,7 +6188,7 @@ Kaya, Ghost Assassin|CN2|2
|
|||||||
[MOM Red Inserts]
|
[MOM Red Inserts]
|
||||||
1 Bloodfeather Phoenix|MOM
|
1 Bloodfeather Phoenix|MOM
|
||||||
1 City on Fire|MOM
|
1 City on Fire|MOM
|
||||||
1 Etali, Primal Conquerer|MOM
|
1 Etali, Primal Conqueror|MOM
|
||||||
1 Into the Fire|MOM
|
1 Into the Fire|MOM
|
||||||
1 Invasion of Kaldheim|MOM
|
1 Invasion of Kaldheim|MOM
|
||||||
1 Invasion of Karsus|MOM
|
1 Invasion of Karsus|MOM
|
||||||
|
|||||||
Reference in New Issue
Block a user