|
|
|
@ -1,6 +1,7 @@
@@ -1,6 +1,7 @@
|
|
|
|
|
package engine.objects; |
|
|
|
|
|
|
|
|
|
import engine.gameManager.HellgateManager; |
|
|
|
|
import engine.gameManager.LootManager; |
|
|
|
|
import engine.gameManager.ZoneManager; |
|
|
|
|
import engine.math.Vector3fImmutable; |
|
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
@ -40,6 +41,15 @@ public class Hellgate {
@@ -40,6 +41,15 @@ public class Hellgate {
|
|
|
|
|
|
|
|
|
|
public void init(){ |
|
|
|
|
HellgateManager.Spawn(this); |
|
|
|
|
for(Mob mob : this.mobs){ |
|
|
|
|
mob.respawn(); |
|
|
|
|
LootManager.GenerateStrongholdLoot(mob,false,false); |
|
|
|
|
} |
|
|
|
|
for(Mob mob : this.mini_bosses){ |
|
|
|
|
mob.respawn(); |
|
|
|
|
LootManager.GenerateStrongholdLoot(mob,true,false); |
|
|
|
|
} |
|
|
|
|
LootManager.GenerateStrongholdLoot(this.boss,false,true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|