Enhanced map bounds + HolidayPQ + Battleship
Fixed Abdula not showing book info for Arans. Fixed map bounds, now it hopefully doesn't let items pass through the walkable area anymore. Implemented HolidayPQ. Added a custom item sandbox system, to be used with items generated by the "drop" command. Added the whole-map buff when using the Happy Birthday item. Fixed several battleship issues: - Battleship now shows HP properly at the buff icon. - Cleared some inconsistencies on battleship when interacting with the enhanced buff system. - Battleship now hands out defensive buffs properly.
This commit is contained in:
@@ -234,8 +234,7 @@ public class EventInstanceManager {
|
||||
wL.lock();
|
||||
try {
|
||||
chars.put(chr.getId(), chr);
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
wL.unlock();
|
||||
}
|
||||
|
||||
@@ -420,8 +419,7 @@ public class EventInstanceManager {
|
||||
rL.lock();
|
||||
try {
|
||||
return chars.size();
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
rL.unlock();
|
||||
}
|
||||
}
|
||||
@@ -430,8 +428,7 @@ public class EventInstanceManager {
|
||||
rL.lock();
|
||||
try {
|
||||
return chars.get(id);
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
rL.unlock();
|
||||
}
|
||||
}
|
||||
@@ -440,8 +437,7 @@ public class EventInstanceManager {
|
||||
rL.lock();
|
||||
try {
|
||||
return new ArrayList<>(chars.values());
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
rL.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user