Browse Source

Revert "zerg mechanic work"

This reverts commit ba3fd7215b.
lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
31e56b4da6
  1. 4
      src/engine/powers/effectmodifiers/HealthEffectModifier.java
  2. 4
      src/engine/powers/effectmodifiers/ManaEffectModifier.java
  3. 4
      src/engine/powers/effectmodifiers/StaminaEffectModifier.java

4
src/engine/powers/effectmodifiers/HealthEffectModifier.java

@ -176,8 +176,8 @@ public class HealthEffectModifier extends AbstractEffectModifier { @@ -176,8 +176,8 @@ public class HealthEffectModifier extends AbstractEffectModifier {
if (!ac.isAlive())
return;
if(source.getObjectType().equals(GameObjectType.PlayerCharacter)){
modAmount *= ((PlayerCharacter)source).ZergMultiplier;
if(awo.getObjectType().equals(GameObjectType.PlayerCharacter)){
modAmount *= ((PlayerCharacter)ac).ZergMultiplier;
}
int powerID = 0, effectID = 0;

4
src/engine/powers/effectmodifiers/ManaEffectModifier.java

@ -157,8 +157,8 @@ public class ManaEffectModifier extends AbstractEffectModifier { @@ -157,8 +157,8 @@ public class ManaEffectModifier extends AbstractEffectModifier {
skipImmune = true;
}
}
if(source.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){
modAmount *= ((PlayerCharacter)source).ZergMultiplier;
if(awo.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){
modAmount *= ((PlayerCharacter)ac).ZergMultiplier;
}
PlayerBonuses bonus = ac.getBonuses();
if (!skipImmune && bonus.getFloat(ModType.BlackMantle, SourceType.Heal) >= trains) {

4
src/engine/powers/effectmodifiers/StaminaEffectModifier.java

@ -153,8 +153,8 @@ public class StaminaEffectModifier extends AbstractEffectModifier { @@ -153,8 +153,8 @@ public class StaminaEffectModifier extends AbstractEffectModifier {
skipImmune = true;
}
}
if(source.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){
modAmount *= ((PlayerCharacter)source).ZergMultiplier;
if(awo.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){
modAmount *= ((PlayerCharacter)ac).ZergMultiplier;
}
PlayerBonuses bonus = ac.getBonuses();
if (!skipImmune && bonus.getFloat(ModType.BlackMantle, SourceType.Heal) >= trains) {

Loading…
Cancel
Save