|
|
|
@ -228,33 +228,6 @@ public enum NPCManager {
@@ -228,33 +228,6 @@ public enum NPCManager {
|
|
|
|
|
return buildingSlot; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static int getMaxMinions(Mob guardCaptain) { |
|
|
|
|
|
|
|
|
|
int maxSlots; |
|
|
|
|
|
|
|
|
|
switch (guardCaptain.getRank()) { |
|
|
|
|
case 3: |
|
|
|
|
maxSlots = 2; |
|
|
|
|
break; |
|
|
|
|
case 4: |
|
|
|
|
case 5: |
|
|
|
|
maxSlots = 3; |
|
|
|
|
break; |
|
|
|
|
case 6: |
|
|
|
|
maxSlots = 4; |
|
|
|
|
break; |
|
|
|
|
case 7: |
|
|
|
|
maxSlots = 5; |
|
|
|
|
break; |
|
|
|
|
case 1: |
|
|
|
|
case 2: |
|
|
|
|
default: |
|
|
|
|
maxSlots = 1; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
return maxSlots; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void AssignPatrolPoints(Mob mob) { |
|
|
|
|
mob.patrolPoints = new ArrayList<>(); |
|
|
|
|
|
|
|
|
@ -276,6 +249,7 @@ public enum NPCManager {
@@ -276,6 +249,7 @@ public enum NPCManager {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void applyGuardStanceModifiers(Mob guard){ |
|
|
|
|
float damageModifier = 1; |
|
|
|
|
float attackRatingModifier = 1; |
|
|
|
@ -315,6 +289,7 @@ public enum NPCManager {
@@ -315,6 +289,7 @@ public enum NPCManager {
|
|
|
|
|
|
|
|
|
|
//TODO figure out how to apply +50% powerdamage to mage guards
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void setDamageAndSpeedForGuard(Mob guard){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|