dropper resists
This commit is contained in:
@@ -80,8 +80,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
private DeferredPowerJob weaponPower;
|
||||
private DateTime upgradeDateTime = null;
|
||||
private boolean lootSync = false;
|
||||
public int discDelay = 6;
|
||||
public boolean firstSpawn = true;
|
||||
|
||||
public boolean dropper = false;
|
||||
|
||||
// New Mobile constructor. Fill in the blanks and then call
|
||||
// PERSIST.
|
||||
@@ -1740,22 +1740,21 @@ public class Mob extends AbstractIntelligenceAgent {
|
||||
this.behaviourType = MobBehaviourType.Aggro;
|
||||
}
|
||||
|
||||
boolean isDropper = false;
|
||||
for(MobEquipment equipped: this.equip.values()){
|
||||
if(equipped.getItemBase().isVorg() && this.getMobBaseID() != 14062){
|
||||
//this.healthMax = 7500;
|
||||
//this.setHealth(this.healthMax);
|
||||
//this.level = 65;
|
||||
isDropper = true;
|
||||
this.dropper = true;
|
||||
}
|
||||
}
|
||||
for(Item item : this.charItemManager.getInventory()){
|
||||
if(item.getItemBase().isDiscRune() && this.level < 75){
|
||||
isDropper = true;
|
||||
this.dropper = true;
|
||||
}
|
||||
}
|
||||
|
||||
if(isDropper){
|
||||
if(this.dropper){
|
||||
this.level = 65;
|
||||
this.resists = new Resists("Dropper");
|
||||
this.atrHandOne *= 2;
|
||||
|
||||
Reference in New Issue
Block a user