forked from MagicBane/Server
hellgates maybe? round 5
This commit is contained in:
@@ -42,6 +42,7 @@ public class HellgateManager {
|
|||||||
LootManager.GenerateStrongholdLoot(mob,true,false);
|
LootManager.GenerateStrongholdLoot(mob,true,false);
|
||||||
hellgate.mini_bosses.add(mob);
|
hellgate.mini_bosses.add(mob);
|
||||||
mob.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID));
|
mob.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID));
|
||||||
|
DbManager.addToCache(mob);
|
||||||
offsetUID++;
|
offsetUID++;
|
||||||
for(int i = 0; i < 5; i++){
|
for(int i = 0; i < 5; i++){
|
||||||
Mob minion = CreateHellgateMob();
|
Mob minion = CreateHellgateMob();
|
||||||
@@ -52,6 +53,7 @@ public class HellgateManager {
|
|||||||
LootManager.GenerateStrongholdLoot(minion,false,false);
|
LootManager.GenerateStrongholdLoot(minion,false,false);
|
||||||
hellgate.mobs.add(minion);
|
hellgate.mobs.add(minion);
|
||||||
minion.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID));
|
minion.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID));
|
||||||
|
DbManager.addToCache(minion);
|
||||||
offsetUID++;
|
offsetUID++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -64,6 +66,7 @@ public class HellgateManager {
|
|||||||
LootManager.GenerateStrongholdLoot(mob,false,true);
|
LootManager.GenerateStrongholdLoot(mob,false,true);
|
||||||
hellgate.boss = mob;
|
hellgate.boss = mob;
|
||||||
mob.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID));
|
mob.setObjectUUID(Integer.MAX_VALUE - (10000 + offsetUID));
|
||||||
|
DbManager.addToCache(mob);
|
||||||
offsetUID++;
|
offsetUID++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user