add mob adding stronghold mobs
This commit is contained in:
@@ -890,8 +890,8 @@ public enum LootManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//present drop chance for all
|
//present drop chance for all
|
||||||
if (ThreadLocalRandom.current().nextInt(100) < 35)
|
//if (ThreadLocalRandom.current().nextInt(100) < 35)
|
||||||
DropPresent(mob);
|
// DropPresent(mob);
|
||||||
|
|
||||||
//random contract drop chance for all
|
//random contract drop chance for all
|
||||||
if (ThreadLocalRandom.current().nextInt(100) < 40) {
|
if (ThreadLocalRandom.current().nextInt(100) < 40) {
|
||||||
|
|||||||
@@ -1496,8 +1496,11 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
|
|
||||||
if (isPlayerGuard)
|
if (isPlayerGuard)
|
||||||
return;
|
return;
|
||||||
|
if(this.isHellgateMob){
|
||||||
LootManager.GenerateMobLoot(this);
|
LootManager.GenerateStrongholdLoot(this,false,false);
|
||||||
|
}else {
|
||||||
|
LootManager.GenerateMobLoot(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user