mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-13 13:54:37 +01:00
Only allow rerolls if the player has the right talent for it
This commit is contained in:
@@ -27,9 +27,13 @@ public class RogueBuffSelectMenu {
|
||||
public RogueBuffSelectMenu(RogueInstance rogue) {
|
||||
this.rogue = rogue;
|
||||
this.maxBuffs = 3;
|
||||
this.maxRerolls = 1;
|
||||
this.buffs = new ArrayList<>();
|
||||
|
||||
// Reset blessings talent
|
||||
if (rogue.getPlayer().getRogueManager().hasTalent(11)) {
|
||||
this.maxRerolls = 1;
|
||||
}
|
||||
|
||||
this.generateRandomBuffs();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user