mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-19 17:19:58 +02:00
Filter emblem elemental affixes not matching the trekker's element
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user