v0.6.1: fixed berserker instantly dieing on loading a run
This commit is contained in:
@@ -242,6 +242,8 @@ public class Hero extends Char {
|
||||
heroClass = HeroClass.restoreInBundle( bundle );
|
||||
subClass = HeroSubClass.restoreInBundle( bundle );
|
||||
|
||||
berserk = subClass == HeroSubClass.BERSERKER ? buff(Berserk.class) : null;
|
||||
|
||||
attackSkill = bundle.getInt( ATTACK );
|
||||
defenseSkill = bundle.getInt( DEFENSE );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user