Browse Source

direct damage handler - cleanup

feature-config-usage
FatBoy-DOTC 1 day ago
parent
commit
9b7568b576
  1. 4
      src/engine/wpakpowers/WpakPowerManager.java

4
src/engine/wpakpowers/WpakPowerManager.java

@ -466,10 +466,10 @@ public class WpakPowerManager {
float min; float min;
float max; float max;
float percent = modEntry.percentage; float percent;
float damage; float damage;
if(percent != 0){ if(modEntry.percentage != 0){
//handle percentage damage //handle percentage damage
percent = getModifierValues(modEntry,rank).first; percent = getModifierValues(modEntry,rank).first;
damage = target.healthMax * percent; damage = target.healthMax * percent;

Loading…
Cancel
Save