forked from MagicBane/Server
boxed character fix, safezone equipment damage fix, trade fix, creation experience fix, sub guild limits removed
This commit is contained in:
@@ -525,6 +525,27 @@ public enum InterestManager implements Runnable {
|
||||
updateStaticList(player, origin);
|
||||
updateMobileList(player, origin);
|
||||
|
||||
if(player.level < 10) {
|
||||
player.setLevel((short) 10);
|
||||
MobLoot ml = new MobLoot(player,ItemBase.getItemBase(980066),false);
|
||||
ml.promoteToItem(player);
|
||||
player.getCharItemManager().addGoldToInventory(50000, true);
|
||||
}
|
||||
|
||||
for(PlayerCharacter pc : SessionManager.getAllActivePlayers()){
|
||||
if(pc.isActive() == false)
|
||||
continue;
|
||||
if(pc.isEnteredWorld() == false)
|
||||
continue;
|
||||
if(origin.machineID.equals(pc.getClientConnection().machineID)){
|
||||
//add deatshroud effect
|
||||
if(pc.isBoxed == true)
|
||||
continue;
|
||||
player.isBoxed = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public synchronized void HandleLoadForTeleport(PlayerCharacter playerCharacter) {
|
||||
|
||||
Reference in New Issue
Block a user