v2.3.0: fixed sapper and geomancer not having 0 spawn weight
This commit is contained in:
+5
@@ -154,6 +154,11 @@ public class GnollGeomancer extends Mob {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float spawningWeight() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean heroShouldInteract() {
|
public boolean heroShouldInteract() {
|
||||||
return super.heroShouldInteract() || buff(RockArmor.class) != null;
|
return super.heroShouldInteract() || buff(RockArmor.class) != null;
|
||||||
|
|||||||
+5
@@ -120,6 +120,11 @@ public class GnollSapper extends Mob {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float spawningWeight() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean act() {
|
protected boolean act() {
|
||||||
if (throwingRockFromPos != -1){
|
if (throwingRockFromPos != -1){
|
||||||
|
|||||||
Reference in New Issue
Block a user