top of the hour disc spawns
This commit is contained in:
@@ -108,11 +108,6 @@ public enum LootManager {
|
|||||||
mob.level = 60;
|
mob.level = 60;
|
||||||
mob.healthMax = 7500;
|
mob.healthMax = 7500;
|
||||||
mob.setHealth(7500);
|
mob.setHealth(7500);
|
||||||
if(mob.firstSpawn) {
|
|
||||||
mob.killCharacter("first spawn");
|
|
||||||
mob.firstSpawn = false;
|
|
||||||
mob.despawn();
|
|
||||||
}
|
|
||||||
ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " in " + mob.getParentZone().getName() + " may have found the " + ib.getName() + ". Are you tough enough to take it?");
|
ChatSystemMsg chatMsg = new ChatSystemMsg(null, mob.getName() + " in " + mob.getParentZone().getName() + " may have found the " + ib.getName() + ". Are you tough enough to take it?");
|
||||||
chatMsg.setMessageType(10);
|
chatMsg.setMessageType(10);
|
||||||
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());
|
chatMsg.setChannel(Enum.ChatChannelType.SYSTEM.getChannelID());
|
||||||
|
|||||||
@@ -1746,6 +1746,17 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
this.level = 65;
|
this.level = 65;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for(Item loot : this.charItemManager.getInventory()){
|
||||||
|
if(loot.getItemBase().isDiscRune() && this.level < 80){
|
||||||
|
if(this.firstSpawn) {
|
||||||
|
this.killCharacter("first spawn");
|
||||||
|
this.firstSpawn = false;
|
||||||
|
if(this.despawned == false)
|
||||||
|
this.despawn();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user