forked from External/mage
[AFR] fixed empty class level up logs, added levelled logs (#7808)
This commit is contained in:
parent
2d8be6663b
commit
ad7eb55460
3 changed files with 17 additions and 1 deletions
|
|
@ -1528,6 +1528,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
|
||||
@Override
|
||||
public boolean setClassLevel(int classLevel) {
|
||||
// can level up to next (+1) level only
|
||||
if (this.classLevel == classLevel - 1) {
|
||||
this.classLevel = classLevel;
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue