Ludibrium PQ + MapleIdRetriever

Implemented LPQ. New application tool that realizes fetches by names and
returns respective ids, over all items depicted in the GM handbook.
This commit is contained in:
ronancpl
2017-05-13 15:24:02 -03:00
parent ed6121dd5f
commit b26469301d
94 changed files with 36729 additions and 1186 deletions

View File

@@ -144,11 +144,11 @@ public class AbstractPlayerInteraction {
}
public int countAllMonstersOnMap(int map) {
return getMap(map).countAllMonsters();
return getMap(map).countMonsters();
}
public int countMonster() {
return getPlayer().getMap().countAllMonsters();
return getPlayer().getMap().countMonsters();
}
public void resetMapObjects(int mapid) {

View File

@@ -794,6 +794,15 @@ public class EventInstanceManager {
}
}
public final void warpEventTeam(int warpFrom, int warpTo) {
List<MapleCharacter> players = getPlayerList();
for (MapleCharacter chr : players) {
if(chr.getMapId() == warpFrom)
chr.changeMap(warpTo);
}
}
public final void warpEventTeam(int warpTo) {
List<MapleCharacter> players = getPlayerList();