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