Fixed hero skills being given to subclasses.
Contributed by Sahar.
This commit is contained in:
@@ -6499,9 +6499,6 @@ public class PlayerInstance extends Playable
|
||||
player.setPledgeType(rset.getInt("subpledge"));
|
||||
// player.setApprentice(rset.getInt("apprentice"));
|
||||
|
||||
// Set Hero status if it applies.
|
||||
player.setHero(Hero.getInstance().isHero(objectId));
|
||||
|
||||
if (clanId > 0)
|
||||
{
|
||||
player.setClan(ClanTable.getInstance().getClan(clanId));
|
||||
@@ -6592,6 +6589,9 @@ public class PlayerInstance extends Playable
|
||||
player.setSponsor(rset.getInt("sponsor"));
|
||||
player.setLvlJoinedAcademy(rset.getInt("lvl_joined_academy"));
|
||||
|
||||
// Set Hero status if it applies.
|
||||
player.setHero(Hero.getInstance().isHero(objectId));
|
||||
|
||||
CursedWeaponsManager.getInstance().checkPlayer(player);
|
||||
|
||||
// Set the x,y,z position of the PlayerInstance and make it invisible
|
||||
|
Reference in New Issue
Block a user