forked from MagicBane/Server
hellgates maybe? round 6
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package engine.objects;
|
package engine.objects;
|
||||||
|
|
||||||
import engine.gameManager.HellgateManager;
|
import engine.gameManager.HellgateManager;
|
||||||
|
import engine.gameManager.LootManager;
|
||||||
import engine.gameManager.ZoneManager;
|
import engine.gameManager.ZoneManager;
|
||||||
import engine.math.Vector3fImmutable;
|
import engine.math.Vector3fImmutable;
|
||||||
import org.pmw.tinylog.Logger;
|
import org.pmw.tinylog.Logger;
|
||||||
@@ -40,6 +41,15 @@ public class Hellgate {
|
|||||||
|
|
||||||
public void init(){
|
public void init(){
|
||||||
HellgateManager.Spawn(this);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user