Browse Source

Unused variable in signature.

combat-2
MagicBot 1 year ago
parent
commit
a4dafd7155
  1. 2
      src/engine/objects/Mob.java
  2. 2
      src/engine/powers/poweractions/CreateMobPowerAction.java

2
src/engine/objects/Mob.java

@ -541,7 +541,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -541,7 +541,7 @@ public class Mob extends AbstractIntelligenceAgent {
return siegeMinion;
}
public static Mob createPetMinion(int loadID, Guild guild, Zone parent, PlayerCharacter petOwner, short level) {
public static Mob createPetMinion(int loadID, Zone parent, PlayerCharacter petOwner, short level) {
Mob petMinion = new Mob();

2
src/engine/powers/poweractions/CreateMobPowerAction.java

@ -74,7 +74,7 @@ public class CreateMobPowerAction extends AbstractPowerAction { @@ -74,7 +74,7 @@ public class CreateMobPowerAction extends AbstractPowerAction {
return;
//create Pet
Mob pet = Mob.createPetMinion(mobID, guild, seaFloor, owner, (short) mobLevel);
Mob pet = Mob.createPetMinion(mobID, seaFloor, owner, (short) mobLevel);
if (pet.getMobBaseID() == 12021 || pet.getMobBaseID() == 12022) { //is a necro pet

Loading…
Cancel
Save