add mob adding stronghold mobs
parent
9078a41c58
commit
2a7fd87686
|
|
@ -890,8 +890,8 @@ public enum LootManager {
|
|||
}
|
||||
|
||||
//present drop chance for all
|
||||
if (ThreadLocalRandom.current().nextInt(100) < 35)
|
||||
DropPresent(mob);
|
||||
//if (ThreadLocalRandom.current().nextInt(100) < 35)
|
||||
// DropPresent(mob);
|
||||
|
||||
//random contract drop chance for all
|
||||
if (ThreadLocalRandom.current().nextInt(100) < 40) {
|
||||
|
|
|
|||
|
|
@ -1496,9 +1496,12 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||
|
||||
if (isPlayerGuard)
|
||||
return;
|
||||
|
||||
if(this.isHellgateMob){
|
||||
LootManager.GenerateStrongholdLoot(this,false,false);
|
||||
}else {
|
||||
LootManager.GenerateMobLoot(this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateDatabase() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue