GuildPQ Queue system + revamped Warp mechanic
Added a queue system for waiting guilds outside the GPQ area. Changed the way players are transported through maps on non-portal passing cases: if not defined, a spawn point is chosen randomly for each player.
This commit is contained in:
@@ -528,6 +528,10 @@ public class AbstractPlayerInteraction {
|
||||
public MapleParty getParty() {
|
||||
return getPlayer().getParty();
|
||||
}
|
||||
|
||||
public boolean isGuildLeader() {
|
||||
return getPlayer().isGuildLeader();
|
||||
}
|
||||
|
||||
public boolean isLeader() {
|
||||
if(getParty() == null)
|
||||
@@ -535,6 +539,10 @@ public class AbstractPlayerInteraction {
|
||||
|
||||
return getParty().getLeaderId() == getPlayer().getId();
|
||||
}
|
||||
|
||||
public boolean isEventLeader() {
|
||||
return getEventInstance() != null && getPlayer().getId() == getEventInstance().getLeaderId();
|
||||
}
|
||||
|
||||
public void givePartyItems(int id, short quantity, List<MapleCharacter> party) {
|
||||
for (MapleCharacter chr : party) {
|
||||
|
||||
Reference in New Issue
Block a user