@ -134,10 +134,10 @@ public class PowerActionParser {
@@ -134,10 +134,10 @@ public class PowerActionParser {
statTransfer = new StatTransfer ( ) ;
statTransfer . fromStat = mbEnums . CostType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . toStat = mbEnums . CostType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . fromStatValue = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . from Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . toStatValue = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . to Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . ramp = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . ramp Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . efficiency = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . efficiency Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . fromStatBool = Boolean . parseBoolean ( headerIterator . next ( ) ) ;
statTransfer . toStatBool = Boolean . parseBoolean ( headerIterator . next ( ) ) ;
powerAction . statTransfer = statTransfer ;
@ -146,10 +146,10 @@ public class PowerActionParser {
@@ -146,10 +146,10 @@ public class PowerActionParser {
statTransfer = new StatTransfer ( ) ;
statTransfer . fromStat = mbEnums . CostType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . toStat = mbEnums . CostType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . fromStatValue = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . from Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . toStatValue = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . to Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . ramp = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . ramp Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . efficiency = Float . parseFloat ( headerIterator . next ( ) ) ;
statTransfer . efficiency Curve = mbEnums . CompoundCurveType . valueOf ( headerIterator . next ( ) ) ;
statTransfer . fromStatBool = Boolean . parseBoolean ( headerIterator . next ( ) ) ;
statTransfer . toStatBool = Boolean . parseBoolean ( headerIterator . next ( ) ) ;
statTransfer . transfer_action = headerIterator . next ( ) ;
@ -170,7 +170,7 @@ public class PowerActionParser {
@@ -170,7 +170,7 @@ public class PowerActionParser {
powerAction . effects . add ( effect ) ;
break ;
case "Resurrect" :
powerAction . levelCa p = Integer . parseInt ( headerIterator . next ( ) ) ;
powerAction . ram p = Integer . parseInt ( headerIterator . next ( ) ) ;
break ;
case "SetItemFlag" :
powerAction . itemFlag = mbEnums . ItemFlags . valueOf ( headerIterator . next ( ) ) ;
@ -270,10 +270,10 @@ public class PowerActionParser {
@@ -270,10 +270,10 @@ public class PowerActionParser {
break ;
case "LEVELCAP" :
arguments = Arrays . asList ( lineValues . get ( 1 ) . trim ( ) . split ( "\\s+" ) ) ;
powerAction . levelCa p = Integer . parseInt ( arguments . get ( 0 ) ) ;
powerAction . ram p = Integer . parseInt ( arguments . get ( 0 ) ) ;
if ( arguments . size ( ) > 1 ) // Not all level caps have a curve
powerAction . level Curve = mbEnums . CompoundCurveType . valueOf ( arguments . get ( 1 ) ) ;
powerAction . ramp Curve = mbEnums . CompoundCurveType . valueOf ( arguments . get ( 1 ) ) ;
break ;
case "CLEARAGGRO" :
powerAction . clearAggro = Boolean . parseBoolean ( lineValues . get ( 1 ) . trim ( ) ) ;