Lower-bracket equip levelup & Channel/World capacity patch
Rebalanced the low level section of the equipment level up system. Fixed EQUIP_EXP_RATE not acting as expected to be. Changed chscroll system, now using a new flag instead of the SCROLL_CHANCE_RATE. Optimized PlayerStorage, now using a proper name map when searching for a character name. Tweaked some aspects of the BalrogPQ. Improved the channel capacity bar and world server capacity checks throughout the source.
This commit is contained in:
@@ -913,6 +913,21 @@ public class EventInstanceManager {
|
||||
}
|
||||
}
|
||||
|
||||
public void dispatchUpdateQuestMobCount(int mobid, int mapid) {
|
||||
Map<Integer, MapleCharacter> mapChars = getInstanceMap(mapid).getMapPlayers();
|
||||
if(!mapChars.isEmpty()) {
|
||||
List<MapleCharacter> eventMembers = getPlayers();
|
||||
|
||||
for (MapleCharacter evChr : eventMembers) {
|
||||
MapleCharacter chr = mapChars.get(evChr.getId());
|
||||
|
||||
if(chr != null && chr.isLoggedin() && !chr.isAwayFromWorld()) {
|
||||
chr.updateQuestMobCount(mobid);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public MapleMonster getMonster(int mid) {
|
||||
return(MapleLifeFactory.getMonster(mid));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user