Filter emblem elemental affixes not matching the trekker's element

This commit is contained in:
Melledy
2026-01-18 17:52:01 -08:00
parent 7e73f02bc3
commit e9a4d97be7
5 changed files with 49 additions and 16 deletions
@@ -698,7 +698,7 @@ public class GameCharacter implements GameDatabaseObject {
}
// Generate attributes and create gem
var attributes = gemControl.generateAttributes();
var attributes = gemControl.generateAttributes(this);
var gem = new CharacterGem(attributes);
// Add gem to slot
@@ -771,7 +771,7 @@ public class GameCharacter implements GameDatabaseObject {
}
// Generate attributes and create gem
var attributes = gemControl.generateAttributes(list);
var attributes = gemControl.generateAttributes(this, list);
gem.setNewAttributes(attributes);
// Save to database