Horntail PQ & Exped + Equip levelup fix
Added Horntail PQ and boss fight. Fixed short integer overflow of equipment stats on client messing up player stats.
This commit is contained in:
@@ -68,7 +68,8 @@ import tools.MaplePacketCreator;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Matze, Ronan
|
||||
* @author Matze
|
||||
* @author Ronan
|
||||
*/
|
||||
public class EventInstanceManager {
|
||||
private Map<Integer, MapleCharacter> chars = new HashMap<>();
|
||||
@@ -415,11 +416,13 @@ public class EventInstanceManager {
|
||||
}
|
||||
|
||||
public void changedLeader(MapleCharacter ldr) {
|
||||
try {
|
||||
try {
|
||||
em.getIv().invokeFunction("changedLeader", this, ldr);
|
||||
} catch (ScriptException | NoSuchMethodException ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
|
||||
leaderId = ldr.getId();
|
||||
}
|
||||
|
||||
public void monsterKilled(MapleMonster mob) {
|
||||
@@ -1002,6 +1005,10 @@ public class EventInstanceManager {
|
||||
showClearEffect(hasGate, getLeader().getMapId());
|
||||
}
|
||||
|
||||
public final void showClearEffect(int mapId) {
|
||||
showClearEffect(false, mapId);
|
||||
}
|
||||
|
||||
public final void showClearEffect(boolean hasGate, int mapId) {
|
||||
showClearEffect(hasGate, mapId, "gate", 2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user